![]() This will give you an error if you run manually but will run in background. The service did not respond to the start or control request in a timely fashionĬmd /c D:\JAVA7~1\jdk1.7.0_51\bin\java.exe -jar d:\jenkins\jenkins.war In some restricted environment as I was in corporate environment If you get timeout use cmd /c D:\JAVA7~1\jdk1.7.0_51\bin\java.exe -jar d:\jenkins\jenkins.war but even with this you'll get timeout but in background java.exe will be started. Sc create serviceName binpath= "java.exe -jar D:\.\runJar.jar" Will create windows service If a program starts automatically, it provides the best service if it is always running, such as an antivirus program. ![]() ![]() I'm guessing this is why you are asking about this. If a process is required for correct operation, it will automatically start back up to avoid issues. If you disable different processes, it should not be a problem. In it's property -> shortcut -> target - > java.exe -jar D:\.\runJar.jar Is it OK to disable all startup programs As a general rule, it is safe to remove startup programs. Hello Dan, Thank you for posting in the Microsoft Community There are many startup processes that are required by Windows 10. Windows 7 C:\users\All Users\Start Menu\Programs\Startup(Admin) or User home directory(%userProfile%) It's simple as you have to put shortcut in
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |