11. December 2013 · Comments Off on Windows Server 2012 – Migrating FSMO Roles · Categories: Microsoft · Tags: , , , , ,

A new server has been added to the forest as a new domain controller, on the new server after launching PowerShell command line, Use the Move-ADDirectoryServerOperationMasterRole command to transfer all the FSMO roles. Each role corresponding to a number :

 

Role Name Number
PDCEmulator 0
RIDMaster 1
InfrastructureMaster 2
SchemaMaster 3
DomainNamingMaster 4


Moving FSMO roles

Move-ADDirectoryServerOperationMasterRole -Identity “DC01” -OperationMasterRole 0,1,2,3,4

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 »
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 »
29. June 2013 · Comments Off on Veeam FastSCP Windows 64bit Fix · Categories: Microsoft · Tags: , , ,

veeam_logo-big2

Having installed Veeam FastSCP onto my Windows 7 (64) Ultimate workstation I was getting the error messages Retrieving the COM class factory for component with CLSID [5F1555F0-0DBB-47F6-B10B-0AB0E1C1D8CE] failed due to the following error:  800700c1
More »

21. June 2013 · Comments Off on How to Manually Remove Exchange 2007 · Categories: Microsoft · Tags: , , , , ,

How to manually remove an Exchange 2007 that got hosed.

Uninstalling exchange was also unsuccessful because some objects were missing from Active Directory. I also wanted to avoid reinstalling the OS as I have critical software that needs to remain.  So I tried removing exchange manually.

  1. Run setup /m:uninstall (From Exchange 2007 Media)
  2. Stop and disable all the Exchange 2007 services
  3. Use Registry Editor (Start->Run->Regedit) to remove these Exchange related registry keys:
    • HKLMSOFTWAREMicrosoftExchange
    • HKLMSYSTEMCurrentControlSetServicesMSExchange* (all the keys starting with “MSExchange”)
    • HKLMSOFTWAREMicrosoftWindowsCurrentVersionUninstallMicrosoft Exchange
  4. Remove the entire Web Server role (don’t forget to reinstall afterwards as it’s a prerequisite for E2K7!)
  5. Remove the Exchange 2007 server from Active Directory. I ended up deleting the entire “Microsoft Exchange” branch from ADSIEdit (Configuration Container > Services > Microsoft Exchange) as my domain only has one server.
  6. Use Windows Explorer to delete:
    • C:Program FilesMicrosoftExchange Server
    • C:ExchangeSetupLogs
  7. Use Windows Installer CleanUp Utility to remove all the exchange related info from the installer database.
  8. Remove the security groups created by Exchange setup from AD

Note: Manually removing Exchange 2007 is not supported by Microsoft! Official guidance for removing Exchange 2007 can be found in this TechNet article.

19. May 2013 · Comments Off on Win2K8 R2 Enable Multiple RDP Sessions · Categories: Microsoft · Tags: , , ,

Server 2008 unlike its predecessors, comes with the multiple remote desktop session restriction enabled. If you are only connecting to a server for remote administration purposes that can get a bit annoying, especially if you have a generic administrative account that multiple techs are using, and you keep kicking each other off the server.

Solution

Option 1: Enable Multiple RDP sessions from TSCONFIG
More »

25. March 2013 · Comments Off on How can I stop users from using PST files · Categories: Microsoft · Tags: , , ,

PST files are a burden in many environments. They’re hard to manage, hard to perform discovery on, and prone to loss when stored on local machines. Many companies now use archiving solutions at the mail server, such as the Exchange 2010 archiving functionality, to avoid the need for user PST files.

Briefly, these are some of the problems with PST files:

  • Microsoft does not support using PST files over a LAN or WAN network (KB267019). Using PST files located on network shares can slow down Outlook and can cause corruption of the PST file.
  • Anti-virus countermeasures cannot be implemented on PST files as easily as Exchange Server mailbox databases.
  • It is difficult to accurately report on PST file use, making reporting on organizational mail storage and planning for future growth difficult.
  • Managing content of PST files is difficult.  Exchange Server provides tools to manage the content of mailboxes (such as Messaging Records Management) and to export or remove data from mailboxes (such as the Export-Mailbox cmdlet) but there are no such tools to manage the content of PST files.
  • Local PST files are difficult to back up, making them vulnerable to data loss.

To phase out PST files, take a two phase approach. First, you can stop users from writing to PST files but still allow them to read from then. You can then totally block PST files.
More »

24. January 2013 · Comments Off on SBSMonitoring database is nearing maximum or hit the 4096MB size on SBS 2008 · Categories: Microsoft · Tags: , , ,

1-27-2013 9-45-40 PM

The Problem….

You receive an Event ID 1827:
CREATE DATABASE or ALTER DATABASE failed because the resulting cumulative database size would exceed your licensed limit of 4096 MB per database.

The Technical Bit….

This occurs because the SBSMonitoring database is close to the 4096mMB size or exceeded it.

The Fix….
More »