Feeds

Let's get graphical with Hyper-V

Trevor scripts up some GUI admin tools

Internet Security Threat Report 2014

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.

Top 5 reasons to deploy VMware with Tegile

Next page: Simple tasks

More from The Register

next story
Docker's app containers are coming to Windows Server, says Microsoft
MS chases app deployment speeds already enjoyed by Linux devs
'Hmm, why CAN'T I run a water pipe through that rack of media servers?'
Leaving Las Vegas for Armenia kludging and Dubai dune bashing
SDI wars: WTF is software defined infrastructure?
This time we play for ALL the marbles
'Urika': Cray unveils new 1,500-core big data crunching monster
6TB of DRAM, 38TB of SSD flash and 120TB of disk storage
Facebook slurps 'paste sites' for STOLEN passwords, sprinkles on hash and salt
Zuck's ad empire DOESN'T see details in plain text. Phew!
Windows 10: Forget Cloudobile, put Security and Privacy First
But - dammit - It would be insane to say 'don't collect, because NSA'
Oracle hires former SAP exec for cloudy push
'We know Larry said cloud was gibberish, and insane, and idiotic, but...'
Symantec backs out of Backup Exec: Plans to can appliance in Jan
Will still provide support to existing customers
prev story

Whitepapers

Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Win a year’s supply of chocolate
There is no techie angle to this competition so we're not going to pretend there is, but everyone loves chocolate so who cares.
Why cloud backup?
Combining the latest advancements in disk-based backup with secure, integrated, cloud technologies offer organizations fast and assured recovery of their critical enterprise data.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?
Saudi Petroleum chooses Tegile storage solution
A storage solution that addresses company growth and performance for business-critical applications of caseware archive and search along with other key operational systems.