Skip to content

Instantly share code, notes, and snippets.

@AdilHindistan
Last active August 29, 2015 14:01
Show Gist options
  • Save AdilHindistan/6b48b92cee8794529584 to your computer and use it in GitHub Desktop.
Save AdilHindistan/6b48b92cee8794529584 to your computer and use it in GitHub Desktop.
##AH - AdilHindistan - 05/19/2014
ISSUE #1:
SERVER
Cannot Access WSUS Node in mmc:
Causes:
1) Network Services lose access to WSUS Content directory
* Fix by restoring permissions
2) MMC cache is corrupted
del C:\Users\%username%\AppData\Roaming\Microsoft\MMC\*.* /q
3) Private Memory is not enough on AppPool(?)
Event ID: 7053
NullReferenceException -- Object reference not set to an instance of an object.
Other events:
WsusPool have 5-6 recycle requests in eventviewer and then stops due to multiple errors.
Remove Private Memory recycle on WsusPool
Remove Private Memory Limit by setting it to 0
Application Pools > WsusPool > Private Memory Limit (KB) & recycle pool
Why is this stopping WsusPool?
Setting: Application Pools > WsusPool > Rapid-Fail Protection > Failure Interval (mins)=5 && Maximum Failures =5
## http://stackoverflow.com/questions/11187304/how-to-set-iis-applicationpool-private-memory-limit-value-using-powershell
import-module webadministration
$applicationPoolsPath = "/system.applicationHost/applicationPools"
$applicationPools = Get-WebConfiguration $applicationPoolsPath
foreach ($appPool in $applicationPools.Collection)
{
$appPoolPath = "$applicationPoolsPath/add[@name='$($appPool.Name)']"
Get-WebConfiguration "$appPoolPath/recycling/periodicRestart/@privateMemory"
# Set-WebConfiguration "$appPoolPath/recycling/periodicRestart/@privateMemory" -Value 1000
}
----- *** -----
ISSUE #2
Client
Computer does not report to WSUS console
wuauclt /detectnow -> Can not perform non-interactive scan if AU is interactive-only (in Windows\Windowsupdate.log)
Reason: A GPO had incorrect settings causing the issue:
Computer Configuration > Administrative Templates > Windows Components > Windows Update > Configure Automatic Updates = Disabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment