Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Windows NT / Setup / May 2005

Tip: Looking for answers? Try searching our database.

Automate stop of a service in Windows 2000

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Zippity - 16 May 2005 22:24 GMT
I need to set up a back up of a database file, but can't access the file
without turning off (stopping) the service in Admin tools.  Is there a way to
automate this kind of action?  

My idea is to have a scheduled activity in which the service is turned off,
the back up is done, and the the computer is shut down every night.  The back
up is as simple as copying two files to a CDRW, but it needs to be automated
for after the department closes.

Thanks for any help!
Dave Patrick - 16 May 2005 23:13 GMT
From a command prompt;

net stop "service name"
do something
net start "service name"

Signature

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

|I need to set up a back up of a database file, but can't access the file
| without turning off (stopping) the service in Admin tools.  Is there a way to
[quoted text clipped - 6 lines]
|
| Thanks for any help!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.