Hello, and thanks for help. To clarify, I am running Server 2012 R2, and have installed AD DS (as the DC), DNS, IIS, WDS, and WSUS. I am trying to use this system to image LAN computers with MDT, so have WSUS running is integral to my project.
During an attempt to completely remove WSUS and start over (55k+ updates is too many!), I completely removed with %windir%\WID directory. Now, no matter how many times I uninstall and reinstall WSUS, the post-setup tasks fail with this message:
System.InvalidOperationException: Cannot start service MSSQL$MICROSOFT##WID on computer '.'. ---> System.ComponentModel.Win32Exception: The dependency service or group failed to start
I have tried to use powershell to force remove WID, but it never works - just gives met a popup about how to use the feature uninstall app.
I really don't want to have to wipe this system and start over, so any help is appreciated. My full WSUS Post-Install log is below:
2015-07-28 23:51:54 Postinstall started 2015-07-28 23:51:54 Detected role services: Api, UI, WidDatabase, Services 2015-07-28 23:51:54 Start: LoadSettingsFromParameters 2015-07-28 23:51:54 Content local is: True 2015-07-28 23:51:54 Content directory is: D:\WSUS 2015-07-28 23:51:54 SQL instname is: 2015-07-28 23:51:54 End: LoadSettingsFromParameters 2015-07-28 23:51:54 Start: Run 2015-07-28 23:51:54 Fetching WsusAdministratorsSid from registry store 2015-07-28 23:51:54 Value is S-1-5-21-903700800-3090126150-224864971-1002 2015-07-28 23:51:54 Fetching WsusReportersSid from registry store 2015-07-28 23:51:54 Value is S-1-5-21-903700800-3090126150-224864971-1003 2015-07-28 23:52:54 Configuring content directory... 2015-07-28 23:52:54 Configuring groups... 2015-07-28 23:52:54 Starting group configuration for WSUS Administrators... 2015-07-28 23:52:54 Found group in regsitry, attempting to use it... 2015-07-28 23:52:54 Searching for existing group... 2015-07-28 23:52:54 Existing group was found 2015-07-28 23:52:54 Writing group to registry... 2015-07-28 23:52:54 Finished group creation 2015-07-28 23:52:54 Starting group configuration for WSUS Reporters... 2015-07-28 23:52:54 Found group in regsitry, attempting to use it... 2015-07-28 23:52:54 Searching for existing group... 2015-07-28 23:52:54 Existing group was found 2015-07-28 23:52:54 Writing group to registry... 2015-07-28 23:52:54 Finished group creation 2015-07-28 23:52:54 Configuring permissions... 2015-07-28 23:52:54 Fetching content directory... 2015-07-28 23:52:54 Fetching ContentDir from registry store 2015-07-28 23:52:54 Value is D:\WSUS 2015-07-28 23:52:54 Fetching group SIDs... 2015-07-28 23:52:54 Fetching WsusAdministratorsSid from registry store 2015-07-28 23:52:54 Value is S-1-5-21-903700800-3090126150-224864971-1002 2015-07-28 23:52:54 Fetching WsusReportersSid from registry store 2015-07-28 23:52:54 Value is S-1-5-21-903700800-3090126150-224864971-1003 2015-07-28 23:52:54 Creating group principals... 2015-07-28 23:52:54 Granting directory permissions... 2015-07-28 23:52:54 Granting permissions on content directory... 2015-07-28 23:52:54 Granting registry permissions... 2015-07-28 23:52:54 Granting registry permissions... 2015-07-28 23:52:54 Granting registry permissions... 2015-07-28 23:52:54 Configuring shares... 2015-07-28 23:52:54 Configuring network shares... 2015-07-28 23:52:54 Fetching content directory... 2015-07-28 23:52:54 Fetching ContentDir from registry store 2015-07-28 23:52:54 Value is D:\WSUS 2015-07-28 23:52:54 Fetching WSUS admin SID... 2015-07-28 23:52:54 Fetching WsusAdministratorsSid from registry store 2015-07-28 23:52:54 Value is S-1-5-21-903700800-3090126150-224864971-1002 2015-07-28 23:52:54 Content directory is local, creating content shares... 2015-07-28 23:52:55 Creating share "UpdateServicesPackages" with path "D:\WSUS\UpdateServicesPackages" and description "A network share to be used by client systems for collecting all software packages (usually applications) published on this WSUS system." 2015-07-28 23:52:55 Deleting existing share... 2015-07-28 23:52:55 Creating share... 2015-07-28 23:52:55 Share successfully created 2015-07-28 23:52:55 Creating share "WsusContent" with path "D:\WSUS\WsusContent" and description "A network share to be used by Local Publishing to place published content on this WSUS system." 2015-07-28 23:52:55 Deleting existing share... 2015-07-28 23:52:55 Creating share... 2015-07-28 23:52:55 Share successfully created 2015-07-28 23:52:55 Creating share "WSUSTemp" with path "C:\Program Files\Update Services\LogFiles\WSUSTemp" and description "A network share used by Local Publishing from a Remote WSUS Console Instance." 2015-07-28 23:52:55 Deleting existing share... 2015-07-28 23:52:55 Creating share... 2015-07-28 23:52:55 Share successfully created 2015-07-28 23:52:55 Finished creating content shares 2015-07-28 23:52:55 Stopping service WSUSService 2015-07-28 23:52:55 Stopping service W3SVC 2015-07-28 23:52:55 Configuring WID database... 2015-07-28 23:52:55 Configuring the database... 2015-07-28 23:52:56 System.InvalidOperationException: Cannot start service MSSQL$MICROSOFT##WID on computer '.'. ---> System.ComponentModel.Win32Exception: The dependency service or group failed to start --- End of inner exception stack trace --- at System.ServiceProcess.ServiceController.Start(String[] args) at Microsoft.UpdateServices.Administration.ConfigureDB.Configure() at Microsoft.UpdateServices.Administration.PostInstall.Run() at Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)