I had the server crew create storage space on all the sites and I store my Wims at each site. They created a share on the main storage server at each site named images$ and I have a K2000 domain user that has rights to these shares. I created a subdirectory called imagestore in each share (required).
I used the KBE manipulator to create custom pxe boot environment that maps the T: drive to main storage space (default).
When I need to capture a sysprepped image I choose the custom boot to map the server I want it to go to. I discuss making the custom capture KBE’s in this blog:
When staff deploys an image, they pxe boot to the K2000, the machine gets it deployment orders from the k2000 and starts. I remap the T drive as a midlevel task prior to the DISM deploy task to the needed storage to access the WIM.
The deployment starts on the K2000 and then it switches over to the storage server to copy the wim portion then switches back to the K2000 for the remainder of it's mid level and post tasks.
All the workload of deploying the image files is placed on the storage servers instead of the K2000. I have had 120 images deploying from a single K2000 this way and I am still able to capture an image even when they are deploying.
I have had to image over a T1 when the microwave link went down. Still managed to use the K2000 to do full classrooms by putting the wim file on a local server.
The server crew can easily backup the wims also.
For this blog I am using WinPE5x64 to allow use of DISM vs Imagex
First download and install the template files used in the KSWIM – (Kace Streaming WIM Toolkit)
http://www.itninja.com/blog/view/kace-streaming-wim-toolkit-kswim
Duplicate the needed templates for your environment.
Replace the “WIM - Apply wim stream C/D/S(UEFI) partitions (template) with the midlevel tasks you are going to create. The first midlevel task is to remap the WIM source server and the second+ to use DISM to deploy the WIM file(s) with.
I use AutoIT to create my exe’s for the mid level tasks.
https://www.autoitscript.com/site/autoit/
The remap AutoIT AU3 is
DriveMapDel ("t:")
DriveMapAdd ("t:", "\\server\share", 0, "domain\user", "password")
The DISM deploy AutoIT AU3 is
If $CmdLine[0] Then
$p0 = $CmdLine[1]
$p1 = $CmdLine[2]
Endif
RunWait('x:\windows\system32\dism.exe /apply-image /imagefile:t:\Imagestore\' & $p0 & '.wim /index:1 /ApplyDir:' & $p1 & ':' , "" , @SW_MINIMIZE)
The P0 and P1 are variables we will use in the deploy task.
Create the au3 files in auto IT then use the complier that comes with it to create the exe’s with.
You choose x86 or x64 during the compile process.
Mid level tasks
The first group of tasks are for remappings. Create and compile an exe for each server you want to pull wims from. Create a task for each remap.
This is my remap EDacad2 task: Upload the complied exe you created in AutoIT and call it.
The second group of tasks is for image deployments. Create a task for every wim to deploy (including the UEFI-S partition for UEFI images)
This is my DISM deploy for acad F15 basic
Open the duplicated KSWIM deployment template and change the mid tasks and add your mid/post tasks after
Any help with this would be greatly appreciated. Unsure if it is our OS/WinPe versions or if we missed a step somewhere. - Jdavis46 8 years ago
Currently I am testing this process for mass deployment to see at what point we begin to hit a bottleneck. We are using a fairly standard PC for testing at the moment and will look into purchasing a beefier share option if this is the route we head. If you don't mind, what specs does your storage server have? - Jdavis46 8 years ago