Thread: Daily Update.
View Single Post
Unread 09-03-2003, 03:20 PM   #262
Joe
The Pro/Life Support System
 
Joe's Avatar
 
Join Date: Dec 1999
Location: Denver, CO
Posts: 4,041
Default

Quote:
Originally posted by Cova
Joe - post that script up or PM or e-mail it to me and I'll see if I can't get a few million folds extra for the team. I admin a whole pile of development servers where I work that just sit idle on weekends and non-work hours.
Well unfortunately I am using much stuff thats very specific to my networks design, and also some additional tools we use for deployment ( such as GPO's in AD, and a large BAT file setup we built ( usign bat files as seriously as SMS hehe)


Really all I did was coppied all the files onto each machine durring the day in a specific folder. Then from a AT command at a certain time I have it call one of 2 bat files to install/start the service, and then the other to stop and uninstall it.

the batfiles look like such:

to install: (startup.bat)
have it CD to the dir, the /install NEEDS to run from the main dir you cant just run it "C:\dir\foldtrajlite /install" that doesnt work, because the service fails to start abotu 50% of the time then.

it should look like:
Code:
c:
cd \dir\
foldtrajlite /install
net start foldtrajliteservice
I aso havea foldtrajlite /remove at the beginign to make sure its not installed prior to trying to install it again.

the stop one is simple, this one you dont need do go to teh dir to run so it looks like this:
stopit.bat
Code:
net stop foldtrajliteservice
c:\dir\foltrajlite /remove
I have them AT'd to run those scriptsm Startup.bat at 5:30PM, and Stopit.bat at 7:30AM.

if that doesnt make sense, then you prolly shouldnt be trying to sneak it onto your network. Also.. this is a point of warning!! If the service fails or unloads it DOES register in the eventlog, if you have nazi admins, they WILL be able to tell this has been run.. so dont do anything stupid.
__________________
Joe - I only take this hat off for one thing...

ProCooling archive curator and dusty skeleton.
Joe is offline