Archive

Posts Tagged ‘Windows 2008R2 SP1’

Hyper-V Integration Services should be updated after applying SP1 on Virtual Machines

March 10, 2011 3 comments

Now that you installed SP1 on Hyper-V/Windows 2008 R2 servers, you should upgrade the Integration Services in all virtual machines or have the SP1 installed on the VM’s also.

To do this using the Virtual Machine Manager, connect to the VM :

1. Click in ACTION,
2. C
lick Insert Integration Services Setup Disk
3. Click Install Hyper-V Integration Services
4. Click OK, when a message informing about a previous installation show.

To check the Integration Services version, look at the Driver version of the Microsoft Virtual Machine Bus Network Adapter in Device Manager

Uninstalling Windows 2008 R2/Windows 7 SP1 RC to install the RTM version

March 1, 2011 Leave a comment

To remove the SP1 RC you have 2 options:

Option 1, using the GUI

1 Open the Control Panel->Programs->Programs and Features-> Installed Updates

2 Select the kb:976932 and click Uninstall

Option 2 : command

If you tried to uninstall the SP1 by using the traditional Programs/Features -> updates installed without success, use this one:

wusa /uninstall /kb:976932

Windows 2008R2/Windows 7 SP1: Changes common to both client and server platforms

February 25, 2011 Leave a comment

Here are the changes common to W2008R2 ad Windows 7, after applying the SP1:

1. Change to behavior of “Restore previous folders at logon” functionality

SP1 changes the behavior of the “Restore previous folders at logon” function available in the Folder Options Explorer dialog. Prior to SP1, previous folders would be restored in a cascaded position based on the location of the most recently active folder. That behavior changes in SP1 so that all folders are restored to their previous positions.

2. Enhanced support for additional identities in RRAS and IPsec

Support for additional identification types has been added to the Identification field in the IKEv2 authentication protocol. This allows for a variety of additional forms of identification (such as E-mail ID or Certificate Subject) to be used when performing authentication using the IKEv2 protocol.

3. Support for Advanced Vector Extensions (AVX)

There has always been a growing need for ever more computing power and as usage models change, processors instruction set architectures evolve to support these growing demands. Advanced Vector Extensions (AVX) is a 256 bit instruction set extension for processors. AVX is designed to allow for improved performance for applications that are floating point intensive. Support for AVX is a part of SP1 to allow applications to fully utilize the new instruction set and register extensions.

4. Improved Support for Advanced Format (512e) Storage Devices

SP1 introduces a number of key enhancements to improve support of recently introduced storage devices with a 4KB physical sector size (commonly referred to as “Advanced Format”). These enhancements include functionality fixes, improved performance, and updated storage drivers which provide applications the ability to retrieve information as to the physical sector size of storage device. More information on these enhancements is detailed in Microsoft KB 982018.

Changes specific to Windows 7 with SP1

February 24, 2011 Leave a comment

Here are the specific changes for Windows 7 SP1

1. Additional support for communication with third-party federation services

Additional support has been added to allow Windows 7 clients to effectively communicate with third-party identity federation services (those supporting the WS-Federation passive profile protocol). This change enhances platform interoperability, and improves the ability to communicate identity and authentication information between organizations.

Improved HDMI audio device performance

A small percentage of users have reported issues in which the connection between computers running Windows 7 and HDMI audio devices can be lost after system reboots. Updates have been incorporated into SP1 to ensure that connections between Windows 7 computers and HDMI audio devices are consistently maintained.

2. Corrected behavior when printing mixed-orientation XPS documents

Prior to the release of SP1, some customers have reported difficulty when printing mixed-orientation XPS documents (documents containing pages in both portrait and landscape orientation) using the XPS Viewer, resulting in all pages being printed entirely in either portrait or landscape mode. This issue has been addressed in SP1, allowing users to correctly print mixed-orientation documents using the XPS Viewer.

 

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

February 23, 2011 1 comment

 

SP1 Download link : http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c3202ce6-4056-4059-8a1b-3a9b77cdfdda

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 (http://windows.microsoft.com/en-US/windows7/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 8.15.10.2104 through 8.15.10.2141. For more information about a known issue with these drivers and with Windows Live Mail, see Microsoft Knowledge Base article 2505524 (http://support.microsoft.com/kb/2505524) .

To check whether you are using the Intel integrated graphics device driver Igdkmd32.sys or Igdkmd64.sys versions 8.15.10.2104 through 8.15.10.2141, 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 8.15.10.2104 through 8.15.10.2141, 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 (http://www.update.microsoft.com/)  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 (http://go.microsoft.com/fwlink/?LinkId=168949)  website. You can also visit the Microsoft Consumer security software providers (http://go.microsoft.com/fwlink/?LinkId=135654)  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  (http://support.microsoft.com/kb/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 : http://support.microsoft.com/kb/956893

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 https://connect.microsoft.com/site799

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?
http://download.microsoft.com/download/F/A/5/FA5B09CA-D020-45A2-9ED5-84BBB7FB4F33/Hyper-V_Private_Cloud-Datasheet-Final.pdf

 

 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 http://www.microsoft.com/privatecloud

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 : http://blogs.msdn.com/b/virtual_pc_guy/archive/2010/11/19/time-synchronization-in-hyper-v.aspx

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

November 19, 2010 11 comments

Hi

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

Notes:

  • 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 http://technet.microsoft.com/en-us/library/ff935311(WS.10).aspx

The Error

 
Hyper-V Manager

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

[Content]
‘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 (http://support.microsoft.com/kb/KB967902) 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 http://support.microsoft.com/kb/2413735  :

  • 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 :  http://technet.microsoft.com/en-us/library/ff935311(WS.10).aspx
Important Notes : 

 

The Script :

#######################################################################
# Dan Boldo (MSFT)
#

#
#define exception behavior
trap
{
  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 1.3.6.1.5.5.7.3.1
}
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.”
    }
    $certs[0];
}

#Find the certificate of interest
$cert = FindCert
if($cert -eq $null)
{
    CreateCert
    $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”)  
$store.open(“MaxAllowed”)   
$store.add($cert)   
$store.close()   

#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
  while($true)
  {
    $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
##