Another way to set the computer name (admin rights needed)
Removing windows 7 system reserved partition and making main partition bootable
Windows Registry Editor Version 5.00
; Computer description
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters]
"srvcomment"="myselfidem's PC"
Another way to set the computer name (admin rights needed)
Jay20101,
Please read the entire post from top to bottom and follow the steps under Mike_EEC. I've used it and everyone else here has and it works perfectly for both Vista (x86/x64) & Windows 7(x86/x64). First thing first - Stop using MySysprep.exe we are not using it here, we are using the sysprep.exe that came with the OS. Create the EditUnattend.vbs script as described, edit your sysprep.xml using the ‘_COMPUTERNAME_REPLACE_' in the computer name filed and run the sysprep /generalize command as specified. I created a batch script to run the commands here is an example.
Unattend.cmd
sysprep.exe /oobe /generalize /unattend:C:\Windows\System32\Sysprep\Sysprep.xml /quit
reg add HKLM\System\Setup /v CmdLine /t REG_SZ /d "cmd /c cscript //nologo C:\Windows\System32\Sysprep\EditUnattend.vbs" /f
Shutdown /p /d p:2:4
14 items | 13 visits
Tweaks applied to reference image
Updated on Dec 15, 11
Created on Sep 24, 11
Category: Computers & Internet
URL: