Skip to main content

Less intense resetting of the Windows Update client

  • August 26, 2019
  • 0 replies
  • 79 views

JasonG-Automox

The Invoke-TroubleshootingPack cmdlet runs a troubleshooting pack in either interactive or unattended mode. A troubleshooting pack determines the root causes of issues, resolves the issues, and verifies that the issues were resolved.

Eval

If (Test-Path "$env:allusersprofile\SoftwareDistribution")
{
Exit 0

}
Else {
Exit 1
}

Remediatrion

#Stripped down very low level reset of windows update components
Get-TroubleshootingPack -Path $env:systemroot\diagnostics\system\WindowsUpdate | Invoke-TroubleshootingPack -Unattended
This topic has been closed for replies.