Category Archives: Windows Server

Data Protection Manager on Windows Server 2008

Recently, I wanted to test Microsoft Data Protection Manager 2007 on Windows Server 2008. My goal is to test backup and restore of MOSS and Exchange 2007.

When installing on Windows Server 2008, you can follow this instructions.

However, I experienced a problem during the population of the reports. The failure message did not say too much (“Report configuration failed. Verify that SQL Server Reporting Services is installed properly and that it is running.”), so I clicked on the link to see the logfile. Surprise: the complete HTTP response delivered from IIS was in the logfile as HTML text. So I copied the text to a new HTML file:

Okay, “Integrated managed pipeline mode”. Let’s take a look at IIS:

The “Default Web Site” is used for the Reporting Services and it uses the “DefaultAppPool”.

After changing the Managed Pipeline Mode to “Classic”, the DPM installation finished successfully.

Duplicate SPNs and Windows Server 2008

Recently I got a comment how to locate duplicate SPNs when using Windows Server 2008.

Luckily, this is very easy, because the SETSPN command from Windows Server 2008 has this functionality builtin:

Remove the duplicate service prinicipal name

Each service principal name (SPN) must be unique. Without unique principal names, the Kerberos client is not able to ensure that the server it is communicating with is the correct one. You must identify the duplicate SPN, and then remove it.

To perform these procedures, you must be a member of the Domain Admins group, or you must have been delegated the appropriate authority.

To identify the duplicate SPN:

1. Log on to the computer referenced in the event log message. If this computer is not running Windows Server 2008, you must download and install the Windows Server 2003 Resource Kit, which includes setspn.exe.
2. Click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
3. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
4. Type setspn -X.
5. The output of this command will show the duplicate SPNs.
6. Use the following procedure to remove one of the duplicate SPNs.

Remove an SPN

To remove an SPN:

1. Click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
2. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Continue.
3. Type setspn -D<SPN> <computer_name>, where SPN is the name of the duplicate SPN and computer_name is the name of the computer that is assigned the duplicate SPN.

Want to update Hyper-V to RTM?

Here is what to do if you use Hyper-V RC0 or RC1 and want to update to Hyper-V RTM. I did this recently with my server.

  1. Apply the snapshot you want to take with you to RTM
  2. Start the virtual machine with this snapshot applied
  3. Shutdown your virtual machine
  4. Delete all Snapshots
  5. Wait for the merge to complete
  6. Uninstall the Hyper-V role with the Server Manager
  7. Logon to the server
  8. Wait for the Configuration Wizard to complete (it starts automatically)
  9. Apply the update details.aspx-FamilyId=F3AB3D4B-63C8-4424-A738-BADED34D24ED&displaylang=en
  10. Restart the server
  11. Logon to the server
  12. Add the Hyper-V role with the Server Manager
  13. Restart the server
  14. Wait for the Configuration Wizard to complete (it starts automatically)
  15. Your virtual machines should be there after the update
  16. Reconnect your virtual machines to the virtual network
  17. Start your virtual machines
  18. Insert the Integration Services Setup Disk and update the Integration Services
  19. Restart the virtual machine


By the way: I did not need to reactivate my virtual machines.

Hyper-V is RTM!

You can download the update (final release) here:

As usually, saved states and with that snapshots cannot be updated to the final release:

I will update my Windows Server 2008 and give you some details about the process very soon.

Hyper-V RC1 available

I just heard from a colleague that Hyper-V RC1 is available for download.

You can get it here:
Windows Server 2008 x64 Hyper-V RC1 Update – KB950049
Windows Server 2008 x86 Hyper-V RC1 Update – KB950049

The saved states made with Hyper-V RC0 do not work with RC1. The snapshots contain saved states, so they won’t work, too.

I will install the RC1 on my test notebook and share the experiences very soon.

See the Team Blog, too:

Want to migrate your Virtual Server VHDs to Hyper-V?

Okay, you have used Virtual Server for your virtual machines. Now you have Hyper-V and naturally you do not want to reinstall every machine from scratch.
Here is how you can migrate your old VHDs to Hyper-V:

1. Be sure that you backup your virtual hard disk files (VHDs)
2. Uninstall the Microsoft Virtual Machine Additions
3. If you have no Virtual Server environment to deinstall the Virtual Machine Additions, you can install Virtual Server on Windows Server 2008. Here is what you need:
(If you have uninstalled the Microsoft Virtual Machine Additions, you can continue with step 10)

  • Install IIS with the Server Manager and add the required Features
  • Add CGI, Windows Authentication, IIS 6 Metabase Compatibility

4. Install Virtual Server 2005 R2 with SP1:
VS-1 VS-2 VS-3
VS-4 VS-5 VS-6

