PowerShell: Live migration of all VMs from one host to another
Simple script that uses live migration to move all VMs from one Hyper-V host to another. I’m not using shared storage so have added the -IncludeStorage option to the end of the Move-VM command. You...
View ArticleFree Windows Server 2012 Hyper-V networking eBook
Optimizing and Troubleshooting Hyper-V Networking, published June 2013. Not sure if it’s supposed to be free or not, but it is nonetheless currently showing as $0. Whilst we’re doing free eBooks, it’s...
View ArticlePowerShell: Remote Desktop Connections and NLA
There seem to be no available cmdlets to change the settings in the Remote Desktop section of the Remote tab in the System Properties dialogue box: Namely to switch between Don’t allow remote...
View ArticleSCVMMService crashes on VM creation
I’m using a PowerShell script to create a new VM, based on the code you can get System Center Virtual Machine Manager 2012 SP1 to spit out. I made a change to the script to try to use some unattended...
View ArticleHyper-V 2012 VM RAM and NUMA nodes
I have some Dell R710 servers that have been running the free edition of XenServer 5.5 since 2009. They have 48GB RAM and two Xeon X5550 CPUs, and host five virtual machines, all running XenApp. This...
View ArticleSet Hyper-V 2012 VM NUMA node
Run the following PowerShell command line and you can see what NUMA node your VMs are running on, assuming you a) have NUMA aware host hardware and b) haven’t enabled NUMA spanning: (Get-Counter...
View ArticleAppLocker blocking getpaths.cmd
When you configure the default AppLocker Script rules in a Group Policy Object (GPO) one of the ones it adds is for: %OSDRIVE%\*\temp\*\getpaths.cmd Except when a user logs on, if you’ve enabled the...
View ArticleAdd-RDSessionHost printer group policy error
I was trying to add a Windows Server 2012 Remote Desktop Session Host to a collection using Add-RDSessionHost. The command was working in so far as it was adding the server to the session collection,...
View ArticleRemote Desktop Connection: Can’t connect
On trying to connect to a Windows Server 2012 Remote Desktop Session Host published desktop I got the following error from my Remote Desktop Client: Remote Desktop Connection This computer can't...
View ArticlePowerShell and double quotes on the command line
I’ve had issues passing in parameters to a PowerShell script that need double quotes around them, due to containing a space. Consider the following very basic PowerShell script:...
View ArticleServer 2012 Remote Desktop Session Host: Installation hangs at Windows...
You install a product from a .msi, and whilst Windows Installer is running you get an additional progress dialogue: Windows Installer Coordinator Please wait while the application is preparing for the...
View ArticleSet Internet Explorer Address Bar Search via Group Policy
OK, this is kind of a cheat, this is using Group Policy Preferences (GPPrefs) to add a set of registry entries, it’s not a custom .admx or something more fancy. But it does work. Firstly, I suggest you...
View ArticleVMM 2012 SP1: VMM cannot find HardwareProfile object
Using System Center Virtual Machine Manager 2012 SP1 to create a VM from a template. Template is called Server2008R2, trying to create a VM called Server2008R2IE10. On the Create Virtual Machine Wizard...
View ArticleInternet Explorer 10 not saving cookies when Roaming Profile used
Have just upgraded my Windows Server 2008 R2 XenApp 5.0 servers from IE 9 to IE 10 and noticed that cookies were not working after a logoff. Everything was fine whilst the user was logged on, so...
View ArticleDisable Windows Error Recovery
Sometimes I find that one of my Windows VMs isn’t pinging the morning after I have released security updates. I have a look at the console of the VM and it looks like this: What causes Windows to boot...
View ArticleAutomatically Accept Windows Remote Assistance Requests
There doesn’t seem to be a built-in way to do this on Windows Server 2008 R2. What we’re trying to achieve is a way to use Windows Remote Assistance to remotely control the session of a user, without...
View ArticleExternal IT Consultants
I’ve just read this article on the Microsoft TechNet UK blog. On the whole I agree with the suggestions in the article. However, the point “Get the right expertise in” concerns me, as based on my...
View ArticleRemoteApp Default Connection URL Group Policy not working
As of Windows 8 and Server 2012 you can configure the RemoteApp and Desktop Connection URL automatically via Group Policy. The policy setting is found in: User Configuration Policies Administrative...
View ArticleNetBackup Exchange status code 1542
Exchange 2007 CCR, NetBackup 7.5 policy is configured to backup from the passive node. Backups for the cluster fail with code 1542: An existing snapshot is no longer valid and cannot be mounted for...
View ArticleVMware E1000e vmnic Windows Server 2012 data corruption
Found this yesterday: http://kb.vmware.com/kb/2058692 “On a Windows 2012 virtual machine using the default e1000e network adapter and running on an ESXi 5.0 or 5.1 host, you experience these symptoms:...
View Article