Category: Windows Installer and Updates

DISM Cleans Up Server 2008R2 and Windows 7
article #1158, updated 43 days ago

DISM is great for system image repair in 2012/8.0 and later. But from 2008R2/7 there are lots of things DISM can do to clean up a system. Here’s one:

dism /online /Cleanup-Image /StartComponentCleanup

This does much cleaning up of redundant items in WinSxS. There is also:

dism /online /Cleanup-Image /StartComponentCleanup /ResetBase

but /ResetBase eliminates removal of all patches and updates etcetera, so not necessarily best to use. And we have:

dism /online /Cleanup-Image /SPSuperseded

/SPSuperseded eliminates removal of service packs only.

Categories:      

==============

The Windows Update Troubleshooter by Microsoft
article #1155, updated 134 days ago

Here it is, all current versions:

https://support.microsoft.com/en-us/help/4027322/windows-update-troubleshooter

Categories:      

==============

Faster wizard for Windows 10 major updates
article #1233, updated 135 days ago

The “Update” button on this page delivers a method faster than most:

https://www.microsoft.com/en-in/software-download/windows10

Categories:      

==============

Control Windows Update with PowerShell
article #1214, updated 167 days ago

A module called PSWindowsUpdate. Can be installed under that name using Chocolatey and also the PowerShell Gallery. A very good rundown on its use is here. PowerShell 2.0 and above.

Categories:      

==============

Windows 10 Universal C Runtime
article #1209, updated 181 days ago

This is something new to Windows 10/2016, a C runtime library different than the redistributables. It is a required additional install for some things to run on OS before 10/2016.

www.microsoft.com/en-us/download/details.aspx?id=50410

Categories:      

==============

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

Here is the only complete method known to this writer to automatically download and install all current Microsoft redists. It uses this:

https://www.powershellgallery.com/packages/VcRedist

Steps:

  1. You’ll need the PowerShell Gallery. Windows 10 and WMF 5.1 come with it.
  1. If you have 10, or once you have WMF installed, you can just run GETREDISTS.CMD (part of windows-tools ) as administrator. Alternatively, you can continue :-)
  1. VcRedist is the core, we’ll install that automatically as part of the procedure. In administrative PowerShell (the -Force takes in any new updates):
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force
Install-PackageProvider -Name NuGet -Force
Install-Module -Name NuGet -SkipPublisherCheck -Force
Import-Module -Name NuGet
Install-Module -Name VcRedist -SkipPublisherCheck -Force
Import-Module -Name VcRedist
New-Item C:\VcRedist -ItemType Directory
Get-VcList | Get-VcRedist -Path C:\VcRedist
Get-VcList | Install-VcRedist -Path C:\VcRedist

The above installs all of the redistributables which Microsoft currently supports. Reportedly, some older ones (going back to 2005 at this writing) can be had using this:

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Force
Install-PackageProvider -Name NuGet -Force
Install-Module -Name NuGet -SkipPublisherCheck -Force
Import-Module -Name NuGet
Install-Module -Name VcRedist -SkipPublisherCheck -Force
Import-Module -Name VcRedist
New-Item C:\VcRedist -ItemType Directory
Get-VcList -Export All | Get-VcRedist -Path C:\VcRedist
Get-VcList -Export All | Install-VcRedist -Path C:\VcRedist

You may wish to delete the downloadables after the procedure:

Remove-Item C:\VcRedist -Recurse -Force

Categories:      

==============

Windows Update, some settings are managed by your system administrator
article #1186, updated 254 days ago

If Windows Updates says it’s controlled by system administration and not you, check all three of these:

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\WindowsUpdate
HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\WindowsUpdate 
HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer

You’ll probably see a DWORD preventing access. Delete it and try again.

Categories:      

==============

Download Windows Install Media from Microsoft
article #1180, updated 260 days ago

No keys of course, but ISO media indeed, and very helpful for DISM and other fixes:

https://support.microsoft.com/en-us/help/15088/windows-create-installation-media

Categories:      

==============

ESET Uninstaller / Remover Tool
article #1133, updated 383 days ago

If the Windows Installer method doesn’t work, ESET has a tool. It does have to be run with the OS in safe mode:

https://support.eset.com/kb2289/?locale=en_US&viewlocale=en_US

Categories:      

==============

Install .NET 3.5 with WSUS
article #1125, updated 435 days ago

Another from Matt the Quick:

By default, WSUS does not have .NET 3.5 available to install. This creates issues when .NET 3.5 is needed after a machine has joined the domain. Below is the workaround steps to install .NET 3.5 using the operating system ISO and not Windows Update or WSUS.

  • Mount the ISO of the operating system. The Server 2016 ISO is known to work for this.
  • Open an Administrative Command Prompt and run the following command:

    dism /online /enable-feature /featurename:netfx3 /all /source:D:\sources\sxs /limitaccess

    NOTE: The Source flag will have to be changed to reflect the Sources\sxs folder on your installation media. This is likely going to be the D drive (as in the example above), but it’s possible your results may differ slightly.
  • Reboot machine.

Categories: