Tilted Forum Project Discussion Community  

Go Back   Tilted Forum Project Discussion Community > Interests > Tilted Technology


 
 
LinkBack Thread Tools
Old 06-26-2006, 06:41 AM   #1 (permalink)
Muffled
 
Kadath's Avatar
 
Location: Camazotz
Scripting a service to stop and start

I searched this forum and the programming forum, but couldn't find this -- apologies if a repeat, etc.

I need to script the shutdown and startup of two services in Windows Server 2K3 as part of a backup procedure. I'm looking through the MSKB right now, but it's hard to find exactly what you're looking for there unless you have an error code. The procedure will be as follows:

Shut down Service A.
Shut down Service B.
Backup a directory.
Start Service B.
Start Service A.
__________________
it's quiet in here
Kadath is offline  
Old 06-26-2006, 07:51 AM   #2 (permalink)
Devils Cabana Boy
 
Dilbert1234567's Avatar
 
Location: Central Coast CA
net stop service a
net stop service b
xcopy blah blah blah
net start service b
net start service a
__________________
Donate Blood!

"Love is not finding the perfect person, but learning to see an imperfect person perfectly." -Sam Keen
Dilbert1234567 is offline  
Old 06-26-2006, 03:12 PM   #3 (permalink)
Muffled
 
Kadath's Avatar
 
Location: Camazotz
TFP needs an embarrassed smiley. Thanks. I'll go back in the corner now.
__________________
it's quiet in here
Kadath is offline  
Old 06-26-2006, 03:25 PM   #4 (permalink)
Devils Cabana Boy
 
Dilbert1234567's Avatar
 
Location: Central Coast CA
lol, nah its ok, we all forget the basics some time.
__________________
Donate Blood!

"Love is not finding the perfect person, but learning to see an imperfect person perfectly." -Sam Keen
Dilbert1234567 is offline  
 

Tags
scripting, service, start, stop

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 01:30 PM.

Tilted Forum Project

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73