I am attempting to use SCCM 2012 CU3 to build (and later deploy) a complex golden image that consists of the OS and Program Files & Data on separate (physical) drives. I have read in many places that the 'Folder Location' setting in a SysPrep Answer File can be used to change the default data directories, but it only moves the 'User' and hidden 'Program Data' folder, not the 'Program Files' and 'Program Files (x86)' folders. I have also read that manually moving the folders, making registry changes, and using 'mklink' to create symbolic directory links (all while in SysPrep Audit mode) can achieve my desired effect -- so I am trying to build a TS that does exactly that.
So far in the OSD Build & Capture TS the following is being performed:
Disks are partitioned and formatted,
Stock Win7-SP1 -64bit image is applied to 'c:' drive (disk 0), using an answer file with Folder Location settings applied to 'd:' (disk 1)
Drivers and various settings are applied, OS is setup and ConfigMgr client is installed
Registry changes are applied to change default program install & common file directories to 'd:'
ROBOCOPY is called to move the existing 'Program Files' and 'Program Files (x86)' folders over to 'd:'
MKLINK is called to create symbolic directory links on 'c:' that point to 'd:'
The remaining applications and software required for our company image are installed
Image is then SysPrep'd and captured
Later this image is deployed to machines with two disks, each index from the image is applied appropriately.
The problem I encounter is during step 5 -- When ROBOCOPY is called, the TS hangs on the step; no error messages are displayed. After enough time the step will timeout. When I run this step myself in Audit mode it completes within seconds and does not prompt for user confirmation or input at all, so I wonder what is hanging the TS step?
I realize this is a somewhat complex deployment task, I'm wondering if there's a simpler way to achieve my results, or if I'm overlooking something obvious? Should I try inserting synchronous commands to change the registry settings straight into the answer file so I later don't have to ROBOCOPY?
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
I am attempting to use SCCM 2012 CU3 to build (and later deploy) a complex golden image that consists of the OS and Program Files & Data on separate (physical) drives. I have read in many places that the 'Folder Location' setting in a SysPrep Answer File can be used to change the default data directories, but it only moves the 'User' and hidden 'Program Data' folder, not the 'Program Files' and 'Program Files (x86)' folders. I have also read that manually moving the folders, making registry changes, and using 'mklink' to create symbolic directory links (all while in SysPrep Audit mode) can achieve my desired effect -- so I am trying to build a TS that does exactly that.
So far in the OSD Build & Capture TS the following is being performed:
The problem I encounter is during step 5 -- When ROBOCOPY is called, the TS hangs on the step; no error messages are displayed. After enough time the step will timeout. When I run this step myself in Audit mode it completes within seconds and does not prompt for user confirmation or input at all, so I wonder what is hanging the TS step?
I realize this is a somewhat complex deployment task, I'm wondering if there's a simpler way to achieve my results, or if I'm overlooking something obvious? Should I try inserting synchronous commands to change the registry settings straight into the answer file so I later don't have to ROBOCOPY?
Any feedback on this issue is appreciated.
Share this post
Link to post
Share on other sites