Reputation: 3407
I know that I can either use
sc start Tomcat6
or
net start Tomcat6
to start the tomcat service, however I get an error "Access is denied". How can I achieve restarting the tomcat service via command prompt and overcoming the error? Thanks
Upvotes: 0
Views: 2707
Reputation: 6734
If you are on Windows Server 2008 or above (R2), you need to run your command prompt as administrator. Create a desktop shortcut to "cmd" or c:\windows\system32\cmd.exe. Then right-click the shortcut and "run as administrator".
Upvotes: 1