Created
January 17, 2014 17:14
-
-
Save alokc83/8477338 to your computer and use it in GitHub Desktop.
Deploying WIM image with imagex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Use Windows PE bootable disk with imagex] | |
Boot From Disk | |
Making disk ready for imaging | |
Run diskpart | |
DISKPART> select disk 0 | |
DISKPART> clean | |
delete any existing partition if any | |
DISKPART> select partition 1 | |
DISKPART> delete partition | |
Creating partition | |
DISKPART> create partition primary | |
DISKPART> select partition 1 | |
DISKPART> active | |
DISKPART> format fs=ntfs (This might take time) | |
DISKPART> assign letter=c | |
DISKPART>exit | |
Applying image | |
imagex /apply win7.wim 1 c: | |
Copy boot file bcdboot | |
c:\windows\System32\bcdboot.exe c:\windows | |
Editing the boot file | |
c:\Windows\System32>bcdedit | |
Remove following entry | |
systemroot \windows | |
resumeobject {2f21d639-a4e8-11e1-87e1-6c626d954bc5} <<--this value may be differ in every system | |
c:\Windows\System32>bcdedit /delete <resumeobject with curly brace> /cleanup | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment