Orchestrator Runbook for creating a new mail enabled user

In this guide I will be explaining the process I have used to create a new user, allocate it to the correct OU, and define settings such as login script. The runbook looks like this: First drag an Initiate Data unit from the runbook control section. I renamed this to “User Info”. You can use whatever fields you want here, but the ones I used are as below: These will be linked to later in the runbook. Click finish and then drag and link a generate random text control from the utilities section. Set this up according to your complexity requirements, I did this as above. The next step is […]

Continue reading »

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 »

Add Windows Server 2012 GUI to a Core Installation

Whilst playing with deploying Server 2012 via SCCM I discovered that the default installation mode is a core installation. This is all well and good, but as the files to install the GUI features are not included in the core installation, you’ll need to work around the problem using DISM. You will first need to create a folder to mount a Windows Imaging File (WIM) into. The command for this is: mkdir c:\mountdir You will need to find out the index number of the type if installation you want to use. The command is as follows: Dism /get-wiminfo /wimfile:<drive>:sources\install.wim <drive> is the optical drive the DVD is in. If you are […]

Continue reading »

A workaround for getting the Exchange Management Console to work on Windows 8

Exchange 2010 out of the box is not supported on Windows 8. In order to get it to work you must first install .Net 3.5. This doesn’t always work using the add feature section so you can do an offline add from the Windows 8 DVD. Put the following in at a command prompt: Dism /online /enable-feature /featurename:NetFX3 /All /Source:DVDLOCATION:\sources\SxS /LimitAccess   *Replace DVDLOCATION in the above command with the path to the windows 8 DVD. Once you have got that installed, you need to make a batch file and save it to your desktop as follows:   set __COMPAT_LAYER=RUNASINVOKER set COMPLUS_Version=v2.0.50727 “C:\Program Files\Microsoft\Exchange Server\V14\Bin\Exchange Management Console.msc” exit     You can […]

Continue reading »

How to make your Windows 7 with Office 2010 desktop more accessible

Setting custom text size Adjusting fonts in Outlook Using the accessibility functions of Internet Explorer Ease of Access keyboard shortcuts Magnifier Magnifier keyboard shortcuts High contrast Setting custom text size   One of the first things that people tend to do when trying to make their desktop accessible is to change their desktop resolution using the classic control panel > display menu. This is not ideal, in fact, for a lot of applications, it’s about the worst place to start. Programs will not display properly and any applications that have been designed with large window sizes will hang halfway off the screen. A much more suitable way of doing this […]

Continue reading »

Setting a default user logon picture

As the person who is responsible for building deployment images, you may decide that you want to force the users to have a default user logon picture for the Welcome screen, both on their local desktop and on Remote Desktop Services. There is a Group Policy setting in Windows Server 2008R2 and Windows 7 that allows you to do this. 1. Click Start, type gpedit.msc and press ENTER 2. Go to the following branch: Computer Configuration | Administrative Templates | Control Panel | User Accounts 3. Double-click Apply the default user logon picture to all users 4. Set it to Enabled 5. Exit the Group Policy Editor. This policy setting […]

Continue reading »
1 2