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 »

Separating Windows 7 machines by platform

If you need to separate your Windows 7 machines into device collections separating them into 64-bit and 32-bit collections, this can be done using the following rules. First, create two collections, one for each platform. Please be aware when copy and pasting this code you may need to replace the quote marks, as this can cause a syntax error. For the x64 collection use the following incremental query rule: select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_OPERATING_SYSTEM on SMS_G_System_OPERATING_SYSTEM.ResourceID = SMS_R_System.ResourceId where SMS_G_System_COMPUTER_SYSTEM.SystemType = “x64-based PC” and SMS_G_System_OPERATING_SYSTEM.Caption like “Microsoft Windows 7%” For the x86 collection use the following incremental query rule: select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client […]

Continue reading »

Automatically organising hosts by subnet using SCCM 2012

If you want to organise your machines according to subnet (for instance you have a different subnet for each location) then you can set the following membership query rule. If you set it as an incremental rule, it will automatically add and remove hosts as they are added and removed from the subnet. select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.IPSubnets = “192.168.1.0” Replace 192.168.1.0 with the network ID that you want to use for the collection.

Continue reading »

Creating a package to install Microsoft Office 2010 x86

This post is the first in a series of posts explaining which settings I used to create certain packages and applications within SCCM 2012. I hope you find it useful. First things first, you will need to create an installations settings package. This is done by opening a command prompt from within your Office source folder. An easy way to do this is by navigating to the folder and holding down shift and right clicking in a clear area of the folder. You can then choose “open a command prompt here”. Once the command is open, type the following command: setup.exe /admin You can set whichever settings you like here, […]

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 »

Pop-up asking for a phonebook entry – SonicWall VPN Client

Whilst trying to connect to a SonicWall VPN recently, I came across the below prompt, which wouldn’t allow me on to the VPN:                 Thankfully the solution was fairly simple: Open the Sonic Wall VPN Client. Choose the VPN you are trying to connect to and then properties. Navigate to the peers tab and choose edit. At the bottom of the below pop up, change Interface Selection to “LAN Only”.                               Once you restart the VPN Client, you will be able to connect without issue.

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 »
1 2 3 4 5