Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Need to stop and start a service in a windows server using admin rights..

by kalyanbhave (Initiate)
on Sep 25, 2012 at 14:19 UTC ( #995561=perlquestion: print w/ replies, xml ) Need Help??
kalyanbhave has asked for the wisdom of the Perl Monks concerning the following question:

Need to stop and start a service script in a windows server using admin rights manually.. I tried downloading Win32::Service module for my script but i am not able to run the .pl files in m machine Can you please help me to create the same

--

Comment on Need to stop and start a service in a windows server using admin rights..
Download Code
Re: Need to stop and start a service in a windows server using admin rights..
by marto (Chancellor) on Sep 25, 2012 at 14:27 UTC
Re: Need to stop and start a service in a windows server using admin rights..
by BrowserUk (Pope) on Sep 25, 2012 at 15:17 UTC

    Use:

    system q[net start "your service name"]; system q[net stop "your servoce name"]

    Type net help start and net help stop at a command line for details.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    RIP Neil Armstrong

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://995561]
Approved by toolic
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2014-07-29 17:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (225 votes), past polls