Hi All,
i had issue with synchronization of SCCM SUP with WSUS. after doing all troubleshooting steps nothing has worked. Hence uninstalled the SUP and WSUS. when i did the reinstallation of WSUS below two issue has been observed.
Tools folder not found in c:\programsfile\update service
Post installation fails
any help on resolving this issue would be highly appreciated.
Server OS - windows 2019
SCCM Version - 2107
error in WSUS post installation log file -
2021-09-17 07:33:48 Postinstall started
2021-09-17 07:33:48 Detected role services: UI, WidDatabase, Services
2021-09-17 07:33:48 Start: LoadSettingsFromParameters
2021-09-17 07:33:48 Content local is: True
2021-09-17 07:33:48 Content directory is: H:\WSUS
2021-09-17 07:33:48 SQL instname is:
2021-09-17 07:33:48 End: LoadSettingsFromParameters
2021-09-17 07:33:48 Start: Run
2021-09-17 07:33:48 Fetching WsusAdministratorsSid from registry store
2021-09-17 07:33:48 Value is S-1-5-21-986062108-440580148-1005803637-1001
2021-09-17 07:33:48 Fetching WsusReportersSid from registry store
2021-09-17 07:33:48 Value is S-1-5-21-986062108-440580148-1005803637-1002
2021-09-17 07:33:48 Configuring content directory...
2021-09-17 07:33:48 Configuring groups...
2021-09-17 07:33:48 Starting group configuration for WSUS Administrators...
2021-09-17 07:33:48 Found group in regsitry, attempting to use it...
2021-09-17 07:33:51 Writing group to registry...
2021-09-17 07:33:51 Finished group creation
2021-09-17 07:33:51 Starting group configuration for WSUS Reporters...
2021-09-17 07:33:51 Found group in regsitry, attempting to use it...
2021-09-17 07:33:51 Writing group to registry...
2021-09-17 07:33:51 Finished group creation
2021-09-17 07:33:51 Configuring permissions...
2021-09-17 07:33:51 Fetching content directory...
2021-09-17 07:33:51 Fetching ContentDir from registry store
2021-09-17 07:33:51 Value is H:\WSUS
2021-09-17 07:33:51 Fetching group SIDs...
2021-09-17 07:33:51 Fetching WsusAdministratorsSid from registry store
2021-09-17 07:33:51 Value is S-1-5-21-986062108-440580148-1005803637-1001
2021-09-17 07:33:51 Fetching WsusReportersSid from registry store
2021-09-17 07:33:51 Value is S-1-5-21-986062108-440580148-1005803637-1002
2021-09-17 07:33:51 Creating group principals...
2021-09-17 07:33:51 Granting directory permissions...
2021-09-17 07:33:51 Granting permissions on content directory...
2021-09-17 07:33:51 Granting registry permissions...
2021-09-17 07:33:51 System.UnauthorizedAccessException: Attempted to perform an unauthorized operation.
at System.Security.AccessControl.Win32.GetSecurityInfo(ResourceType resourceType, String name, SafeHandle handle, AccessControlSections accessControlSections, RawSecurityDescriptor& resultSd)
at System.Security.AccessControl.NativeObjectSecurity.CreateInternal(ResourceType resourceType, Boolean isContainer, String name, SafeHandle handle, AccessControlSections includeSections, Boolean createByName, ExceptionFromErrorCode exceptionFromErrorCode, Object exceptionContext)
at System.Security.AccessControl.NativeObjectSecurity..ctor(Boolean isContainer, ResourceType resourceType, SafeHandle handle, AccessControlSections includeSections, ExceptionFromErrorCode exceptionFromErrorCode, Object exceptionContext)
at System.Security.AccessControl.RegistrySecurity..ctor(SafeRegistryHandle hKey, String name, AccessControlSections includeSections)
at Microsoft.Win32.RegistryKey.GetAccessControl(AccessControlSections includeSections)
at Microsoft.UpdateServices.Administration.ConfigurePermissions.GrantRegistryPermissions(IdentityReference identity, RegistryRights registryRights)
at Microsoft.UpdateServices.Administration.ConfigurePermissions.GrantRegistryPermissions()
at Microsoft.UpdateServices.Administration.PostInstall.Run()
at Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)