I recently had some problems injecting language packs offline into a Windows 7 Service pack 1 image file. After a lot of troubleshooting I realized that when Service pack 1 was released there were also released Service pack 1 versions of the language packs (dough!). The language packs can be downloaded from licensing.microsoft.com.
Posts in category SCCM
USMT and Office 2010 settings
There has finally been released a hotfix to make USMT handle office 2010 settings.
http://support.microsoft.com/kb/2023591
Windows 7 Service pack 1 is supported in SCCM
This is now supported. All you need is this hotfix:
http://support.microsoft.com/kb/2489044/en-us
Custom Error Codes for Configuration Manager 2007
Just stumbled over this nice page on technet:
http://technet.microsoft.com/en-us/library/bb632794.aspx
It shows a list of error messages from System Center Configuration Manager and what they mean. Great list!
Having trouble generating catalog file for Windows 7 X86
I am guessing you are trying to edit unattend.xml file in WAIK. And in order to do that you have to generate a catalog file. In order to generate a catalog file to an X86 WIM/OS you have to do it on a computer/server with X86 OS with WAIK installed. After you have generated the catalog file you can copy it to your X64 server and do the editing from there.
KeyboardLocale / InputLocale
I often find myself searching for a list of KeyboardLocales in Windows. I often need this when dealing with SCCM deployment in different countries with different keyboard layouts.
Anyways here it is: http://msdn.microsoft.com/en-us/library/0h88fahh(v=vs.85).aspx
http://technet.microsoft.com/en-us/library/cc766191(v=ws.10).aspx
Using Webservice in SCCM and MDT
I often work in multiple domain forests. There is often a wish to use only one task sequence for everyone. One problem with this is that you need to have unique step for each domain in regards of the domain join process. And the big question is how do we identify where the computer is located when you deploy? In most of my cases there is one site per domain. This is not always the case. But in this example it is true. So what I do to solve this is that I use Webservice. I know that you can of course make an hta to choose which domain the computer should be a member of, but I wanted this to be Zero Touch. You could also integrate ADSI in the WinPe image and create a script. But this is often complex and it is much easier to use a webservice.
I use this webservice in my setup’s:
http://mdtcustomizations.codeplex.com/releases/view/26318 (Maik Koster’s Deployment Webservice)
I am not going into the steps on how to install the webservice. This is well documented on the mdtcustomizations page.
Okay, so what we need to do now is to customize the customsettings.ini file in order to call the webservice. I added this lines in Red to my customsettings.ini file:
[Settings]
Priority=Default, GetADSite
Properties=MyCustomProperty, ADSite
[Default]
OSInstall=Y
SkipAppsOnUpgrade=YES
SkipCapture=YES
SkipAdminPassword=NO
SkipProductKey=YES
SLShare=\\sccmserver\Logs$
[GetADSite]
WebService=http://webserviceserver/webservice/ad.asmx/GetADSite
ADSite=string
This will return %ADSite% as variable that you can use in your task sequence as soon as you use the gather step like this:

Now you can create custom steps for each ADSite/Domain.

Set your desired OU and Domain and then set the following under Options:

When you do it like this, the only time this step will be run is when your computer is deploying from AD-site named Domain1. You could also use this variable in other things like software that are to be installed. This is meant as a mini-guide. J
Offline edit of registry SCCM
Let’s say you want to add a registry key while you are in windows PE. In order to achieve this we have to load the appropriate registry hive from the files under %windir\system32\config.
Under the config folder there are these files that are interesting:
- Software – This is the HKLM\Software hive
- System – This is the HKLM\System hive
- Security – This is the HKLM\Security hive
Okay. So first we have to load the hive. You have to do this after the image has been applied.
Run the following command in the task sequence:
reg load HKLM\Temp c:\windows\system32\config\software
This will load the Software to a Temp folder in Windows PE registry. We now have the option to add registry keys as we like.
Now you can run for example this command to add a key:
reg add HKLM\ Temp\Adobe\Acrobat Reader\9.0\AdobeViewer” /v EULA /d 1 /t REG_DWORD /f
This will accept the eula in Adobe Reader.
Now we have to unload the software hive. That we can do with this command:
reg unload HKLM\Temp
Good luck with your registry editing. Microsoft also has some information in regards of the hives:
http://msdn.microsoft.com/en-us/library/ms724877(v=vs.85).aspx
Mandatory assigment sccm
I just stumbled accidently over this blog post. This is a stroke of genius to do it like this. I used to solve this by using a script inside the task sequence. This seems like a clever way to solve the problem.
http://ccmexec.com/?p=4
Unattend.xml for X64
Note to self. Remember to use amd64 as processorArchitecture. NOT X64……