“1) Copy the file: \Windows\System32\config\system from the subject drive onto your local hard drive
2) Start up Regedit (Start -> Run -> “regedit”)
3) Single-click on “HKEY_LOCAL_MACHINE” to select it
4) Do: File -> Load Hive.  Then navigate to and select the “System” file that you copied from the external disk.
5) When asked for a Key name, enter any name — I’ll Use “EXT” for this example.
6) Double-click on HKEY_LOCAL_MACHINE and you will see a “EXT” key under it.
7) Navigate to EXT\ControlSet001\Control\ComputerName\ComputerName
8) There should be an entry in the right window with the computer name.
9) To clean up, single-click on the “EXT” key to select it then File->Unload Hive.  Answer “Yes” in the next box.”

Source: https://answers.microsoft.com/en-us/windows/forum/windows_xp-files/computer-host-name-via-a-file/bfe2c5b9-834b-44b5-8680-5e4d6ba31f3e

Leave a Reply

Your email address will not be published. Required fields are marked *