In preparing a workstation for enterprise deployment, there are a few commands that are necessary in order to successfully prepare and deploy a generalized image as well as configure the windows pe boot image from the WAIK. Below these will be listed and briefly discussed.
Command to generalize a machine to prepare for imaging – After a workstation is prepared and all software is loaded and other machine settings are configured, you will want to prepare the workstation by sysprepping it and running the generalize switch. This strips the machine of all machine specific information and gets it ready to deploy in mass.
- C:windowssystem32sysprepsysprep.exe /oobe /generalize /shutdown /unattend:sysprep.xml
Command to create a WIM imag after you have generalized:
- Imagex /compress fast /capture c: c:currentimage.wim “description” /verify
Commands for Windows PE Tools Command Prompt:
- imagex /mountrw c:tempx86_peisosourcesboot.wim 1 c:Tempx86_peMount (This mounts the boot.wim found in the sources folder to the Mount directory. You can mount the boot.wim to edit all sorts of things such as the startnet.cmd file.
- imagex /unmount /commit c:Tempx86_peMount (This commits changes that you make to the boot.wim image back to the wim file itself.
- OSCDIMG -bc:tempx86_peetfsboot.com -n -o c:tempx86_peiso c:tempx86_pe.iso (This actually builds the ISO file that you use to burn to a CD that will contain all the changes that you make to the boot.wim file as well as any additional files you may add to the disc.
Popularity: 21% [?]

Recent Comments