I have a Windows Server 2012 R2 box that I am trying to install WSUS on but during post deployment it is failing with the following error:
2017-08-31 14:44:09 CreateDefaultSubscription failed.
Exception: System.Web.Services.Protocols.SoapException:
System.Web.Services.Protocols.SoapException: Server was unable to process request.
---> System.TypeInitializationException: The type initializer for
'Microsoft.UpdateServices.Internal.ApiRemoting' threw an exception. --->
System.UnauthorizedAccessException: Access to the path 'Update Services' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory
(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)
at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
at System.IO.Directory.CreateDirectory(String path) at
Microsoft.UpdateServices.Log.GetUsableLogFileName
(String fileName, LogFileLocation& actualLogLocation) at
Microsoft.UpdateServices.Log.InitializeFromConfig() at
Microsoft.UpdateServices.Log.InitializeIfNeeded() at
Microsoft.UpdateServices.Internal.ApiRemoting..cctor()
--- End of inner exception stack trace --- at
Microsoft.UpdateServices.Internal.ApiRemoting..ctor()
--- End of inner exception stack trace --- at
Microsoft.UpdateServices.Internal.BaseApi.SoapExceptionProcessor.DeserializeAndThrow
(SoapException soapException) at
Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccessProxy.GetServerVersion()
at Microsoft.UpdateServices.Internal.BaseApi.UpdateServer.CreateUpdateServer
(String serverName, Boolean useSecureConnection, Int32 portNumber)
at Microsoft.UpdateServices.Internal.BaseApi.UpdateServer..ctor(Boolean bypassApiRemoting)
at Microsoft.UpdateServices.Setup.StartServer.StartServer.CreateDefaultSubscription()
2017-08-31 14:44:09 StartServer encountered errors.
Exception=System.Web.Services.Protocols.SoapException: Server was unable to process request.
---> System.TypeInitializationException: The type initializer for
'Microsoft.UpdateServices.Internal.ApiRemoting' threw an exception. --->
System.UnauthorizedAccessException: Access to the path 'Update Services' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at
System.IO.Directory.InternalCreateDirectory(String fullPath, String path,
Object dirSecurityObj, Boolean checkHost) at
System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)
at System.IO.Directory.CreateDirectory(String path) at
Microsoft.UpdateServices.Log.GetUsableLogFileName
(String fileName, LogFileLocation& actualLogLocation)
at Microsoft.UpdateServices.Log.InitializeFromConfig()
at Microsoft.UpdateServices.Log.InitializeIfNeeded()
at Microsoft.UpdateServices.Internal.ApiRemoting..cctor()
--- End of inner exception stack trace --- at
Microsoft.UpdateServices.Internal.ApiRemoting..ctor()
--- End of inner exception stack trace ---2017-08-31 14:44:09
Microsoft.UpdateServices.Administration.CommandException:
Failed to start and configure the WSUS service at
Microsoft.UpdateServices.Administration.PostInstall.Run() at
Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)
We have installed all the latest windows updates on this server and tried to rerun post deployment and it still fails with the same error.
We have other servers with WSUS running perfectly fine so I compared the permissions on the actual folder 'Update Services' under C:\Program Files\Update Services against a SBS server and made sure they are the same, issue still occurs.
Could someone please assist regarding this on what we can check further to get this working on this machine.
I.T. Construct admin@itconstruct.com.au http://itconstruct.com.au