Using imagex.exe, Sysprep and WinPE to clone a Windows 7 PC

This guide is a step-by-step or a walkthrough to assist you in cloning a Windows 7 machine with all its Windows Updates, Software and settings, so that you can deploy onto another PC/computer without having to sit in front of it and manually install the many software packages one by one. Also if you have download limits with your internet connection like my Dad does, this will save double downloading of the same thing. E.g. Windows Updates and Office Updates. Tools you will need for this are as follows: A WinPE disk with imagex.exe included on it. You can either…

Windows Server 2012 Hyper-V server command line configuration

Build a Hyper-V Server 2012 or Windows Server 2012 with Hyper-V from the command line including Server Core network configuration, whether it be PowerShell or Command Prompt. Please note, this roughly covers configurations for both a single server with a single NIC, and a server to be used in a failover cluster using several NICs including iSCSI. These are not an exact order of steps to follow, but more so my notes that I use when building a server which I follow roughly. So a fairly good technical knowledge is needed to follow and understand this. I have included a…

Windows Server 2008 R2 IIS v7.5 HTTP Redirect – The proper way, best practice

The following covers the correct way to setup an HTTP redirect in IIS 7.5 without setting up the HTTP redirect from the Default Web Site. This is to avoid getting the HTTP redirection getting inherited to all the virtual directories underneath and also to avoid breaking the /exchange to /owa redirection.  The proper way to do this is to set the redirection on the iisstart.htm file itself. In IIS Manager, highlight the Default Web Site (DWS) and on the center pane, click on contents view. Right click on iisstart.htm and then select Switch to features view. Screenshot 1: Now on…

Installing SCOM 2012 agent on a non-domain workgroup Windows Server Core computer using the command line

The following are the list of steps that I took to install the Operations Manager (OpsMgr) 2012 agent on a workgroup based Windows Server Core 2008 R2 computer using certificates and without using a gateway server. Sometimes you might have a few servers in a workgroup e.g. DMZ that need to be monitored, so the below are the exact steps I took with the help of this article from Microsoft http://support.microsoft.com/kb/947691 In fact, these steps for the certificate template, requesting certificates, adding certificates to the local computer store and using the momcertimport tool are all exactly the same for adding…

Remotely Managing IIS on Windows Server Core 2008 R2

You might get an error when trying to manage a remote IIS server core session using the IIS management console from a remote computer. You might receive the following error message.   Could not connect to the specified computer. Details: Unable to connect to the remote server There are three things that you need to do all on the server core machine running IIS: Run the following command: Dism /online /enable-feature /featurename:IIS-ManagementService Enable Remote Management: Set EnableRemoteManagement to 1 under HKLM\Software\Microsoft\WebManagement\Server Start the Web Management Service as this is set to manual: Net start wmsvc

Installing SCCM 2012 on Windows Server 2008 R2

When installing System Center Configuration Manager 2012, there are a number of prerequisites. Below are my install steps, step by step with notes. Schema Extensions Configuration Manager Active Directory schema extensions are not required for site server installation, but are recommended to fully support the use of all Configuration Manager features. For more information about the advantages of extending the schema extensions, see the Configuration Manager product documentation. Simply map a drive to the \SMSSETUP\BIN\X64 folder of the installation DVD, and run extadsch.exe from the command prompt. The screenshot below shows I mapped the drive as T:\ drive. WSUS SDK…

Windows Server Core Virtual Memory configuration of the Paging File

Configuring the Paging File on Windows Server Core or Hyper-V Server 2008 R2 can be difficult, as this needs to be done via the command prompt. To check the current paging file configuration, check the registry HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management or run the following: wmic pagefile list /format:list Turn off automatic paging files wmic computersystem where name="%computername%" set AutomaticManagedPagefile=False Create a new paging file on a separate drive wmic.exe pagefileset create name="S:\pagefile.sys" Manually configure the new paging file wmic.exe pagefileset where name="S:\\pagefile.sys" set InitialSize=64509,MaximumSize=65000 Delete the default C:\ drive paging file wmic.exe pagefileset where name="C:\\pagefile.sys" delete