Automated Provisioning and Repurposing of NoTouch OS using SCCM

Automate the Provisioning or repurposing of Windows endpoints to NoTouch OS using Microsoft's System Center Configuration Manager

For this process you will need to have the following:
  • DD for DOS x64 or DD for DOS
  • Windows ADK
  • A secondary drive connected to capture machine

Steps

 Capture Stratodesk image

  1. Install Stratodesk on endpoint. 
  2. After install turn off the machine.  DO NOT REBOOT.

Create 2 folders on SSCM server

  1. C:\Source
  2. C:\Mount

Use Windows ADK to create boot image. 

  1. C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\en-us\winpe.wim
  2. Copy winpe.wim to Source folder on SCCM server

Run Deployment and Imaging Tools from Windows Kits

  1. Start menu\Windows Kit\Deployment and Imaging Tools
  2. Right click run as Administrator

Run Dism Command to mount

  1. dism /mount-wim /wimfile:C:\source\winpe.wim /index:1 /mountdir:C:\mount

Copy DD for Dos to winpe

  1. C:\Mount\Windows\System32 
  2. copy dd for dos and dll
  3. Close window. 

Run Deployment and Imaging Tools from Windows Kits to commit changes.

  1. dism /unmount-wim /mountdir:C:\mount /commit

Copy created winpe.wim from source to your Boot Image location on SCCM server.

Create a new Boot Image

  1. In SCCM create a new boot image. 
  2. Point it to the newly created .wim
  3. In properties\customization of new boot image enable command support. 
  4. In properties\data source enable PXE
  5. Apply changes
  6. Distribute new boot image

Create Task sequence Media with the following settings

  1. Bootable media 
  2. Dynamic media 
  3. point to .iso location on SCCM server
  4. Use Boot image with DD created

Capture Stratodesk Image

  1. Boot Gold machine from .iso
  2. Press F8 for command prompt
  3. Diskpart
    1. List vol
    2. make note of secondary drive.  

DD commands for creating boot image

  1. --dd list
    1. Make sure harddisk0\partition0 is the full drive with Stratodesk installed
  2. dd if=\\?\Device\Harddisk0\Partition0 of=I:\Strato.img bs=1M --size --progress

Copy created image to Config server. 

Create diskpart.txt in same location with the following commands included

  1. select disk 0 
  2. clean 
  3. exit

Task Sequence

  1. Create a new custom task sequence
  2. Use boot image with DD

Task Sequence Bare Metal

Step 1: Connect to Configman share containing captured image and diskpart.txt and assign a drive letter

Step 2: Command Line - Prepare disk using diskpart /s I:\diskpart.txt (I:\ is the drive letter in Step 1)

Step 3: Command Line - Apply Image using dd command for Task sequence 

  1. dd if=I:\strato.img of=\\?\Device\Harddisk0\Partition0 bs=1M --size --progress

Task Sequence In-=Place Upgrade 

copy Bare metal Task sequence

place restart as the first step