Stopping a Windows Server service if you cannot do so from the GUI

Occasionally you need to force stop a Windows service.  In order to do it follow these steps.
Open the command prompt by going to the start menu and typing CMD.  Don’t just click on it but shift+right click on it to run as administrator.  Once that is complete type in the following command
sc queryex MyService
Where you replace MyService with the name of the service you’re trying to kill.
You will see a bunch of lines.  You’re looking for one that looks like this.
PID                : 3028
Once you have the PID you need to run this command
taskkill /F /PID 3028

Configuring mutual CHAP authentication between Lenovo IX2 and Windows Server 2008r2

Setting up mutual CHAP authentication between Windows Server and a Lenovo IX2 is pretty easy and straightforward.
First you simply login to your IX2 and enable CHAP.  Go through the steps outlined below.
iscsi ix2
One this is complete open the iSCSI initiator in Windows.  You will want to now configure the CHAP authentication as outlined.
One that is complete you must run discovery.  Those steps are here.
Now that you have ran discovery the last step is to connect the drive.

While trying to install Exchange 2013 you receive the error message "A reboot from a previous installation is pending. Please restart the system and rerun setup.

If you receive this error it is a relatively easy fix.  Just go to regedit and find the following key and delete it.
HKLMSYSTEMCurrentControlSetControlSession ManagerPendingFileRenameOperations
Hit the retry button in setup and it will work.

How to burn a disc in Windows 7 or Windows 8 when you're not an administrator

You may notice you cannot burn a disc with your non-administrator account in Windows 7 Windows 8 or Server 2008 or Server 2012.
You will still need the administrator password but while logged in as your normal account just simply do the following.
1.  Copy your ISO to the C: drive.  It will prompt for administrator credentials.
2.  Do a search in start for CMD.  Once it finds it in your start menu right click and say “run as administrator”.
3.  Now anything you do in the command prompt will be ran with administrator privileges.
4. Run the command isoburn followed by the path to your image file.  i.e. isoburn c:MyDisc.ISO

How to fix “the trust relationship between this workstation and the primary domain failed”

If you’ve restored or “rolled back” a PC running Windows 7, Windows 8, or Vista then you may have run into this error message  “the trust relationship between this workstation and the primary domain failed”.
In order to fix this the first thing you need to do is login with a local account as opposed to a domain account.  The reason for this is simple, the server no longer trusts you so you can’t authenticate any domain users.
To do this on Windows7 for the username you will need to use .administrator or .USERNAME  (where USERNAME) is a valid local user name.  Unfortunately if you do not know these then you must use a Windows7 password reset utility first.
Once you have logged in as a local user you need to download RSAT for windows7 this will allow you to run the netdom command-
Once it is downloaded you must go into the control panel to actually enable it.  Go to add remove windows components then browse to this location.
In the treeview, go to Remote Server Administration Tools -> Role Administration Tools -> AD DS and AD LDS Tools and select AD DS Tools. Click OK.
Once this is complete run the following command to reset the trust with your server
netdom.exe resetpwd /s:DomainControllerName /ud:domainDomainAdmin /pd:* 
Replace DomainControllerName with the name of a valid domain controller and replace domainDomainAdmin with your domain name and valid domain administrator account.  You are now finished.  Reboot the PC.
There is also a second method for fixing this error.  It is to login as a local administrator account remove the PC from the domain reboot and then add it back.  This will however reset your users’ profiles.

Migrating a DHCP databse for Windows Server 2003 2008 or 2012 including SBS

Migrating a DHCP database can be done with three steps.
1.  On the old DHCP server run the command netsh dhcp server export C:dhcp.txt all
2.  Copy that file to the new DHCP server.
3.  Run this command to import it netsh dhcp server import C:dhcp.txt all

How to use Powershell to transfer the FSMO roles to a Windows Server 2012

Transferring the FSMO roles to a 2012 using Powershell is relatively easy.  The command is as follows.
Move-ADDirectoryServerOperationMasterRole Identity “ServerName” OperationMasterRole 0 1 2 3 4
Also do not forget to set the tiem service on your new DC.
net stop w32time
w32tm /unregister
w32tm /register
net start w32time
net time /setsntp:
net stop w32time & net start w32time
w32tm /config / /syncfromflags:manual /reliable:yes /update
w32tm /resync /rediscover
net stop w32time & net start w32time

Once this is done use this command to verify.
w32tm /monitor

iDrac in Dell Server error – Alert! iDRAC6 not responding. Power required may exceed PSU wattage.

If you receive this error – Alert! iDRAC6 not responding. Power required may exceed PSU wattage.
Try these steps to resolve it:
1.  Turn off your server and disconnect all power.  This step is important as it clears the iDrac memory!  Wait a minute or two before reapplying power.
2.  Hit Ctrl-E when the iDrac boots.
3.  The first option in the menu is “iDRAC6 LAN”.  Highlight this option then push the spacebar to select it “on”.
4.  Push ESC key save changes and exit.
1.  Download the latest version of Dell Systems Build and Update Utility(this updates the firmware for all the devices in your server)  To find the latest version go to search drivers and downloads for “Dell Systems Build and Update Utility”  then arrange by date to see the latest version.  The current search link is –
2. This will give you an ISO which you need to burn to DVD.
3.  Boot your server to this DVD.  This may require changing the boot order in your server.
4. When the DVD boots select “Dell Systems Build and Update Utility”.
5.  Select firmware update.

How to install Microsoft Windows Server 2012 in a few easy steps

Like its predecessors Server 2012 is only available for 64-bit processors. Which shouldn’t be a problem for any modern server.
The first step is like all other server installations, insert the DVD and hit reboot your server.
This is the first screen you will see. It is pretty self explanatory so I won’t go over it.
The next screen as well is self explanatory. You will need your key to install.
You will next need to decide if you’re going to do a server core installation which is not a GUI or if you want the normal Windows Server that you’re used to with a start menu.
Accept the license… You have no other choice.
Since this is a new installation we will select custom here. If we were upgrading we would obviously select the upgrade option.
You will now need to select the disk that you’re going to install Windows to. Hopefully you have created a RAID for redundancy.
That’s it! Sit back and watch the install.
You will now need to choose a password.
You now have the Windows Server 2012 login page.
You’re now in Windows!