Академический Документы
Профессиональный Документы
Культура Документы
Prerequisites;
3.Shared folders for imaging transfers and permission sets on those folders. ( must have local
admin permissions)
4. Create a “mount” folder in each sub folder of shared folders (for each image).
.iso burning software for creating WinPE disks. (Roxio works well, CD Burner XP)
My Way
Enter “copy (architecture type x86, ia64 or amd64) C:\winpe”. Example for x86 would be:
2.
Copype x86 C:\winpe
3.To open your winpe.wim image for editing that you just created enter; imagex /mountrw
winpe.wim 1 mount Become accustomed to this command you will use it a lot. ( note the “1” in
the command line, it represents the base image of winpe.wim)
To install the imagex program into the mounted winpe.wim folder do this at the C:\ prompt;
4.
Copy C:\waik\tools\x86\imagex.exe c:\winpe\mount\windows\system32
6. To unmount and lock in your added changes you just made; imagex /unmount
c:\winpe\mount /commit (commit locks it in)
7. To overwrite your default winpe.iso image do this at the C:\ prompt; xcopy
c:\winpe\winpe.wim c:\winpe\iso\sources\boot.wim /y
8.To create new iso image to burn at C:\winpe prompt; oscdimg –n –h –betfsboot.com iso
winpe.iso
Note: I tried following the commands given in the 70-622 exam books, but never could get a
functioning CD with imagex on it. So, here is how to do it if you install WAIK with default
parameters.
2. Enter this command: Copype x86 C:\WinPE_x86 (architecture type x86, ia64 or amd64)
3.To open your winpe.wim image for editing that you just created enter. imagex /mountrw
winpe.wim 1 mount
Create “Wimscript.ini” file to copy into system32 folder also. Example of a Wimscript.ini file in
Notepad. ( this is to exclude certain files and not compress critical files when images are taken of
computer)( This has been added since my last instruction)
[ExclusionList]
ntfs.log
hiberfil.sys
pagefile.sys
RECYCLER
Windows\CSC
[CompressionExclusionList]
*.mp3
*.zip
*.cab
\Windows\inf\*.pnf
6.To copy your Wimscript.ini file into mount folder. Copy C:\waik\Wimscript.ini
C:\WinPE_x86\mount\windows\system32 ( where C:\waik is where file resides)
7. To unmount and lock in your added changes you just made; imagex /unmount
c:\WinPE_x86\mount /commit (commit locks it in)
8. To overwrite your default winpe.iso image do this at the C:\ prompt; xcopy
c:\WinPE_x86\winpe.wim c:\WinPE_x86\iso\sources\boot.wim /y
To create new .iso image to burn at C:\winpe prompt; oscdimg –n –h –betfsboot.com iso
winpe.iso
Answer files can be built for Windows Vista image from the original install disk of the “full”
version of Vista using the Windows system image manager. So a sysprep image of vista is only
required for the final image to be deployed.
Note: in creating non-hardware specific .wim images it is important to keep 5 things in check.
1.All created images within a large multi-image .wim file (max is 9 different versions) must use
the same compression level when imaged. (compression none, fast, or maximum)
2. All created images must be of the same type: sysprepped or non-sysprepped images.
3.It’s a good idea to keep an excel doc located in the same folder to keep track of what images
are what.
4. Keep different operating systems in different .wim files ( XP, 2003 Server, 2000, and Vista)
Image stacks must be named the same with different version numbers. ( Example of a naming
convention: XPSYSPREP.wim 1 or VISTASYSPREP.wim 1)
1. Create a shared folder on the WAIK server and set permissions for administrator access.
At WinPE command prompt; create mapped drive to shared folder on WAIK server using this
command: net use V: \\servername\sharename
1.When asked for username remember to put: server name\username then password, or on a
domain, place domain name\username then enter, then password
2.Once again at the WinPE command prompt enter: imagex /capture c: V:\filenameyouwant.wim
“fatfitz special” /compress none (The “fatfitz special” will identify your image version in the
stack much easier)
After its completed you can look at the folders and files by entering: imagex /info
V:\filenameyouwant.wim
Microsoft’s Way;
Variables to this;
1.You could enter: imagex /capture c: d:\filenameyouwant.wim “fatfitz special” /compress none
for imaging to a USB HDD. ( where d:\ is your USB HDD)
Stacking versions will require an added command line entry of: imagex /append c:
V:\filenameyouwant.wim (version number goes here up to 2 - 9) “fatfitz special” /compress none
Notes:
4. Enter: clean.
7. Enter: active
8. Enter: exit
Enter: format c: /q /y
This will clean the former HDD of all indexing and then reformat the drive in NTFS.
Notes:
You could also image from a USB HDD by using: imagex /apply D: \filenameyouwant.wim 1 c:\
1.Within each folder of .wim’s you have a folder named “mount”. An example on my test
server; folder “C:\wim” has within it an “ibmt40.wim” file and a “mount folder” and a “excel”
document explaining the versions of .wim’s.
3.Change directories to reflect correct file, an example: C:\wim should be at the command
prompt as in the example and path above in line 1.
Once this has finished you can edit any file or folder within the “mount” folder.
Variables
6.From the root of the WPETCP command line you can also use they full path version for step 4
above. It would be: imagex /mountrw c:\wim\ibmt40.wim 1 c:\wim\mount or you could have one
1 “mount” folder at C:\mount that would do all your mountings.
7.The WAIK server is not capable of doing more than 1 mounting at a time and all mounted
images must be unmounted before another is mounted.
8.If you just wanted to view a .wim image then you could use the command line of; imagex
/mount c:\wim\ibmt40.wim 1 c:\wim\mount , this would be “read only”. And yes, you do have to
unmount it when finished.
Notice also the version number can be changed to open different versions of the same .wim file.
Unmounting a .wim file and saving changes
10.Open WPETCP and CD to your wim image an example in above case would be: imagex
/unmount c:\wim\mount /commit
You must use the /commit command or no changes will be made to your files and version
numbers are not required when Unmounting.
You must find the folder of the computer in question and copy the network drivers’ folder
over to the WAIK server. An example is when I added VMware virtual NIC drives to the
WinPE disk. It was located at: “c:\program files\vmware tools\drivers\vmxnet” of the vm
image.
Copy the contents of that folder to a new created folder at C:\drivers on your WAIK server.
We will now need to overwrite the boot.wim folder to create a new .iso image, enter: xcopy
c:\winpe\winpe.wim c:\winpe\iso\sources\boot.wim /y
A new boot CD can now be created with the .iso image in the C:\winpe folder with third
party software which will contain your new network drivers.