I am using Windows 7 Professional, when I tried to type net stop <service name>
in the command prompt, it is showing
System Error 5 occurred
I know that I need to enable Run as administrator
mode but if I want to put net stop/start <service name>
in batch file so that it don't require user to right-click on that batch file and Run as administrator everytime, is there a way to solve this problem.
Note that the end-user's ID already has administrators
rights.
Thanks.