0x80070003
("The system cannot find the path specified") suggests that WSUS is having trouble with IIS during the website creation process. This could happen if there’s a missing or broken IIS configuration, incorrect bindings, or a corrupted WSUS virtual directory setup.bash Install-WindowsFeature -Name Web-Server, Web-Common-Http, Web-Dyn-Compression, Web-Basic-Auth, Web-Windows-Auth, Web-Mgmt-Console
bash iisreset
inetmgr
to open the IIS console.bash wsusutil.exe postinstall SQL_INSTANCE_NAME="InstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
WSUS Administration
D:\WSUS\WSUSCONTENT
http
All Unassigned
8530
Content
D:\WSUS\WSUSCONTENT
SelfUpdate
> Path: C:\Program Files\Update Services\SelfUpdate
ApiRemoting30
, ClientWebService
, ServerSyncWebService
, DssAuthWebService
> Path: C:\Program Files\Update Services\WebServices\
bash iisreset
wsusutil.exe postinstall
command.WSUSSetup.log
after the above steps. Look for any additional errors related to missing paths or permissions.NETWORK SERVICE
and the WSUS server account have sufficient access to:D:\WSUS\WSUSCONTENT
).C:\Program Files\Update Services
).Content
, ApiRemoting30
, SelfUpdate
, ClientWebService
)? Are the CCM and SMS folders visible as well?http
on 8530https
on 8531 (if SSL is enabled).http
; Port: 8530.https
; Port: 8531 (if appropriate).bash iisreset
0x80070003
("System cannot find the path specified") might occur in IIS if:Content
> D:\WSUS\WSUSCONTENT
SelfUpdate
> C:\Program Files\Update Services\SelfUpdate
Content
or SelfUpdate
).bash wsusutil.exe postinstall SQL_INSTANCE_NAME="YourSQLInstance" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
bash iisreset /noforce
Logs
) for any WSUS-related issues.bash appcmd add backup "PreWSUSFix"
bash appcmd restore backup "PreWSUSFix"
certlm.msc
):https
binding (port 8531) > Choose the new certificate.bash iisreset
https://:8531/ClientWebService/client.asmx
Content
, SelfUpdate
).Content
or SelfUpdate
) under WSUS Administration.D:\WSUS\WSUSCONTENT
should serve static content, so Directory Browsing may need to be enabled temporarily.postinstall
Safelybash wsusutil.exe postinstall SQL_INSTANCE_NAME="InstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
-skipIISConfig
:bash wsusutil.exe postinstall SQL_INSTANCE_NAME="InstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT" -skipIISConfig
postinstall
, grab the logs for analysis: C:\Program Files\Update Services\LogFiles\WSUSSetup.log
System.Runtime.InteropServices.COMException
). C:\inetpub\logs\LogFiles\W3SVC1
postinstall
.WSUSSetup.log
or describe persistent issues! We’ll get this resolved without causing chaos in your SCCM setup. System.DirectoryServices.DirectoryEntry
error often occurs because WSUS or IIS cannot find a critical configuration during the website setup phase.postinstall
, so we can revisit this after resolving the current issue.http
on port 8530https
on port **8531` (if HTTPS enabled)regedit
).HKLM\SOFTWARE\Microsoft\Update Services\Server\Setup
ContentDir
: Should match the CONTENT_DIR
path you provided (e.g., D:\WSUS\WSUSCONTENT
).WebSite
:1
: Custom WSUS website (port 8530).0
: Default website.ContentDir
or WebSite
are missing/corrupt:text D:\WSUS\WSUSCONTENT
text 1
NetworkService
.bash iisreset /noforce
bash wsusutil.exe deletecontent wsusutil.exe reset
postinstall
to recreate the IIS configuration: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"
WSUSSetup.log
: C:\Program Files\Update Services\LogFiles\WSUSSetup.log
Change.log
: C:\Program Files\Update Services\LogFiles\Change.log
C:\inetpub\logs\LogFiles
ContentDir
, SelfUpdate
).WebSite
Registry KeyWebSite
registry key is critical for WSUS because it tells the postinstall process whether to use WSUS’s custom site (port 8530) or bind to the default IIS website (port 80). Since it's missing, WSUS cannot complete its IIS configuration. Let’s add it.WebSite
Registry Key (DWORD): HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Update Services\Server\Setup
DWORD (32-bit Value)
:WebSite
bash iisreset
wsusutil postinstall
command again:bash wsusutil.exe postinstall SQL_INSTANCE_NAME="InstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
SMS
and CCM
.postinstall
fails, we'll escalate with manual fixes for specific virtual directories without deleting.bash dism /online /cleanup-image /restorehealth
0x800f081f
or missing source files), mount the Windows Server 2022 ISO and specify the source:bash dism /online /cleanup-image /restorehealth /source:WIM:\Sources\install.wim:1 /limitaccess
with the ISO's mounted drive letter.bash sfc /scannow
postinstall
.WSUSSetup.log
, let’s re-confirm the context of relevant failures in:System.Runtime.InteropServices.COMException (0x80070003): The system cannot find the path specified.
WebSite
Key:ContentDir
registry key (ensure exact match with D:\WSUS\WSUSCONTENT
).WebSite
Key:WebSite=1
in the registry.postinstall
command:bash wsusutil.exe postinstall SQL_INSTANCE_NAME="InstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
-skipIISConfig
(this skips configuring the IIS website altogether):bash wsusutil.exe postinstall -skipIISConfig SQL_INSTANCE_NAME="InstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
WSUSSetup.log
C:\inetpub\logs\LogFiles\W3SVC1
WebSite
as a DWORD or String?WebSite
in the registry should be created as a DWORD (32-bit Value)
, not a string. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Update Services\Server\Setup
1
.WebSite
and ContentDir
) and IIS settings without deleting anything.postinstall
still struggles specifically in IIS, try running:bash wsusutil.exe postinstall -skipIISConfig SQL_INSTANCE_NAME="InstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
dism /online /cleanup-image /restorehealth
dism /online /cleanup-image /restorehealth /source:WIM:\Sources\install.wim:1 /limitaccess
with the path where your Windows Server 2022 ISO is mounted.sfc /scannow
wsusutil postinstall
After Fixing RegistryWebSite=1
) and DISM repairs are done:bash wsusutil.exe postinstall SQL_INSTANCE_NAME="InstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
bash wsusutil.exe postinstall -skipIISConfig SQL_INSTANCE_NAME="InstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
WSUSSetup.log
?postinstall
keeps failing, look for:WebSite
as a DWORD and retry.wsusutil
with and without -skipIISConfig
.bash sfc /scannow
bash iisreset
bash wsusutil.exe postinstall SQL_INSTANCE_NAME="YourInstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
D:
).D:\
, use this command to run DISM:bash dism /online /cleanup-image /restorehealth /source:wim:D:\sources\install.wim:1 /limitaccess
install.wim
is present in the \sources
directory. C:\Windows\Logs\CBS\cbs.log
sfc /scannow
bash D:\setup.exe
bash certutil -hashfile SHA1
bash dism /online /cleanup-image /restorehealth /source:wim:D:\sources\install.wim:1 /limitaccess
1
isn’t valid:bash dism /Get-WimInfo /WimFile:D:\sources\install.wim
bash D:\setup.exe