Tuesday, February 26, 2013

SCCM 2012 SP1 Operating System Installing to the D: Drive

When deploying a Windows 7 image using SCCM 2012 SP1, I noticed that the drive that it was defaulting to install to was D: and not C:. After a little head scratching I found a new variable that was added to SP1 called OSDPreserveDriveLetter.

Here is the official word from Microsoft.com as to what the OSDPreserveDriveLetter is used for:

OSDPreserveDriveLetter: This variable determines whether the task sequence uses the drive letter on the operating system image WIM file. In Configuration Manager with no service pack, the drive letter on the WIM file was used when it applied the operating system image WIM file. In Configuration Manager SP1, you can set the value for this variable to False to use the drive letter that you specify in the task sequence.

Here is how I fixed my issue. I had to manually set the OSDPreserveDriveLetter variable to false by adding a Set Task Sequence Variable as shown below.

Next I set a drive letter variable for the sequence.

Then this variable can then be used in the Apply Operating System task.

Now when you run your OSD, Windows 7 should install to the first drive letter C: drive instead of D:.


  1. The functionality of this operating system can solve the problem in a more understandable sequence. It is quite convenient for each user.

  2. Thanks for the very detailed instructions on installing the operating system. It will help me to make things right.

  3. You describe in detail and accurately every step for leko to achieve the result.

  4. How easy it is to install an operating system! I appreciate your effort, professionalism, as well as dedication to this issue. Follow http://essay-editor.net/blog/why-do-people-use-essay-editing-services, if you need a well-written and properly-edited essay.

  5. Such actions will help to improve some functions within the same operating system. These commands will be suitable for the future work.