5. Because the Hypervisor of Windows Server 2008 makes the emulated drivers of Virtual Server virtual machines very slow, you should disable the Hypervisor as long as you want to use Virtual Server. This is not just a setting or driver, you have to boot Windows Server 2008 without the Hypervisor. You have to create a second boot entry:

bcdedit /copy {current} /d “Microsoft Windows Server 2008 – for Virtual Server”
bcdedit /set {Identifier} hypervisorlaunchtype off

The first command copies the current boot configuration to a new one called “Microsoft Windows Server 2008 – for Virtual Server”:

The second command turns the Hypervisor for the new boot entry off:

6. Now you have to restart your server, choose the new boot entry to boot it without the Hypervisor.

7. Okay, now as you are back we can configure the new virtual machine wit the old VHD in Virtual Server:

  • Open your browser and go to http://localhost:1024 to open the Virtual Server configuration site.
  • Click on Virtual Machines – Create:
  • Select a name for the new virtual machine, chose the amount of RAM, enter the path to the VHD file you want to migrate to Hyper-V and click on CREATE:
  • Turn the new virtual machine on:


6. Turn the Virtual Machine Remote Control (VMRC) Server on:
VM-5 VM-6

7. Connect to the the running virtual machine with the Virtual Machine Remote Control Client:

8. Deinstall the Microsoft Virtual Machine Additions and restart the virtual machine:
VM-7 VM-8

9. After the virtual machine is rebooted, you can shut it down and restart Windows Server 2008 with the Hypervisor.

(You can continue here from step 2 when you have uninstalled the Microsoft Virtual Machine Additions)

10. Install Hyper-V, as mentioned in one of my earlier posts.

11. Create a new virtual machine in Hyper-V:
Hyper-V-1 Hyper-V-2 Hyper-V-3
Hyper-V-4 Hyper-V-5

12. Start the new Hyper-V virtual machine.

13. Perhaps you have to activate Windows, because the Hardware has changed due to the Hypervisor:

14. Insert the Services Setup Integration Disk (If your virtual machine is Windows Server 2008 install Hyper-V RC0 or newer in it):

15. Update the Hardware Abstraction Layer:

16. After the HAL update and a reboot the device drivers are installed:

17. Reboot the Virtual Machine:


18. You have to configure the TCP/IP settings. This could be the reason why a migrated domain controller can take a very long time (15 minutes and more) to boot:

That was it, have fun with your migrated machines!

Want to install WSUS 3 with SP1 on Windows Server 2008?

Yesterday I wanted to prepare a WSUS Server ( for my virtual machines.
Naturally I wanted to use Windows Server 2008 as operating system. But what do do you have to install to support WSUS 3?

Here is what I found on the net:

Add the IIS Server Role with the Server Manager (always accept the required features):

Add these Role features:

After IIS 7 is installed, you can install WSUS as usual.


Install IIS 7 with the server manager and this role features:
- Common HTTP Features
- ASP.NET, ISAPI Extensions, ISAPI Filters
- Windows Authentication
- IIS 6 Metabase Compatibility

Some documentations state that the applicationhost.config XML file should be changed, but it does not make any difference in my WSUS installation.

Want to use Hyper-V? (Update)

Everyone is using Hyper-V  for testing purposes and you want it, too? Read along!

Hyper-V, the new virtualization technique from Microsoft is a built-in component of Windows Server 2008 (not in Web and Itanium Edition, see So you cannot just install a program like Virtual PC or Virtual Server, you have to install Windows Server 2008 on a computer which supports Hyper-V.

There are two main hardware requirements for Hyper-V:
1. Processor with built-in virtual machine support (Intel VT, AMD-V)
2. Data Execution Prevention (DEP)

Just take a look into your BIOS if there is any virtualization setting. You have to enable it. Most recent systems have this feature, even notebooks.

Okay, you have the proper hardware and you want to dive into Hyper-V, so let’s start:
I assume that you have installed Windows Server 2008 already and therefore I will start with the installation of Hyper-V. At the moment, Hyper-V is RC0 (Release Candidate 0). It is not final yet and it is not supported by Microsoft at this time. But do not worry, a lot of people have made a very good experience with it, including me. You have to download and install the RC0 version of Hyper-V, because the version that is shipped with Windows Server 2008 is just a beta and you should not use that.
You can find the RC0 here:

Update: In the meanwhile, Hyper-V RC1 was released:
Windows Server 2008 x64 Hyper-V RC1 Update – KB950049
Windows Server 2008 x86 Hyper-V RC1 Update – KB950049

After the installation of the RC0, you can add the Hyper-V Role with the Server Manager:


(on my PC the role was already installed)

After a reboot, you are ready to start.

The next steps, creation, migration and using virtual machines are covered in later posts.