Hi,
I am unable to restart Jenkins via the URL using
https://jenkins.domainname.com/restart
I receive the following errors in the logs:
2022-10-18 13:17:33,161 DEBUG - Starting WinSW in the CLI mode
2022-10-18 13:17:33,411 INFO - Restarting the service with id ‘jenkins’
2022-10-18 13:17:33,411 DEBUG - Completed. Exit code is 0
2022-10-18 13:17:33,536 DEBUG - Starting WinSW in the CLI mode
2022-10-18 13:17:33,692 INFO - Restarting the service with id ‘jenkins’
2022-10-18 13:17:33,708 FATAL - WMI Operation failure: AccessDenied
WMI.WmiException: AccessDenied
at WMI.WmiRoot.BaseHandler.CheckError(ManagementBaseObject result)
at WMI.WmiRoot.InstanceHandler.Invoke(Object proxy, MethodInfo method, Object arguments)
at winsw.WrapperService.g__Restart|33_5(<>c__DisplayClass33_0& )
at winsw.WrapperService.Run(String _args, ServiceDescriptor descriptor)
at winsw.WrapperService.Main(String args)
Please let me know if more detailed information is needed.
Thank You!