Deployment Artist


The site is finally put to rest...

You find new content on the Deployment Research site, a site filled with articles and video-tutorials on how to deploy operating systems. If you are missing something on the new site, please let me know. You can find me on twitter on my @jarwidmark alias.

You can also search the old article archive below.

Regards / Johan Arwidmark

 Blog_List Minimize

 Blog_Archive Minimize

 New_Blog Minimize
You must be logged in and have permission to create or edit a blog.

 Using the $OEM$ folder with SCCM 2007 OS Deployments Minimize
Location: BlogsJohan Arwidmark    
Posted by: johan 10/6/2008

So you want to add the $OEM$ folder to your SCCM 2007 OS Deployments?

Well, if you just add the $OEM$ folder to the package (any location) it will be skipped... The reason is because the "Setup Windows and ConfigMgr" action adds (or overwrites) the OemFilesPath=C:\_SMSTaskSequence\OSD\$OEM$ value in unattend.txt before starting Winnt32.exe

The workaround is simple. Just copy your $OEM$ folder to C:\_SMSTaskSequence\OSD as a Custom Action before the "Setup Windows and ConfigMgr" (You will have to create the OSD subfolder in C:\_SMSTaskSequence first)

If you add a well formatted cmdlines.txt file to C:\_SMSTaskSequence\OSD\$OEM$ it is smart enough to merge your cmdlines settings with its own settings (the OSDSETUPHOOK.)

If you need a sample script for copying the $OEM$ directory, check out this nice entry

Can you use $OEM$ Files with SCCM 2007 OS Deployments?

Permalink |  Trackback

Comments (3)  
Re: Using the $OEM$ folder with SCCM 2007 OS Deployments    By jamierthompson on 12/7/2009
Im using SCCM 2007 R2 SP2 and MDT 2010 and I'm having trouble getting the files in C:\_SMSTaskSequence\OSD\$OEM$ to merge during the task sequence. You mention if you add a well formatted cmdlines.txt it should be smart enough to merge, do you have an example of one, or do I need another TS variable to include the path for the OSDSETUPHOOK?

Re: Using the $OEM$ folder with SCCM 2007 OS Deployments    By VVG on 7/9/2010
Can you use $OEM$ Files with SCCM 2007 OS Deployments?

-----Firstly, Thank you so much for the post. I am unable to acess the above link. I get HTTP 404. Please help.

Re: Using the $OEM$ folder with SCCM 2007 OS Deployments    By VVG on 7/10/2010
I am using SCCM SP2 with R2. Here is what I did since I was not able to find the script to copy the OEM folder

I copied $OEM$ to referrence machine's C:\ then sysprepped and captured image. This Reference machine is a virtual PC.

I am now applying to this image to a Dell Optiplex 745 target.
In my task sequence I run below batch file that copied the $OEM$ folder to C:\_SMSTaskSequence\OSD

REM Step 1
mkdir c:\_SMSTaskSequence\OSD
mkdir c:\_SMSTaskSequence\OSD\$OEM$

REM Step2
xcopy /E/Y/v C:\$OEM$ C:\_SMSTaskSequence\OSD\$OEM$

it executes all the steps fine but it reboot afer Setup windows and Configmgr client to a Blue screen 0X7b.

Before it rebooted and bluescreened I did verify in the command prompt that $OEM$ folder and its content was successfully copied to C:\_SMSTaskSequence\OSD.

I am very helpless. any help is very appreciated.

Thanks again!

 Search_Blog Minimize

Copyright 2006-2012 (c)   Terms Of Use  Privacy Statement
DotNetNuke® is copyright 2002-2017 by DotNetNuke Corporation