Feeds

Let's get graphical with Hyper-V

Trevor scripts up some GUI admin tools

The essential guide to IT transformation

Review We recently had a good look at what it takes to get a Hyper-V failover cluster up and running using PowerShell. It isn't quite as scary as it is often made out to be, but like many command line interfaces it is the stuff of laminated cheat sheets for administrators who don't use those commands every day.

The alternative is to get the graphical user interface (GUI) administration tools up and running. We will take a brief look at that here.

The right connections

If you want the GUI tools – and ultimately, they are a lot easier for casual administrators than PowerShell will ever be – you need to set everything up for remote administration.

This means getting Windows Remote Management (WinRM) configured properly, various permissions and some firewall rules set. Some examples of the kinds of commands you are in for are:

On the client:

winrm set winrm/config/client @{TrustedHosts="YOURSERVER"} reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v LocalAccountTokenFilterPolicy /t REG_DWORD /d 1 /f

On the server:

winrm set winrm/config/client @{TrustedHosts="YOURCLIENT"} Dism.exe /Online /Enable-Feature /FeatureName:NetFx2-Servercore /FeatureName:MicrosoftWindowsPowerShell /FeatureNameerverManager-PSH-Cmdlets /FeatureName:BestPractices-PSH-Cmdlets

Let me save you several fistfuls of hair: download the Hyper-V Remote Management Configuration Utility and use that instead of mucking about with the command line.

I also strongly encourage you to never under any circumstances or for any reason attempt to do anything with Hyper-V Server without having all your hosts on a domain.

Authentication and configuration drift sets in with only three hosts in use; trying to go beyond that is inviting madness. CredSSP is crafted from the raw, fundamental evil at the centre of the universe.

A good example of wackiness is trying to get Device Manager access working remotely. After some poking around it turns out you need to enable "Allow remote access to the Plug and Play interface" in the Group Policy Object located at "Configuration\Administrative Templates\System\Device Installation".

Oh, and if you want disk management to work, don't forget to ensure the Virtual Disk Service is enabled on the Hyper-V host. (That will catch more than a few folks, I'm sure.)

Another item you might run up against is network identification. Since there isn't exactly a usable interface to manage network identification even on copies of Windows that have a GUI, using a relevant script might help.

Of course, for any scripts you want to run on Hyper-V Server, you will need to set your PowerShell script execution policy accordingly. It is generally a bad idea to use "set-execution policy unrestricted", but I find it is worth it just to get things configured. Provided, of course, that you set it back to "set-execution policy restricted" when you are done.

Boost IT visibility and business value

Next page: Simple tasks

More from The Register

next story
Pay to play: The hidden cost of software defined everything
Enter credit card details if you want that system you bought to actually be useful
Shoot-em-up: Sony Online Entertainment hit by 'large scale DDoS attack'
Games disrupted as firm struggles to control network
HP busts out new ProLiant Gen9 servers
Think those are cool? Wait till you get a load of our racks
Silicon Valley jolted by magnitude 6.1 quake – its biggest in 25 years
Did the earth move for you at VMworld – oh, OK. It just did. A lot
VMware's high-wire balancing act: EVO might drag us ALL down
Get it right, EMC, or there'll be STORAGE CIVIL WAR. Mark my words
Forrester says it's time to give up on physical storage arrays
The physical/virtual storage tipping point may just have arrived
prev story

Whitepapers

Top 10 endpoint backup mistakes
Avoid the ten endpoint backup mistakes to ensure that your critical corporate data is protected and end user productivity is improved.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Backing up distributed data
Eliminating the redundant use of bandwidth and storage capacity and application consolidation in the modern data center.
The essential guide to IT transformation
ServiceNow discusses three IT transformations that can help CIOs automate IT services to transform IT and the enterprise
Next gen security for virtualised datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.