How to fix "[SC] StartService FAILED 1053: The service did not respond to the start or control request in a timely fashion" when installing Artifactory as a service on windows

AuthorFullName__c
Loren Yeung
articleNumber
000004222
ft:sourceType
Salesforce
FirstPublishedDate
2019-07-08T22:44:39Z
lastModifiedDate
2023-01-22T11:05:50Z
VersionNumber
3