Posts Tagged ‘Windows 2008R2 SP1’

Windows 7 and W2008 R2 SP1 released. Important Steps to follow before you install

February 23, 2011 1 comment


SP1 Download link :

Before you install Windows 7 SP1 , make sure that you follow these steps:

STEP 1 : Uninstalling SP1 using Programs and Features

The easiest way to uninstall SP1 is using Programs and Features.

  1. Click the Start button Picture of the Start button, click Control Panel, click Programs, and then click Programs and Features.
  2. Click View installed updates.
  3. Click Service Pack for Microsoft Windows (KB 976932), and then click Uninstall.

    If you don’t see Service Pack for Microsoft Windows (KB 976932) in the list of installed updates, your computer likely came with SP1 already installed, and you can’t uninstall the service pack. If the service pack is listed but grayed out, you can’t uninstall the service pack.

Uninstalling SP1 using the Command Prompt

  1. Click the Start button Picture of the Start button, and then, in the search box, type Command Prompt.
  2. In the list of results, right-click Command Prompt, and then click Run as administrator. Administrator permission required If you’re prompted for an administrator password or confirmation, type the password or provide confirmation.
  3. Type the following: wusa.exe /uninstall /kb:976932
  4. Press the Enter key.

Step 2: Back up your important files

Back up your files to an external hard disk, DVD or CD, USB flash drive, or network folder. For information about how to back up your files, see Back up your files ( .

Step 3: Update device drivers

Update device drivers as necessary. You can do this by using Windows Update in Control Panel or by going to the device manufacturer’s website. 

Important If you are using an Intel integrated graphics device, you should be aware that there are known issues with certain versions of the Intel integrated graphics device driver and with D2D enabled applications, such as certain versions of Windows Live Mail. The versions of the Intel integrated graphics device driver that are known to be problematic are Igdkmd32.sys and Igdkmd64.sys versions through For more information about a known issue with these drivers and with Windows Live Mail, see Microsoft Knowledge Base article 2505524 ( .

To check whether you are using the Intel integrated graphics device driver Igdkmd32.sys or Igdkmd64.sys versions through, follow these steps: 

  1. Start DirectX Diagnostic Tool. To do this, click Start, type dxdiag in the Search programs and files box, and then press Enter.
  2. Click the Display tab.
  3. Note the driver and driver version.
  4. If you have the Intel integrated graphics driver Igdkmd32.sys or Igdkmd64.sys versions through, visit the computer manufacturer’s website to see whether a newer driver is available, and then download and install that driver.

Step 4: Install Windows Update KB2454826

 Install Windows Update KB2454826 from Windows Update (  if it is not already installed. If you install the service pack from the Microsoft Download Center and do not install Windows Update KB245862, you could encounter a Stop error in Windows in rare cases.

Windows Update KB2454826 will automatically be installed when you install the service pack by using Windows Update. However, Windows Update KB2454826 is not automatically installed when you install the service pack from the Microsoft Download Center.

To check whether Windows Update KB2454826 is installed, click Start, type View installed updates in the Search programs and files box, and then press Enter. Notice whether Update for Microsoft Windows (KB2454826) is listed. If the update is not listed, you will have to install it from Windows Update

Step 5: Check for malware

Check your computer for malware by using antivirus software. Some antivirus software is sold together with annual subscriptions that can be renewed as needed. However, much antivirus software is also available for free. Microsoft offers Microsoft Security Essentials, free antivirus software that you can download from the Microsoft Security Essentials (  website. You can also visit the Microsoft Consumer security software providers (  webpage to find third-party antivirus software.

Important If your computer is infected with malware and you install Windows 7 SP1, you could encounter blue screens or a Windows Update error such as 8007f0f4 or FFFFFFFF. If malware is detected, Windows Update will be unable to install SP1.

MS Support policy for SQL Server in a virtualization environment

February 19, 2011 Leave a comment

SQL Server 2005/ 2008 / 2008 R2 are supported in the following virtualization environments:

  • Windows Server 2008 /R2 with Hyper-V
  • Microsoft Hyper-V Server 2008 / R2
  • Configurations that are validated through the Server Virtualization Validation Program (SVVP), which includes VmWare and Citrix.
    Note The SVVP solution must be running on hardware that is certified for Windows Server 2008 to be considered a valid SVVP configuration.

Restrictions and Limitations

  • Guest Failover Clustering is supported for SQL Server 2005 / 2008 / 2008 R2 in a virtual machine provided all of the following requirements are met:
    • The OS running in the virtual machine (the “Guest Operating System”) is Windows Server 2008 or higher
    • The virtualization environment meets the requirements of Windows 2008 Failover Clustering, as documented in the following Microsoft Knowledge Base article:
      943984  ( ) The Microsoft Support Policy for Windows Server 2008 Failover Clusters
  • Virtualization Snapshots for Hyper-V or any virtualization vendor are not supported to use with SQL Server in a virtual machine. It is possible that you may not encounter any problems when using snapshots and SQL Server, but Microsoft will not provide technical support to SQL Server customers for a virtual machine that was restored from a snapshot.

Is Quick and Live Migration with Windows Server 2008 R2 Hyper-V supported with SQL Server?

Yes, Live Migration is supported for SQL Server 2005, SQL Server 2008, and SQL Server 2008 R2 when using Windows Server 2008 R2 with Hyper-V or Hyper-V Server 2008 R2.Quick Migration, which was introduced with Windows Server 2008 with Hyper-V and Hyper-V Server 2008, is also supported for SQL Server 2005, 2008, and 2008 R2 for Windows Server 2008 with Hyper-V, Windows Server 2008 R2 with Hyper-V, Hyper-V Server 2008, and Hyper-V Server 2008 R2.

For more information :

SCVMM 2008 R2 SP1 RC is now ready to download

December 8, 2010 Leave a comment

For those who are participant in a Microsoft Connect beta program : SCVMM 2008 R2 Beta :

The  SCVMM 2008 R2 Service Pack 1 Release Candidate is now ready to download from

This release adds support for Windows Server 2008 R2 SP1 RC to SCVMM. We’ve added the necessary properties and controls to allow you to create and manage Dynamic Memory and RemoteFX enabled on virtual machines on Windows Server 2008 R2 SP1 Hyper-V hosts.

 Since this is a pre-release version, usage of this is limited to test environments. You’re encouraged to ask questions via theSCVMM forums

Hyper-V Cloud. Links to download the Deployment Guides

December 6, 2010 Leave a comment

As many are requesting the links to download the Microsoft Hyper-V Cloud Deployment guides.

Building Private Clouds With Hyper-V Cloud and the Windows Server Platform

Windows Server 2008 R2, Microsoft’s server platform, already delivers comprehensive virtualization and management capabilities through Windows Server 2008 R2 Hyper-V. These technologies, along with Microsoft System Center, provide the components organizations need to implement private clouds. With the new Hyper-V Cloud Fast Track program, Microsoft and its partners will deliver a broad choice of predefined, validated configurations for private cloud deployments, comprising compute, storage, networking resources, virtualization and management software. These programs and offerings help reduce the risk and increase the speed of private cloud deployments.

here are the links. ( Right click -> Save as )

What Is Private Cloud?


 More information on Hyper-V Cloud and additional details on how Dell, Fujitsu, Hitachi, HDS, HP, IBM and NEC are participating in the program can be found at

Everything you wanted to know about Time Synchronization in Hyper-V, but were afraid to ask

November 22, 2010 Leave a comment


keeping time inside of virtual machines, how Hyper-V tackles these ?

Check out here in Ben Armstrong, Microsoft Virtualization Program Manager :

How to fix the ‘Unspecified error’ (0x80004005) : Could not find a usable certificate. Windows 2008/R2

November 19, 2010 11 comments


Thanks to Dan Boldo (MSFT) and Ben Armstrong (MS Virtualisation PM), here are an explanation and the fix for the error.


  • This error only affects VMConnect and does not affect remote desktop connections.
  •  Though this error may occur, the Hyper-V service will continue to operate.   Neither the Hyper-V host nor the running virtual machines will go offline.
  • Microsoft Virtualization Team also confirmed that this issue also affects  Windows 2008 R2 Hyper-V.
  • For Configuring Certificates for Virtual Machine Connection, please read

The Error

Hyper-V Manager

[Main Instruction]
An error occurred while attempting to change the state of virtual machine ‘VMxxx’.

‘VMxxx’ failed to initialize.

Could not initialize machine remoting system. Error: ‘Unspecified error’ (0x80004005).

Could not find a usable certificate. Error: ‘Unspecified error’ (0x80004005).

[Expanded Information]
‘VMxxx’ failed to initialize. (Virtual machine XXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX )

‘VMxxx’ could not initialize machine remoting system. Error: ‘Unspecified error'(0x80004005).(Virtual machine XXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX )

‘VMxxx’ could not find a usable certificate. Error: ‘Unspecified error’ (0x80004005). (Virtual machine XXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX )

The Explanation

This error is basicaly cause when the certificate expired, users couldn’t connect or start a VM and then VMMS raise an error. If you try connecting again, this will generate the same message because the certificate was still in an expired state.

The Solutions

Initial one

For Windows 2008, Microsoft introduced a fix ( which auto-generated a new certificate and sent the VMMS to grab it. 

The idea was to have certificates that lasted for one year and then auto-renew.

But, this fix let to another issue : “After a new Hyper-V VMMS certificate is generated, there are mouse and screen resolution issues when managing a virtual machine using the Hyper-V Manager Console”, described  in this KB  :

  • When in one year, self-signed certificate expirees, the VMMS grabs a new one but the certificate refresh process is flawed.
  • During the refresh the user loses control of their mouse and their connection resolution drops back to default.

This problem is due the certificate refresh triggers a reset in the VMConnect RDPEncoder. It then initializes a method which puts the mouse in PS2 mode and it change the display settings to RdpEncoderDefaultxxx.

Workaround for this second issue:

    • Place the virtual machines in a saved state and then resume the virtual machines.
    • Restart the virtual machines.
 Easy when the VM is not in production environment as this that takes care of the refresh of the input and display and the problem goes away, for a year.
Proactive Workaround
What if instead one year, the new certificate lasted for decades?
1. Using the MakeCert utility, the below script will generate a new, self-signed certificate valid until 01/01/2050.
2. You need then point the VMMS to the new certificate :
Important Notes : 


The Script :

# Dan Boldo (MSFT)

#define exception behavior
  trap { continue }
  write-host -ForegroundColor Red “Unexpected Exception!`n`r”
  write-host -ForegroundColor White ($_.invocationinfo.positionmessage -replace “`n”)
  0..100 | foreach { write-host -ForegroundColor White   ((gv -ErrorAction SilentlyContinue -scope $_ myinvocation).value.positionmessage -replace “`n”) }
  write-host -ForegroundColor Red “$($_.Exception)”
  exit 1
$hostname = “$((gwmi win32_computersystem).dnshostname).$((gwmi win32_computersystem).domain)”
write-host “Host name found:” $hostname
function CreateCert()
    write-host “Creating a new certificate using makecert.exe”
    .\makecert.exe -r -pe -n “CN=$hostname” -b 01/01/2005 -e 01/01/2050 -sr LocalMachine -ss My -a sha1 -sky exchange -eku
function FindCert()
    $t = new-object System.DateTime(2049,1,1,1,10,10)
    $certs = @(dir cert:\LocalMachine\My -recurse | ?{$_.subject -eq “CN=$hostname”} | ? { $_.NotAfter.CompareTo($t) -eq 1 })
    if($certs[0] -eq $null)
        return $null;
    if($certs.Length -ne 1)
        write-warning “More than one certificate is found in store. Please don’t run makecert.exe multiple times.”

#Find the certificate of interest
$cert = FindCert
if($cert -eq $null)
    $cert = FindCert;
    if($cert -eq $null)
        throw “Certificate Not Found error. Check if makecert.exe is successful or not”
write-host “Found certificate of interest:”
write-host $cert | select NotBefore, NotAfter

#tweak system settings to let VMMS use the certificate of interest.
$thumbprint = $cert.Thumbprint 
$location = $cert.PrivateKey.CspKeyContainerInfo.UniqueKeyContainerName
$folderlocation = gc env:ALLUSERSPROFILE
$folderlocation = $folderlocation + “\Microsoft\Crypto\RSA\MachineKeys\”
$filelocation = $folderlocation + $location
icacls $filelocation /grant “*S-1-5-83-0:(R)”
$thumbprint = $cert.Thumbprint
reg add “HKLM\Software\Microsoft\Windows NT\CurrentVersion\Virtualization” /v “AuthCertificateHash” /f /t REG_BINARY /d $thumbprint

#fix loopback case.
$store = new-object System.Security.Cryptography.X509Certificates.X509Store(“Root”,”LocalMachine”)  

#restart vmms
net stop vmms
net start vmms

# Wait for job completion
function WaitForResult($ret)
  if($ret.ReturnValue -eq 0) { return; }
  if($ret.ReturnValue -ne 4096)
    Throw “Error was returned from WMI call: $($ret.ReturnValue)”;
  $timeout = 300; # 5 minute timeout
    $job = [wmi]$ret.job
    if($job.JobState -eq 7) { return; }
    if($job.JobState -gt 7) { throw “Error while processing WMI job! $($job | fl * | out-string)” }

    if($timeout -le 0) { throw “Timeout while processing WMI job! $($job | fl * | out-string)” }

    $timeout -= 5;
    Sleep 5

# get all VMs in Running state.
$vms = gwmi -n root\virtualization msvm_computersystem
$vms = $vms | where {$_.Name -ne $env:computername}
$vms = $vms | where {$_.EnabledState -eq 2}

#Save/Restore for all running VMs
foreach($vm in $vms)
    if($vm -ne $null)
     Write-Host “Doing Save/Restore for VM:” $vm.ElementName
     WaitForResult  $vm.RequestStateChange(32769)
     WaitForResult  $vm.RequestStateChange(2)

# end of the script

Private Cloud Solutions : Hyper-V Cloud Deployment Guides

November 18, 2010 4 comments

Private cloud is the implementation of cloud services on resources that are dedicated to your organization, whether they exist on-premises or off-premises with the benefits of public cloud computing—including self-service, scalability, and elasticity and the additional control and customization.

Build your own private cloud and you will have a dynamic, virtualized infrastructure with advantages including:

  • Pools of compute resources
  • Automated management
  • High-availability
  • Scale-out capabilities
  • Multi-tenancy
  • Self-service provisioning

To learn more how to build your own private cloud with Windows Server 2008 R2 Hyper-V, System Center, and the Virtual Machine Manager Self-Service Portal 2.0 using the Hyper-V Clould Deployment Guide: