Changing the hostname / IP address of a Windows system installed as an image

I am looking for a way to change the host name and IP address of a Windows XP system that is mounted using a reverse image on a Linux system. Therefore, basically I have access to the Windows XP system at the file level, but I can not run any programs on it. A method similar to editing / etc / hostname and any Linux network configuration file.

The only ways I've found so far include running the tool after loading, for example. MS sysprep or use a solution such as Acronis Snap Deploy.

+3
source share
1 answer

chntpw Windows . .

, , :

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\ComputerName\ComputerName

HKEY_LOCAL_MACHINE\SYSTEM\Current Control Set\
Services\Tcpip\Parameters\Interfaces\{<Interface GUID>}

GUID , :

IPAddress (REG_MULTI_SZ) = x.x.x.x

SubnetMask (REG_MULTI_SZ) = x.x.x.x

DefaultGateway (REG_MULTI_SZ) = x.x.x.x

, .

+5

Source: https://habr.com/ru/post/1697289/


All Articles