Adding these modifications will allow a user to start a deployment in Windows(Refresh/Upgrade) and have the deployment boot into WinPE, repartition the drive, format the partition, and install Windows.
I would call this a blended refresh scenario.
- This has been tested with Vista and Windows 7
- This has been tested with MDT 2012 update1
- This will allow adding bitlocker partitions to System drives
- This will allow adding Dart partitions to System drives
- There are no modification done to the default MDT scripts
- Start off with a clean/new “Standard Client Task Sequence”
- Complete all the prompts in the wizard like you would a normal task sequence.
- Go into the properties of the task sequence you just created and view the “Task Sequence” tab.
- Expand the “Preinstall” folder
- Expand the “New computer only” folder
- Move “Format and Partition Disk” and “Copy scripts” out of the “New computer only” folder. Move them to just above the “Configure” step.
- Now remove these folders:
- “New computer only”
- “Offline User State Capture”
- “Refresh only”
- Now still under the “Preinstall” folder, Highlight the “Gather local only” step
- Add a “Set Task Sequence Variable”:
- Set “Name:” to “Set OSDTargetDriveCache”
- Set “Task Sequence Variable:” to “OSDTargetDriveCache”
- Set “Value:” to “C:”
- Add another “Set Task Sequence Variable”:
- Set “Name:” to “Set DestinationOSRefresh”
- Set “Task Sequence Variable:” to “DestinationOSRefresh”
- Set “Value:” to “OKTOUSEOTHERDISKANDPARTITION”
Your Preinstall should now look like this!
So now in windows, goto your network deployment path and launch litetouch.vbs. This will start the Windows Refresh scenario. Complete the wizards and begin the deployment, MDT will install Win PE and reboot the computer. Once in Win PE our modification will trick MDT into thinking its a New Computer deployment and will proceed as normal.
If you have any question or its not working for you feel free to ask your question in the comment section below.
11,056 total views, 11 views today