Reduce OSD Time

Reduce OSD Time


1. Set High Performance Power Plan
2. Set SMS Host Agent start-up options
3. Set SMSTSRebootDelay
4. Set manual Restart times (for displayed messages)
5. Eliminate unnecessary restarts / steps
6. Patch the WIM
7. Verify boundaries are efficient
8. Prevent OOBE From connecting to Windows Update


BEFORE MODIFICATIONS

On my test experiment the OSD process would take around 100 - 110 minutes...that's nearly two hours, and wayyyy too long.



I like to use Thomas Larsens OSD Dashboard when I keep track of some Task sequence information like this. Please check out his blog here. I believe this dashboard is a must have for every SCCM admin.


AFTER MODIFICATIONS

Screenshot after changes OSD Times. We see below that this has been reduced to 36 minutes. I am positive I can actually get this to 32 minutes or less, but for now I will leave good enough alone. This test shows that we have cut the OSD time to less than 1/3 of the time. I've been in other environments where they had the image process take 24+ hours, but that is mainly boundary related issues.




TS MODIFICATIONS

Power settings: I kind of have this littered everywhere in my TS before major time consuming steps like apply OS, install patches, install apps, etc.

Name: Set High Performance Power Scheme
Command Line: PowerCfg.exe /s 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c





SMS Host Agent Start-Up Properties: This only needs to go in 1 place right after you install the SCCM Client. 


NameSet SMS Host agent to start immediately
Command Linecmd /c sc config "CcmExec" start= auto







Dynamic Variables: I have all my variables set here. These are for resiliency, and speed.





Prevent OOBE from Downloading Drivers:

NameMount the Offline HKLM File
Command Linereg load HKLM\Offline C:\Windows\System32\Config\Software

NameSet DODownloadMode
Command LineREG ADD HKLM\Offline\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization /v DODownloadMode /t REG_DWORD /d 100

NameSet DoNotConnectToWindowsUpdate
Command LineREG ADD HKLM\Offline\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /v DoNotConnectToWindowsUpdateInternetLocations /t REG_DWORD /d 1

NameUnmount the Offline HKLM File
Command Linereg unload HKLM\Offline






End of TS to change back to default (if wanted)


NameSet SMS Host agent to start delayed
Command Linecmd /c sc config "CcmExec" start= delayed-auto


Name: Set Balanced Power Scheme
Command LinePowerCfg.exe /s 381b4222-f694-41f0-9685-ff5bb260df2e





NOTE: 
This customer has unnecessary restarts in their OSD design, and were not very streamlined. Things in this version of the TS can be easily baked into the WIM on the next image refresh with the build/capture TS i provided for the customer. There are things that are slow during this TS like install Visual J+, or .Net Framework 3.5 that would reduce the OSD time if baked into image. 

Other things to reduce OSD Time: 
I still have unnecessary install software update/restart steps in the TS as a sort of catch all. These systems come out fully patched, but are left enable in case I do not get time to capture and test a new wim one month.

Prevent
I have seen in the SMSTS.LOG where systems would try to reach out to windows updates for patches instead of staying within my environment. This can be changed via registry modification...I have this in place in my environment but did not capture screenshots when I saw it in the log files. 


All posts are provided "AS IS" with no warranties, and confers no rights.

Labels: , , ,