24. August 2013 · Comments Off on How to configure a KMS server in Windows Server 2008 R2 · Categories: Microsoft, Windows · Tags: , , , , ,

Installing first KMS Server

Below are the steps I used to install the KMS server. We determined that due to the number of client activations, and the capacity of our infrastructure we had no problems installing this server on our secondary domain controller. From here on we will call it DC1.

  1. On the Domain Controller we run CMD with elevation
  2. Type slmgr /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx where the last section is the Key from your volume licensing website.
  3. Open “Windows Firewall with Advanced Security” via Start menu -> Administrative Tools.
  4. Under Inbound Rules scroll down to “Key Management Service (TCP-In)”, right click and select enable.
  5. Reboot the machine – note you can restart the Software Licensing service but I preferred to reboot it (seeing as the server was not in use for anything else)
    More »
22. August 2013 · Comments Off on Check mailbox size and usage with Office 365 · Categories: Office365 · Tags: , ,
  1. First of all, you need to use the regular version of PowerShell.  NOT the “Online Services Module” for PowerShell version
  2. Make sure you run PowerShell as an administrator. (Right-click the icon and select “Run as Administrator”)
  3. The first time I ever tried to run these type of scripts, I got an error about running remote signed scripts or something like that. So you need to run this command the very first time you try any operations like this:
    • Set-ExecutionPolicy RemoteSigned
      More »
21. August 2013 · Comments Off on How to manually remove Exchange 2010 · Categories: Microsoft, Windows · Tags: , , ,

best way to manually remove Exchange 2010 from an organization

Go to Primary Domain Controller

2. Open ADSIEDIT

3. Right Click on ADSIEdit and Click Connect to

4. Connect to “Default Naming Context”

5. Navigate to the following objects and Delete them.
More »

04. August 2013 · Comments Off on Run a program as a Service · Categories: Microsoft, Windows · Tags: , , ,

I wanted to setup some programs to run as Windows Services but found information on the subject to be scattered around everywhere. So this post is basically for consolidation and clarification but is not focused on unattended installations.

What is a Service?
A Windows Service is automatically started when your system boots. There is no need to logon to the system. Services also are not affected by people logging off. Services automatically recover from program crashes and Standby and Hibernation modes. Windows 9x/ME do not have a Service facility. Installing software as a Service requires Administrator permissions.

What are the options for running a program as a Service?

  • sc.exe
    This is Microsoft software and is installed by default on XP and 2003. It is probably the best and easiest method but it won’t work if the target executable was not programmed to run as a Service. This rules it out for what many people are trying to do since most programs that are designed ro run as a Service have that option included somewhere in the application. sc.exe is useful for the Unattended crowd, though.
    More »