Menu

#28 Fix to hostname changer module

Unstable (example)
closed
nobody
None
5
2016-12-13
2010-04-23
Adam Rosen
No

Sorry if I'm putting this in the wrong place - first time contributing to an open source project

Hostnames were not being changed consistent with the way Windows XP native rename was working, causing an issue with a seldom used program.

Changes made to Mod_HostnameChanger.cs
1) Removed changes to registry key "ActiveComputerName" (changes become effective on next boot). Not sure if this step was necessary, but if kept in, probably needs to be capitalized
2) Changed entry in "SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName" to all upper-case (newname.ToUpper()) to be consistent with Windows naming convention in that registry key

After reboot, workstations reporting correctly to server.

Discussion

  • Adam Rosen

    Adam Rosen - 2010-04-23

    Mod_HostnameChanger.cs

     
  • mastacontrola

    mastacontrola - 2016-12-13
    • status: open --> closed
    • Group: --> Unstable (example)
     

Log in to post a comment.