使用PECMD脚本,命令如下:
REGI HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName\ComputerName=W10PE-x64 REGI HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName\ComputerName=W10PE-x64 REGI HKLM\SYSTEM\CurrentControlSet\services\Tcpip\Parameters\NV Hostname=W10PE-x64 REGI HKLM\SYSTEM\CurrentControlSet\services\Tcpip\Parameters\Hostname=W10PE-x64
顶 支持
直接注册表弄:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName]
"ComputerName"="MYPE"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\State]
"LastComputerName"="MYPE"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"NV Hostname"="mype"
"Hostname"="mype"
先envi Auser=[用户名]
都是大神