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. win2k3-shot-2.png
          win2k3-shot-2.png
          32 kB
        2. SetHostTest.zip
          22 kB
        3. win2k3-shot-1.png
          win2k3-shot-1.png
          24 kB
        4. ros-shot-1.png
          ros-shot-1.png
          29 kB
        5. ros-shot-2.png
          ros-shot-2.png
          38 kB
        6. ros-shot-3.png
          ros-shot-3.png
          41 kB
        7. numeric-rejected.png
          numeric-rejected.png
          27 kB
        8. SetHostTest2.zip
          22 kB
        9. numeric-and-dots-rejected.png
          numeric-and-dots-rejected.png
          24 kB
        10. ros-fixed.png
          ros-fixed.png
          38 kB

        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: