The New Hunsinger Windows Update Clog Destructifier
article #979, updated 22 days ago

Mike Hunsinger, who has been addressing Windows Update issues with considerable success over time, recently provided for the following writeup. It is useful when:

  • Windows is running slowly or generally unreliably, needs rebooted frequently.
  • The Windows Update service spikes CPU usage over 70% when it runs.
  • When you check for new updates, it just hangs endlessly on “checking for updates”.
  • The last successful update was years ago.


  1. Clean up the system drive.
    • Before Server 2012, use Disk Cleanup (cleanmgr.exe). Be sure to check “service pack backup files” and “windows update”, if the version of Windows you are running gives these as options.
    • Server 2012 and after, use DISM (dism.exe). Run this in administrative CMD:
      dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
      If it reports “The operation could not be completed due to pending operations.”, you have just been told that a server reboot is necessary and you’ll need to do this again afterwards. After it succeeds, do this:
      dism.exe /online /Cleanup-Image /SPSuperseded
  2. Run the following as a .bat file to reset Windows Updates caches and working spaces, rereg some dll’s, It works on all versions of windows, may skip some dll’s depending on the OS version:
echo Simple Script to Reset / Clear Windows Update
attrib -h -r -s %windir%\system32\catroot2
attrib -h -r -s %windir%\system32\catroot2\*.*
net stop wuauserv
net stop CryptSvc
net stop BITS
ren %windir%\system32\catroot2 catroot2.old
ren %windir%\SoftwareDistribution sold.old
ren "%ALLUSERSPROFILE%\application data\Microsoft\Network\downloader" downloader.old
regsvr32 /s wuaueng.dll 
regsvr32 /s wuaueng1.dll 
regsvr32 /s atl.dll 
regsvr32 /s wups.dll 
regsvr32 /s wups2.dll 
regsvr32 /s wuweb.dll 
regsvr32 /s wucltui.dll 
net Start BITS
net start CryptSvc
net start wuauserv
echo Task completed successfully...
  1. Install .net 4.5.1 from here:
  2. If it says that an =/> version is already installed, run the .net repair tool from here:
  3. Download the latest version of Windows Update from here:
  4. Next update IE or Edge to the latest version using a redist, here’s the one for EI11,
  5. Open IE11 or Edge, add to trusted sites, popup blocker exceptions, privacy exceptions.
  6. Finally, try re-running Windows Update. The “Checking for Updates” may run quickly, or it may take 4-6 hours to populate results.

We have had the best results by updating in batches after this, first any critical SP’s or major Platform Updates. Then security, Office and the others as deemed necessary. Once you’ve completed a couple rounds of updates, the difference should start exhibiting itself with regards to the symptoms named.



Disable 8.3 Filename Generation
article #978, updated 25 days ago

If your software is all new, let’s say 2013 and after, it probably makes sense to disable 8.3 filename generation, for a nice kick of speed.

To do it once for all drives, just do this:

fsutil behavior set Disable8dot3 1

If you want to do it for one select drive, say E:, first do a registry edit in


you’ll want to change NtfsDisable8dot3NameCreation to 2. Then you will need to reboot, and in an administrative command prompt:

fsutil behavior set E: 1

and reboot again, and it’s done.



Turn on Previous Versions For All in Office 365 OneDrive for Business
article #976, updated 28 days ago

There is a mixture of public reference statements as to whether or not Previous Versions, also called Versioning, is enabled in OneDrive for Business, which is really a second frontend for Sharepoint. Recently a new installation was studied and there was a mix of automatic activations of Versioning for different libraries and lists made, without clear logic behind. Versioning is essential as a backup method for many related uses, so it becomes essential to know how to turn it on automatically for all libraries and lists of an entire Office 365 tenant. And right now, this appears to be the only published way, a contributed script in the Office 365 Gallery:

In order to use it, one first installs:

Then log into the Office 365 tenant as an administrator, and click Sharepoint. You’ll be looking at the page for a URL something like this:

Now run PowerShell as administrator, take the “partofmydomain” chunk of text from your browser, and form the SharePoint admin URL. Don’t browse to it, but you’ll need it shortly:

Now you’ll need the script from the web page referenced at the top of this article, saved to a location to which you can CD in PowerShell. Get to that location in the shell, and run ‘notepad versioning.ps1’, towards the end you’ll see two path lines:

Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll"  
Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Runtime.dll"

The 15’s need to be changed to 16’s to match the current version of the Sharepoint installables above. Once you have this, run:

Set-ExecutionPolicy Unrestricted

in PowerShell if you haven’t already, and then:


It will ask you for the URL; give it the one you constructed above. Then it will ask you for admin credentials. Once it has them, it will run through every list and library, and if Versioning can be turned on, it will be.



Previous Versions for documents stored in OneDrive for Business
article #975, updated 30 days ago

By default, at least sometimes, Microsoft OneDrive does not have any backup mechanism in place at all. There is a Previous Versions system however which can be turned on and off:



ADSync errors, event IDs 6127, 6126
article #974, updated 36 days ago

Here’s a great set of steps for these:

The short of it is:

  1. Bring up the Syncronization Service Manager (“Synchronization Service” in Windows search),
  2. Click on Connectors,
  3. Click on “Active Directory Domain Services”,
  4. Click Run in the right pane, choose Full Synchronization, click OK, and wait for completion to be reported (it’s fairly obvious),
  5. Click Run in the right pane, choose Full Import, click OK, and wait for completion to be reported,
  6. Click Windows Azure Active Directory,
  7. and do the same two Runs as for the other line item.



Official Repos for btsync (Resilio)
article #973, updated 38 days ago

For Debian-based and RPM:



Internal QoS on Linux for General Speed and Reliability
article #972, updated 38 days ago

Prioritizing certain kinds of data, can help a lot in general on Linux. Here’s the FireQOS configuration I just set up on this 802.11g-wireless laptop:

interface $DEVICE world-in input rate $INPUT_SPEED
interface $DEVICE world-out output rate $OUTPUT_SPEED

interface $DEVICE world-in input rate $INPUT_SPEED $LINKTYPE balanced
	class priority commit 10%
		match tcp port 22,3389,53,444  # SSH, RDP, DNS, SSL VPN
		match proto GRE
		match icmp
		match tcp syn
		match tcp ack

interface $DEVICE world-out output rate $OUTPUT_SPEED $LINKTYPE balanced
	class priority commit 10%
		match tcp port 22,3389,53,444
		match proto GRE
		match icmp
		match tcp syn
		match tcp ack



Control your Googly Data
article #971, updated 44 days ago

Google stores all of your historical Google searches, YouTube video searches and views, and lots of other interesting things. Here’s a new tool to control this.



FRS is deprecated in Server 2008R2
article #970, updated 45 days ago

Some articles:



Check TRIM for SSDs under Windows
article #969, updated 47 days ago

Here’s a tool. Run this once as administrator on the drive to check, wait 20 seconds and do it again, and if it says you’re good, you are.