Category: Windows OS-Level Issues

NSSM - Create Services from Executables in Windows
article #1065, updated 8 days ago

Best I’ve found so far:

Categories:   Windows OS-Level Issues   Tools


Install All Microsoft Redistributable VC++ Runtimes
article #643, updated 9 days ago

Below-linked is a tool which will automatically install all of the redistributable Microsoft Visual C++ runtime DLLs, all versions, 2005 to present:

This is a great way to handle many missing DLLs. Below is another tool, a PowerShell script, newer-fangled engineering with additional capabilities, definitely better for enterprise use, and quite a lot faster:

Once you have all of the files for the latter, the best command to do the fully automatic install is probably this:

.\Install-VisualCRedistributables.ps1 -xml VisualCRedistributablesSupported.xml -install

It may be helpful to do this first:

Unblock-File .\Install-VisualCRedistributables.ps1

Categories:   Windows OS-Level Issues   Windows Installer and Updates


Set NIC to full DHCP via netsh
article #1057, updated 36 days ago

To set a Windows NIC to full DHCP via netsh, do this, replacing “Local Area Connection” to the name of the NIC if it’s not the same:

netsh interface ip set address "Local Area Connection" dhcp
netsh interface ip set dns "Local Area Connection" dhcp
netsh interface ip set wins "Local Area Connection" dhcp

Sometimes, if WINS is set static, you have to do this before WINS can be set DHCP:

netsh interface ip set wins "Local Area Connection" static none

Categories:   Networking Ports & Protocols   Windows OS-Level Issues


Windows Diagnostic Telemetry eating up CPU or hard drive bandwidth
article #1051, updated 48 days ago

Another from the excellent Mike Hunsinger. Windows Diagnostic Telemetry can max out certain resources. It is not necessary. To disable it, run PowerShell as administrator and then:

stop-service diagtrack
set-service diagtrack -startuptype disabled

This service appears to be hidden in Windows 10. It is visible in 8.1 and 7 as “Diagnostic Tracking Service”. More info is here:

There are three more visible in 10, “Diagnostic Policy Service”, “Diagnostic Service Host”, and “Diagnostic System Host”. The specific roles of all four of these services are not yet clear.

Categories:   Windows OS-Level Issues   


Upgrading Windows 10 Versions
article #1036, updated 126 days ago

When going to version 1607 of 10, it is reportedly supposed to be automatic:

but can be done by ISO:

Categories:   Windows OS-Level Issues   Windows Installer and Updates


The System Update Readiness Tool for Windows 7 for x64-based Systems
article #1034, updated 127 days ago

A 539-megabyte monster! Appears to be designed to solve lots of problems.

Categories:   Windows Installer and Updates   Windows OS-Level Issues


Record all audio in Windows regardless of "Stereo Mix"
article #1032, updated 138 days ago

In Windows, some audio drivers provide something called “Stereo Mix” and some don’t; this is what is usually recommended if you want to record everything audio happening at once in Windows. But increasingly this doesn’t exist. There are software replacements which do the job:

Categories:   Audio-Video   Windows OS-Level Issues


Enable CLEANMGR.EXE on Server 2008R1/2 and 2012
article #1006, updated 147 days ago

Very useful procedure, does not need a role/feature install. Slightly different on each. Note the locale suffix which will have to be changed. Does not work on 2012R2, from that point we have to enable the desktop experience, which can be done in Powershell using Install-WindowsFeature Desktop-Experience.

Server 2012R1:

copy C:\Windows\WinSxS\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.2.9200.16384_none_c60dddc5e750072a\cleanmgr.exe %systemroot%\System32
copy C:\Windows\WinSxS\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.2.9200.16384_en-us_b6a01752226afbb3\cleanmgr.exe.mui %systemroot%\System32\en-US

Server 2008R2:

copy C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7da\cleanmgr.exe %systemroot%\System32
copy C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63\cleanmgr.exe.mui %systemroot%\System32\en-US

Server 2008 64-bit:

copy C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.0.6001.18000_none_c962d1e515e94269\cleanmgr.exe %systemroot%\System32
copy C:\Windows\winsxs\amd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.0.6001.18000_en-us_b9f50b71510436f2\cleanmgr.exe.mui %systemroot%\System32\en-US

Server 2008 32-bit:

copy C:\Windows\winsxs\x86_microsoft-windows-cleanmgr_31bf3856ad364e35_6.0.6001.18000_none_6d4436615d8bd133\cleanmgr.exe %systemroot%\System32
copy C:\Windows\winsxs\x86_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.0.6001.18000_en-us_5dd66fed98a6c5bc\cleanmgr.exe.mui %systemroot%\System32\en-US

Categories:   Windows OS-Level Issues   Cleanup


Bluescreen at boot with win32k.sys error
article #1022, updated 160 days ago

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.

Categories:   Windows OS-Level Issues   


Remote Procedure Call Locator (RPC Locator) Service
article #1020, updated 165 days ago

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!

Categories:   Windows OS-Level Issues