Delete the Windows.old folder from a server

When performing an in place upgrade of your server, you are left with a folder called windows.old which you are unable to delete, even if you take ownership of it. Whereas in a client version of windows, you can remove this using the disk cleanup tool, this is not possible on Windows Server. For this you will need to follow the below procedure. From the start menu, type CMD into the search facility or run box, and then right click on it and “run as administrator”. Type the following at the command prompt, type the following and run then in sequence: takeown /F <DriveLetter>:\<FolderName>\* /R /A cacls <DriveLetter>:\<FolderName>\*.* /T /grant […]

Continue reading »

Device Collection by Internet Explorer version

Microsoft often release security bulletins that are specific to certain versions of Internet Explorer, or you may want to target machines running a specific version for a software update such as upgrading from that well loved favourite, IE6. SCCM allows you to arrange your machines into device collection automatically according to which Internet Explorer version they have installed. Please be aware when copy and pasting this code you may need to replace the quote marks, as this can cause a syntax error. You need to create a device collection that describes how you want the machines arranged. For instance, if you want to target machines that are not running Internet […]

Continue reading »

Error 0x80070070 during SCCM OSD Deployment

Occasionally when you are deploying a machine using system center, you might be presented with an 0x80070070 error just after you’ve chosen your task sequence, but before it starts in full.. In order for this to work, you must have command support turned on in your boot images. When the error is presented, press F8 to bring up a command prompt and enter the following set of commands: diskpart select disk 0 clean exit Then restart the deployment. This should allow you to deploy the machine without issues.

Continue reading »

Exporting a list of roles and features

Putting together a server build sheet? Need to put in a list of roles and features but would rather not have to type it out manually? Working on a server where server manager has been disabled? Then this command is for you. Run this from a command prompt and get a complete list of installed and non-installed roles and features in handy text format… ServerManagerCmd -q > c:\myFeatureList.txt Big thanks to my colleague Ross for showing me that one

Continue reading »

Configure the default keyboard layout during login

This article is a recreation of an original post by John Savill which can be found at http://www.windowsitpro.com/article/configuration/how-do-i-configure-the-default-keyboard-layout-during-login–14867. You can change the keyboard layout using the keyboard control panel applet (start – settings – control panel – keyboard – Input Locales) however this does not affect the layout used during logon (which is by default English (United States). Make sure you select a country code that has been installed via the control panel or your system will not boot. To change this perform the following: Start the registry editor  (regedit.exe) Move to HKEY_USERS\.DEFAULT\Keyboard Layout\Preload Double click on 1 and change the number to your local layout (you could get this […]

Continue reading »