Delete print jobs stuck in queue

In an administrator command prompt paste the following commands or convert it into a script.
@echo off
echo Purging the print queue…
net stop Spooler
echo Deleting all print jobs… ping localhost -n 4 > nul
del /q %SystemRoot%\system32\spool\printers\*.*
net start Spooler
echo Done!
ping localhost -n 4 > nul



If that doesn’t work you can try these two things:

Run sfc /scannow from an admin command prompt
Set Bluetooth service to automatic and then start it


Cleanup winsxs directory sbs 2011

by getdeclue on October 20, 2015

In and admin command prompt run the following command:

dism.exe /online /cleanup-image /spsuperseded


After windows pe has loaded hold shift and press f10 to bring up a command prompt window.

At a command prompt, type the following command, and then press ENTER:
drvload driver.inf
Driver.inf is the name of the third-party network driver.
You have to specify the full path and the name of the driver. For example, if Driver.inf is on a CD, and the CD drive is drive D, type the following command, and then press ENTER:
drvload.exe d:\Folder\Driver.inf
Type wpeutil InitializeNetwork

To verify network connectivity, type ipconfig /all.

The drive letter of D varies based on how many partitions are on the local systems hard drive.


To fix this error:

Open Registry Editor, set the value of GeneralizationState to 7 under HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus to 7


If it still persists:

Open Registry Editor, set the value of  SkipRearm key to 1 under

HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT/CurrentVersion/SoftwareProtectionPlatform

If the same issue still persists, please unistall the MSDTC and Reinstall it, then try the sysprep.

To uninstall MSDTC : msdtc -uninstall

To reinstall  MSDTC : msdtc –install


WSUS reinstall fails: 0x80070643

by getdeclue on May 25, 2015

If you can’t uninstall WSUS and get the error message: Setup Not Completed! Perform these two steps first

Open regedit to: HKLM\Software\Microsoft\Update Services\Server\Setup

Change the value of “wYukonInstalled” to 0 and  “SqlInstanceIsRemote” to 0

The visible message was: There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. but the log file showed 0x80070643

Successfully reinstalled wsus after deleting:


Install command from admin command prompt was:

Remember to install update KB2720211 after reinstalling WSUS or some functionality will not work.


Easy PCI compliance Utility

by getdeclue on December 31, 2014


Upgrade Endian Firewall Community

by getdeclue on October 29, 2014

Follow these 5 steps to keep your Endian Firewall Community up to date:

  1. Enable SSH access on your firewall
  2. Open your favorite SSH terminal and connect to the firewall (On Windows you may use putty)
  3. If your Endian Firewall Community is older than version 2.2 please run rpm -ivh
  4. Run the efw-upgrade script and follow the instructions (your email address is your username)
  5. efw-upgrade


WSUS 3.0 SP2 Showing No Status

by getdeclue on April 24, 2014

All updates and computers are reporting no status.

This generally happens on a fresh install of WSUS. An update needs to be applied before the status reporting works correctly.


Office 2010 Unspecified Error when activating

by getdeclue on March 23, 2014

If you receive a message that an unspecified error has occurred when attempting to activate office 2010 or you receive a message that you need to be an administrator even though you are one. You may need to run a repair of the office install. After the repair process is complete, restart the computer and the activation will be successful the next time you run an office program.


This seems to happen if your computer came with Windows Live pre-installed and you join it to the domain, or if you install Internet Explorer 10 via group policy. Search for *.sqm files and delete all that you find and you should be able to log in.

If your computer had Windows Live pre-installed before being added to the domain delete this file:
C:\Users\Default\AppData\Local\Microsoft\Windows Live\SqmApi\SqmData720896_00.sqm

If you deployed IE10 delete this file:

C:\Users\Default\AppData\Local\Microsoft\Windows\Temporary Internet Files\SQM\iesqmdata_setup0.sqm