C:\\Users\\DAdmin\\AppData\\Local\\Temp\\WSUS_PostInstall_20241209T151930.log
) for more detailed information.wsusutil
command.Content
, SelfUpdate
, etc., point to correct paths.Content
, Physical Path: D:\WSUS\WSUSCONTENT
wsusutil.exe postinstall -skipIISConfig SQL_INSTANCE_NAME="ARIMGMT" CONTENT_DIR="D:\\WSUS\\WSUSCONTENT"
D:\WSUS\WSUSCONTENT
).Content
D:\WSUS\WSUSCONTENT
default.aspx
or a similar entry).D:\WSUS\WSUSCONTENT
directory has permissions set to allow NETWORK SERVICE
or the account running the WSUS application pool.bash appcmd add backup "PreWSUSFix"
bash wsusutil.exe postinstall SQL_INSTANCE_NAME="YourInstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
C:\Program Files\Update Services\LogFiles
http://localhost:8530/ClientWebService/client.asmx
appcmd add backup "PreWSUSFix"
is used to create a backup of your current IIS (Internet Information Services) configuration on your server. Here’s a breakdown of what it does and why it's useful:appcmd
: This is a command-line tool provided by IIS that allows you to manage the server settings, sites, application pools, and more through the command line.add backup
: This part of the command specifically tells IIS to create a backup of the current configuration state."PreWSUSFix"
: This is a name you assign to the backup. It can be any descriptive name that helps you recall what the backup contains. In this case, it references a state of the IIS configuration before taking any steps to fix WSUS.bash appcmd restore backup "PreWSUSFix"
bash appcmd restore backup "PreWSUSFix"
Content
, it should be: D:\WSUS\WSUSCONTENT
C:\Program Files\Update Services\SelfUpdate
Content
D:\WSUS\WSUSCONTENT
NETWORK SERVICE
and the WSUS application pool user have Read & Execute, List Folder Contents, and Read privileges on the D:\WSUS\WSUSCONTENT
folder.Default Document
settings are configured correctly for each virtual directory in IIS under:default.aspx
.http://localhost:8530/ClientWebService/client.asmx
http://localhost:8530/SelfUpdate/
WsusPool
) is running under the right identity:NetworkService
to allow WSUS to connect using the correct security context.bash wsusutil.exe postinstall SQL_INSTANCE_NAME="YourInstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
bash wsusutil.exe postinstall -skipIISConfig SQL_INSTANCE_NAME="YourInstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
C:\inetpub\logs\LogFiles
bash C:\Program Files\Update Services\WebServices\DssAuthWebService
http://localhost:8530/ApiRemoting30/
http://localhost:8530/ClientWebService/
http://localhost:8530/ServerSyncWebService/
http://localhost:8530/DssAuthWebService/
C:\Program Files\Update Services\WebServices\ApiRemoting30
bash wsusutil.exe postinstall SQL_INSTANCE_NAME="YourInstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
bash wsusutil.exe postinstall -skipIISConfig SQL_INSTANCE_NAME="YourInstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
WsusPool
as its application pool.http://localhost:8530/ApiRemoting30/
http://localhost:8530/ClientWebService/
http://localhost:8530/ServerSyncWebService/
http://localhost:8530/DssAuthWebService/
bash wsusutil.exe postinstall SQL_INSTANCE_NAME="YourInstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
bash wsusutil.exe postinstall -skipIISConfig SQL_INSTANCE_NAME="YourInstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
C:\Program Files\Update Services\LogFiles\
C:\inetpub\logs\LogFiles\W3SVC1\
postinstall
. Note down any 403, 404, or other errors that might elucidate problems.powershell Get-WebSite | Select Name, PhysicalPath
powershell Get-WebApplication -Site "WSUS Administration"
bash wsusutil.exe postinstall SQL_INSTANCE_NAME="YourInstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
bash wsusutil.exe postinstall -skipIISConfig SQL_INSTANCE_NAME="YourInstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
appcmd
, you can create backups of your current configuration, including all sites and virtual directories.bash appcmd add backup "IISConfigBackup"
PreWSUSFix
).bash appcmd list sites
bash appcmd add backup "WSUSBackup" --site.name:"WSUS Administration" appcmd add backup "HPBackup" --site.name:"HP Automatic Updates"
bash appcmd restore backup "IISConfigBackup"
NetworkService
).http://:8530/WSUSAdmin
.bash appcmd add backup "PostRestoreBackup"
bash wsusutil.exe postinstall SQL_INSTANCE_NAME="YourInstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
-skipIISConfig
option. http://:8530/WSUSAdmin
wsusutil.exe postinstall
afterward.inetmgr
in the Run dialog (Windows + R) to open IIS Manager.http
on port 8530.ClientWebService
ApiRemoting30
ServerSyncWebService
DssAuthWebService
Content
(ensure this points to D:\WSUS\WSUSCONTENT
).ClientWebService
C:\Program Files\Update Services\WebServices\ClientWebService
http://arimgmt:8530/ClientWebService/client.asmx
http://arimgmt:8530/SelfUpdate/
C:\inetpub\logs\LogFiles\W3SVC1\
bash iisreset
http://arimgmt:8530/WSUSAdmin