I have a number of customers who wants to set the power settings trough the TS, as opposed to using GPO’s. I guess that makes sense if you want to allow you users to change the settings them self… By default windows 7 will set the following power options: Sleep/standby in 15 min on battery (DC), Sleep/standby in 30 min on Power (AC). Hibernation after 360 min on both AC and DC. Sleep/standby when lid is closed on laptop. Some of my customers do not want their machines to sleep or hibernate, unless the user makes this choice. this [...]
The first beta is now available on Microsoft Connect… Microsoft Deployment Toolkit (MDT) 2012 Beta 1 adds support for System Center Configuration Manager 2012 Further info here https://connect.microsoft.com/site14/Downloads/DownloadDetails.aspx?DownloadID=8689
While doing refresh scenarios, its possible to have USMT set the current Keyboard settings for the existing users on the reinstalled OS. The problem however, is setting the same default keyboard settings for new users on that machine.. By default the Keyboard settings will be that of the reference image, so if the keyboard settings in the image is en-US/00000409 it will be so on the deployed machine, unless this is changed somehow ( E.g Unattend.xml, variable, Reg e.t.c) In an XP to Win7 migration scenario (or 7 to 7), you could run a script, to pick up the current [...]
Finding the Intel 6 series driver for an XP OS deployment
When we are deploying OS via ConfigMgr, we usually do a cleanup of all old objects before creating the new object. This helps prevent errors and mistakes, and is pretty easy to do. We are able to use both SMBOIS GUID and Mac addresses for the cleanup. usually I recommend using mac addresses, since I have experienced that laptops who have had their mainboard exchanged, have the BIOS GUID of "0000-00000-0000-0000", this happens because the repair shop forgets to write in the GUID after the repair. The mac addresses are always usable , since they are not typed [...]
Pause a task sequence for a specified number of seconds before continuing with the next step!
If you use Configuration Manager 2007 it is pretty simple to enable Bitlocker as part of your OS deployment. But you still need prepare your environment for Bitlocker and this is done external of Configuration Manager 2007. This guide is meant for SCCM admins wanting to enable Bitlocker and will guide you through the process step-by-step. This post is the first in a 3 part series describing how you prepare your environment for Bitlocker Drive Encryption. We will look at the requirement for Bitlocker and how you extend your Active Directory Schema if you run Windows Server 2003 SP1/SP2 Windows [...]
USMT 4.0, Hardlink and Bitlocker in SCCM OSD
If you need a full blown Test environment, here is how to set that up in no time at all
There may be too many steps in the task sequence Error caused by faulty MDT integration
Loging in as Administrator without knowing the name of the computer.
This week a customer contacted us, claiming that the tool did not work on sundays! I thought that was pretty strange, so I asked for log file/event log messages, and it was true. It did fail! It was even “Kernelbase.dll” or “kernel32.dll” that was throwing the exception! I tested it on our test environment, and got the same errors.! I turned out to be an old Visual Basic function, that is used to retrieve the name of the current day, that was failing on sundays. This new version has an updated logfile writer, which writes the correct format [...]
Using the OSDinjection.xml to customize the Config.Mgr Bootmedia upon updating DP!
Using usmtutils.exe to make sure the hardlink store is removed after succesfull restore.
So to remember all the small stuff/solutions I encounter during my work day, I decided to create a series of short post, as kind of reminder to myself on small tips and tricks , as swell as solutions to basic problems. I figure that instead of writing this stuff down in a word doc, I might as well share it ( so don’t be surprised if some of the things seams almost to simple ) Today I ran into problems doing hardlink USMT 4.0 on some machines having tree partitions, (one of them being the BDE 300 MB Partition). [...]
I guess everyone uses the report showing how fare along a Task Sequence actually is, or if one of the steps has failed. But sometimes this report disappears after the TS finishes, so wouldn’t it be nice to always have it available afterword to see it one or more steps have failed, or to evaluate if an option acts like expected.. Well with a little help from one of my collages (Claus Codam) I created this routine to have that available, in by LOGS folder, and here is how. 1. Create a new user to use for reporting (in [...]
I often run into questions concerning simple file copy during a SCCM/MDT Task Sequence. There are many ways to accomplish this, but it seams most people wind up using the good old XCOPY command, and in general there is nothing wrong with that. When copying from a DP though, you might run into problems when copying all files and folders in the root on your source, as that points to the root of X:\windows and not the root of the package specified.. Well to work around any issues I created a small VBS script, that takes care of the copying [...]
To make an ISO file with a bundle of files, all you need is the Windows Automation Installation Kit WAIK. No need to pay for any 3rd party tool to do this. This Kit includes a tool OSCDIMG primarily used for making a bootable ISO of your WinPE, but can however also be use it to create a simple ISO file containing files, so you can access them trough CD mounting, in your Virtual environments. (or what ever you would need the files for) For this to work you must of cause have the Windows AIK installed on the [...]
One of the limitations of SCCM is the use of Imagex. When you want to capture an image of a computer, this computer needs to be syspreped before capture, or the capture process will fail. To do a capture of a reference image before sysprep, you normally would have to create a separate WinPE and run ImageX from that. This is also the case if you want to backup a system. So once again MDT comes to the rescue… By using the ZTIBackup.wsf script, you not only get to run ImageX from a Task Sequence, you also utilize the [...]
Because The join domain account is often visible in your deployment answer file (unattend.xml of sysprep.inf) during the WinPE phase, it is important that this specific account does not have any more permission, than the bare minimum.. I often experience that a domain admin account is used for this job, which is a huge security breach. When i ask why this is, the answer is normally “ we can not find the information on how to create an account with only join domain rights”. So her is a step by step guide on how to create such an account! [...]
One of the features available when running a Task Sequence in Config Mgr R2, is to run a command line as a different user, which can comes in handy in a number of scenarios. There is however a small but important thing to be aware of. When using this step to run a script, you will notice that you cannot use any of the “task sequence variables”, as they are not passed through to script. So if you need to use any of the TS variables in your scripts you will have to pass them to the script as arguments [...]
Remember In the good old Windows XP days, when the Time Zone you used when creating your Sysprep.inf/Unattend.txt was just a number you could look up in a Microsoft table (and properly also remember) Well those days are almost gone and now you will have to use Time Zone ID which is a Name rather than a number, so the Danish time zone that used to be 105, is now Romance Standard Time… So the question then is, where do i get a hold of those names?? The answer is simple…TZUTIL which is an embedded windows 7 command line tool. [...]
You know how when ever you run something from a prompt in Windows 7 or Server2008 you need to remember to elevate the privileges, or you will get the annoying message that you do not have administrative privileges, which then means you will have to open a new prompt, run it as administrator, and do things all over again.. (especially annoying when working with WAIK) Well I know that you could just disable UAC all together, but that's not what Microsoft intended when they put it there! and it would also mean a huge decrease in security. So what to [...]
Create a new package called Microsoft XP MUI Note: It is not necessary to create a program for the package unless you intend to advertise the package to clients. The Microsoft XP MUI package should contain the files from the root of one if the MUI installation CD’s, and any language packages you wish to install. In this case a included the Danish, Russian, Chinese (simplified) and Chinese (traditional) language MUI’s. Now open your TS in edit mode, and add a Run Command Line step at the end of your TS (or at least after the Mini setup [...]