would think it would be the same method as changing Computer Name in PESE
Hey laddanator.Quite a few changes 'huh'.I can't help with Win10XPE, "Cause I haven't gotten my toes wet yet".But the following batch snippets that I used in Win7-10 are below.The .reg entries are still viable, I hope they help.'This is not a working batch, just snippets of a much larger batch.'If you use wpeinit, pecmd and some other programs during boot of OS, They will reset the COMPUTERNAME.So run batch after.*** .cmd snippets ***@echo offSETLOCAL EnableDelayedExpansionSet IPv4=192.168.0.1Set Subnet=255.255.255.0Set DNS=192.168.0.5Set DNS1=192.168.0.50Set GW=192.168.0.5REM Set User=SystemSet User=AdministratorREM Set Pass=mypass1^&2Set Pass=mypass123rem Set IPv6=2507:c:a891:981f:fc44:8194:60e5:08e7Set Computername=Win7peseSet RegisteredOwner=AdministratorREM Set IPv6Route=2a01:4f8:62:7061::2REM Set IPv6DNS1=2004:558:1014:F:68:57:76:178REM Set IPv6DNS2=2004:558:1004:6:68:57:85:98REM Set IPv6=REM Set IPv6=REM call %SystemRoot%\system32\startnet.cmdstart /wait %SystemRoot%\system32\wpeinit.exestart /wait %SystemRoot%\system32\netcfg -e -c p -i MS_NDISUIO%SystemRoot%\system32\reg.exe add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinPE" /t REG_DWORD /v SkipWaitForNetwork /d 1 /fstart /wait %SystemRoot%\system32\net.exe start tcpipregstart /wait %SystemRoot%\system32\svchost.exe -k NetworkServiceSet Computername=%ComputerName%REM %SystemRoot%\System32\reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "RegisteredOrganization" /t REG_SZ /d "" /f%SystemRoot%\System32\reg.exe add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "RegisteredOwner" /t REG_SZ /d "%RegisteredOwner%" /f%SystemRoot%\System32\reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName" /v "ComputerName" /t REG_SZ /d "%ComputerName%" /f%SystemRoot%\System32\reg.exe add "HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName" /v "ComputerName" /t REG_SZ /d "%ComputerName%" /frem %SystemRoot%\System32\reg.exe add "HKLM\SYSTEM\CurrentControlSet\services\Tcpip\Parameters" /v "DhcpDomain" /t REG_SZ /d "smoothwall" /f%SystemRoot%\System32\reg.exe add "HKLM\SYSTEM\CurrentControlSet\services\Tcpip\Parameters" /v "Hostname" /t REG_SZ /d "%ComputerName%" /f%SystemRoot%\System32\reg.exe add "HKLM\SYSTEM\CurrentControlSet\services\Tcpip\Parameters" /v "NV Hostname" /t REG_SZ /d "%ComputerName%" /fREM primary DNS suffixREM %SystemRoot%\System32\reg.exe add "HKLM\SYSTEM\CurrentControlSet\services\Tcpip\Parameters" /v "Domain" /t REG_SZ /d "%ComputerName%" /f%SystemRoot%\System32\reg.exe add "HKLM\SYSTEM\CurrentControlSet\services\Tcpip\Parameters" /v "Domain" /t REG_SZ /d "RoyServer" /fREM DNS Suffix Search ListREM %SystemRoot%\System32\reg.exe add "HKLM\SYSTEM\CurrentControlSet\services\Tcpip\Parameters" /v "SearchList" /t REG_SZ /d "smoothwall" /f%SystemRoot%\System32\reg.exe add "HKLM\SYSTEM\CurrentControlSet\services\Tcpip\Parameters" /v "SearchList" /t REG_SZ /d "Router1" /f*** The Below Entry, Needs to be set before boot, or broadcoast to shell. ***%SystemRoot%\System32\reg.exe add "HKLM\SYSTEM\ControlSet001\Control\Session Manager\Environment" /v COMPUTERNAME /t REG_SZ /d "%ComputerName%" /f%SystemRoot%\System32\setenv.exe -m COMPUTERNAME %ComputerName%*** Happy Halloween Everybody. ***
Create plugin -Replacing ProjectName with your variablesCode: [Select]%ProjectName%=Win10XPE*****************RegHiveLoad,Tmp_System,%RegSystem%RegHiveLoad,Tmp_Software,%RegSoftware%//RegWrite,HKLM,0x1,Tmp_System\ControlSet001\Control\ComputerName\ComputerName,ComputerName,%ProjectName%RegWrite,HKLM,0x1,Tmp_System\ControlSet001\Control\ComputerName\ActiveComputerName,ComputerName,%ProjectName%//RegWrite,HKLM,0x1,Tmp_System\ControlSet001\services\Tcpip\Parameters,"NV Hostname",%ProjectName%RegWrite,HKLM,0x1,Tmp_System\ControlSet001\services\Tcpip\Parameters,Hostname,%ProjectName%RegWrite,HKLM,0x1,Tmp_System\ControlSet001\services\Tcpip\Parameters,Domain,%ProjectName%//RegWrite,HKLM,0x1,"Tmp_System\ControlSet001\Control\Session Manager\Environment",ComputerName,%ProjectName%//RegWrite,HKLM,0x1,"Tmp_software\Microsoft\Windows NT\CurrentVersion",RegisteredOwner,%ProjectName%//RegHiveUnLoad,Tmp_SoftwareRegHiveUnLoad,Tmp_System