How Long Since Last Windows Reboot

Windows XP

Open Command Prompt and run:

This will return quite a bit of information. Scroll up and find line: System Up Time

Alternately you can run
systeminfo | find "System Up Time"
systeminfo | find "System Up Time"
This will only return the system up time.

Windows 7 in VmWare ESXi 4.0 hangs on boot

Windows 7 - Starting Windows
If you still use VMware ESXi 4.0 you may find that Windows 7 often hangs on boot displaying "Starting Windows" logo. This seems to be caused by Windows 7 startup animation.

To fix this start Windows 7 in safe mode, open elevated command prompt and run:
bcdedit /set bootux disabled
This will disable boot animation and allow Windows 7 to boot in ESXi 4.0 (it may still take quite long time to boot). You may see something like this while Windows is booting:
Windows 7 - Starting Windows

Remember that Windows 7 support in VMware ESXi 4.0 was only experimental so you can't really blame VMware if it's not working perfectly. Best solution would be to upgrade to the latest ESXi version.

Can't remove printer drivers in Windows 7 - The Specified Printer Driver is Currently in Use

Recently had to delete some network printers drivers on couple of Windows 7 machines.
As usual went to Print Server > [computer] > Drivers > [driver] > Remove Driver Package
After confirming removal by clicking Delete was presented with an error message:
Failed to remove driver [driver name]. The specified printer driver is currently in use.
Failed to remove driver. The specified printer driver is currently in use.
In Windows XP these kind of issues would be normally resolved by deleting printer and restarting Print Spooler service. Unfortunately in this case it didn’t work.

A quick search online revealed that often recommended solution is to delete printer from every single user profile who was ever logged on this machine. I had over 10 user profiles on this machine so wasn’t very keen to try it.

I found another, quicker way to achieve the same result. The trick is to delete the driver immediately after restarting print spooler service.


Subscribe to receive occasional updates on new posts.
Your email will not be used for any other purpose and you can unsubscribe at any time.
Please wait