in reply to Need to stop and start a service in a windows server using admin rights..
Can you please stop posting questions in the tutorials section? At least read Where should I post X?, a link to this is displayed each time you post. Either package your script (which you don't show) using pp, or consider doing more research into how to achieve this using the operating systems in question. I need to write a script which should start and stop a service in a windows server seems like a similar question, in lack of detail and effort shown.