Run these in an administrative or SYSTEM-level command prompt.
Under 7/2008R2 and before, we can schedule for 4:00 AM tomorrow:
AT 4:00 c:\windows\system32\shutdown.exe -f -r -t 0
and we can schedule for 4:00 AM next Monday:
AT 4:00 /next:Monday c:\windows\system32\shutdown.exe -f -r -t 0
In Windows 8.1/2012R2 and later it’s a bit harder, we have to specify the actual full date in the format below:
schtasks /create /tn "schtasks_REBOOT" /tr "C:\Windows\System32\shutdown.exe -f -r -t 0" /sc once /st 04:00 /sd 01/01/2016 /ru System
8.0 and 2012R1 appear to require a “/Y” on the very end.
Quietly install a network printer – per user
rundll32 printui.dll,PrintUIEntry /q /in /n "\\machine\printer"
Quietly delete a named network printer – per user
rundll32 printui.dll,PrintUIEntry /q /dn /n "\\machine\printer"
Set default printer
rundll32 printui.dll,PrintUIEntry /y /n "\\machine\printer"
Quietly install a network printer – per machine
rundll32 printui.dll PrintUIEntry /q /ga /n "\\machine\printer"
Quietly delete a network printer – per machine
rundll32 printui.dll PrintUIEntry /q /gd /n "\\machine\printer"
Quietly delete a specific printer driver
rundll32 printui.dll,PrintUIEntry /q /dd /m "PrinterDriver"
Driving Explorer with this as address:
will get you the per-user startup folder. The public startup folder can be driven using this:
This works well:
strComputer = "."
Set objWMI = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set networkPrinters = objWMI.ExecQuery("Select * From Win32_Printer Where Network = true")
For Each networkPrinter in networkPrinters
Set networkPrinter = Nothing
Set networkPrinters = Nothing
Set objWMI = Nothing
This is a tool from QuickBooks, new to me, which can fix a lot of different Windows library and other issues, to be used sometimes when QuickBooks fails to install.
If Windows 7 won’t boot all the way, if it gives a bluescreen involving win32k.sys, it may be a bad update. Boot into startup repair and rename FNTCACHE.DAT in system32 to .OLD. That forces Windows to make a new one and boot will occur next time.
Courtesy of the excellent Matt Quick.
First try installing this package:
If that doesn’t help and you have a 64-bit OS, create this file:
containing this line for 64-bit OS:
This is a service to be found in many versions of Windows, but its in-OS documentation states that it is present for application compatibility only. And yet on at least one LAN it has been seen to be essential for printing. Research has provided no results. Anyone with input, please contact me by email!
One good standby lately is the Microsoft Malicious Software Remover:
For major infections, another is Comodo Cleaning Essentials, courtesy of the amazing Jared Dexter:
After that, Malwarebytes:
For garbageware, irritationware, and similar things, I like the following, only rarely needing the whole series: