PowerShell: Restart Fails ‘Other Users Logged On’
KB ID 0001374 Problem If you intend to shutdown, or restart a remote computer using PowerShell, you may see the following error message; PS C:\> Restart-Computer “Computer-name” Restart-Computer : This command cannot be run on target computer(‘Computer-name’) due to following error: The system shutdown cannot be initiated because there are other users logged on to the computer. At line:1 char:1 + REstart-Computer...
vSphere Error – ‘The operation is not allowed in the current connection state of the host’
KB ID 0000848 Problem You can see this either when attempting to power on a VM, or when attempting to deploy a VM from a template. Solution Thankfully it’s a really easy fix. 1. Connect to the console of your Virtual Center, (either through the VI client or via RDP) 2. Windows Key+R > Services.msc {Enter} > Locate the VMware Virtual Center Server service > Restart it. Note: If you have the vCenter appliance, simply...
Windows – System Hung applying updates ‘Stage 3 of 3 Preparing to configure Windows…’
KB ID 0000640 Problem I installed a classroom full of PC’s today, after setting them all updating, and rebooting, I went to lunch, and came back to find them all displaying this, Stage 3 of 3 Preparing to configure Windows. Don’t turn off your computer. I went and did another room, came back, and there was no change. Solution It turns out this is a known problem if you are installing KB2533552, to get round the problem...
Windows – Schedule a Reboot For a Specific Time
KB ID 0000866 Problem If you want to do this, and you do a quick internet search, all results come back as either suggesting using psshutdown or writing a script then scheduling that. I suppose a script is a good idea if you want to reboot at 01:00 every day for example. But what if you want to reboot a client server once at 17:00 and it’s 10:00 in the morning? Chances are, if you’re like me, you will be working on...
WDS Deploying Windows Part 2: Prepare Windows, and Capture to WDS
KB ID 0000737 Problem In part one we built and configured the WDS Server. Now you need to prepare the reference Windows 8 machine so that you can ‘capture’ its image. Solution Before you start, make sure that the machine you are imaging has PLENTY of room on one of its local drive(s), because it copies the image locally, before it sends it to WDS. Place Your Reference Windows 8 Machine in Audit Mode To put all the software...