Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-11419

SetComputerNameEx()does not update NV Hostname

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.4.13
    • RosDlls
    • None

    Description

      According to the tests performed in ROSTESTS-227 seems that SetComputerNameExW is correctly setting the following registry keys:
      ComputerName in Control\\ComputerName
      ComputerName

      However it modifies Hostname in Services\\Tcpip
      Parameters when it shouldn't do until next reboot.
      In windows 2003 there is a key called "NV Hostname" in Services\\Tcpip
      Parameters which is the one that SetComputerNameExW should set (it doesnt exist in ReactOS), so in the next reboot ReactOS updates "Hostname" with the new value stored in "NV Hostname".

      Attachments

        1. numeric-and-dots-rejected.png
          24 kB
          Katayama Hirofumi MZ
        2. numeric-rejected.png
          27 kB
          Katayama Hirofumi MZ
        3. ros-fixed.png
          38 kB
          Katayama Hirofumi MZ
        4. ros-shot-1.png
          29 kB
          Katayama Hirofumi MZ
        5. ros-shot-2.png
          38 kB
          Katayama Hirofumi MZ
        6. ros-shot-3.png
          41 kB
          Katayama Hirofumi MZ
        7. win2k3-shot-1.png
          24 kB
          Katayama Hirofumi MZ
        8. win2k3-shot-2.png
          32 kB
          Katayama Hirofumi MZ

        Issue Links

          Activity

            People

              bug zilla Bug Zilla
              vicmarcal vicmarcal
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: