cebu1014
asked on
Remote Service Stop on XP Machine
All machines are XP PRO
I have this batch file to run service stop and start on the desktop of machine(called server) that runs data engine for our software. How do accomplish same thing with a networked PC that is merely a client.
@echo off
echo "Restarting Pervasive Services"
NET STOP "PERVASIVE.SQL (RELATIONAL)"
NET STOP "PERVASIVE.SQL (TRANSACTIONAL)"
NET START "PERVASIVE.SQL (RELATIONAL)"
NET START "PERVASIVE.SQL (TRANSACTIONAL)"
I have this batch file to run service stop and start on the desktop of machine(called server) that runs data engine for our software. How do accomplish same thing with a networked PC that is merely a client.
@echo off
echo "Restarting Pervasive Services"
NET STOP "PERVASIVE.SQL (RELATIONAL)"
NET STOP "PERVASIVE.SQL (TRANSACTIONAL)"
NET START "PERVASIVE.SQL (RELATIONAL)"
NET START "PERVASIVE.SQL (TRANSACTIONAL)"
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks
Info:
http://technet.microsoft.com/en-us/sysinternals/bb896649
Download:
http://download.sysinternals.com/files/PSTools.zip
Using PsExec
http://technet.microsoft.com/en-us/sysinternals/bb897553
Examples and usage:
http://www.windowsitpro.com/article/remote-computing/psexec
I hope that would help.
Sudeep