System File Checker

Sometimes files get corrupted

System File checker needs an CMD (Administrator) prompt to run

sfc /scannow

When running outside of windows in a recovery or system restore environment (WinPE) the location of the windows folder must be specified.

Just remember to check the drive letters!

sfc /scannow /offbootdir=C:\ /offwindir=C:\windows

Create a List of installed Software

This time using powershell a list of software can be output to OUT-GridView

Particularly useful to just check remotely or silently using a remote command line. Several ways to output this

1.To WMI Gridview

Get-WmiObject -Class Win32_Product | Select-Object -Property Name, Vendor, InstallDate, Language, Version | Out-GridView

2. To the Screen

Get-WmiObject -Class Win32_Product | Select-Object -Property Name, Vendor, InstallDate, Language, Version

3. To a Text file

Get-WmiObject -Class Win32_Product | Select-Object -Property Name, Vendor, InstallDate, Language, Version 
| Out-File result.txt

Settings from the run command

Windows Settings

Windows 8.1 through to Windows 10 configuration settings can be tricky to find

WIndows 10 has opted to discontinue the use of the control panel in favour of the settings screen.

Sometimes options are deep in the menu structure, however most are searchable.

It can be handy to know some important run commands for certain settings

Here are some useful run commands that are easy to remember and important for basic OS configuration. There are more, but these for me are the most useful.

You can of course search using Cortana and most settings options will show.

Date and Time








WIndows Update






Resetting Windows Update using CMD


Windows update now does cumulative updates, updating the OS only requires the latest download. This massively saves on download bandwidth for machines not connected to a WSUS server.

However when using RMM software sometimes the patch handling does not synchronise correctly, or asks for approval of older updates.

The Software Distribution folder is always best left alone, however under exceptional circumstances, it can be deleted or renamed. Files will automatically get downloaded for WU components. However you will loose windows update historyalthough now that updates are cumulative, all previous patches are included anyway!

Resetting Windows Update

Here is a quick and easy solution

  1. Run an eleveted cmd prompt
  2. Stop the windows update service
    net stop wuauserv
  3. Rename the Software Distribution folder
    rename c:\windows\SoftwareDistribution SoftwareDistributionOLD
  4. Start the windows update service
    net start wuauserv
  5. Force a check and update – Note this only works if auto updates are enabled
    wuauclt.exe /detectnow /updatenow


More info on the wuauclt command can be found: