Patching of Hyper-V Hosts

Many of you may be using Hyper-V technology as the part of your move towards server virtualization. When you want to patch the Hyper-V hosts which are not equipped with a GUI (Server Core) and not connected to internet, we may want to get the help of WSUS server.

I have employed a manual patching of  Windows Server 2008R2 Hyper-V host using a WSUS Server. As the first step, I have setup , configured the WSUS server as the part of the domain (See the link to see how to configure the Group Policy for this). I have connected my WSUS server to the internet and synced with Microsoft Repository of patches. Now everything is ready to deploy the patches to the Hyper-V Host. Cross check the WSUS console and make sure that the Hyper-V host is visible there (You may want to forcefully  apply the Group Policy)

RDP to the Hyper-V Host and I’m going to work on the PowerShell console as shown below (which comes by default when you RDP the Host):

1Note the 2 option available here, 5)Windows Update Settings 6)Download and Install Updates.

I have opted the option 5 by typing 5 and press enter.

Now the ‘Windows Script Host’ console will open and process the connection to the WSUS Server as shown below:


After a few minutes, we can see the list of available patches at the same window. Again, the program will ask to select the updates needed to install as follows:


Type  the option for you from A,N or S and press Enter.

Finally, we will get the progress as shown below. Some of the updates are not found as successful. Let me try those again, after restarting the host




How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count:

As you found this post useful...

Follow us on social media!

We are sorry that this post was not useful for you!

Let us improve this post!

Leave a Reply

Your email address will not be published. Required fields are marked *

Protected by WP Anti Spam