SoulAssassin
Diamond Member
- Feb 1, 2001
- 6,135
- 2
- 0
<<
<< I'm excited following this and I don't understand a damn thing you all are talking about. But I sense progress! And when we are done, we definitely need to archive this work so the next large assimilation will be easier. /me goes to look up the name of the CEO at the new local CALL CENTER. :Q >>
Agreed! It's fun to see everyone get involved in this project!
BTW, I checked one of the machines I installed the script on to see if it was running (service should have started at 4:00 PM) at 4:30. CPU utilization was only about 4%, so I don't think it was running I was on my way out of work for an appointment, so I didn't have time to look into it. If I have time this weekend, I'll install it on a few more machines and see if it kicks in. I may be wrong, but if I install it during the weekend, shouldn't the service start immediately? >>
I'd have to go back and look at the batch file but I believe there's a net start in there by default so yes, no matter what time you installed in it will start immediately. Hypothetical scenario, the user logs in at 08:05, our install dealio runs and installs everything, pulls down a wu, starts. It's now a few minutes after 8, the service is started and running, 16:00 comes, tries to start an already running service and moves on, 8AM comes the next day and it will stop the service. The point of my ramblings being that the first day it's installed it will run until 8AM the next day. Not sure if you're overly concerned with that but I figured I would let you know.
To create the huge xnet stop script do this, create the text file with all your wrkstation names, strip out the extra crap. Load up excel, import the document. You'll now have an excel document with all the names in column a, insert a new column to the left of the data, add in the text 'xnet stop \\' in column a and '\setiservicename' in column C. Save as text file and exit excel. Load file up in note pad, you'll have something that looks like this:
xnet stop \\ machine1 \setiservicename
xnet stop \\ machine2 \setiservicename
What you need to do is highlight the entire blank space between the \\ and machine, this is not actually a series of spaces but a tab. Cut and paste what you just highlighted into a find/replace and replace it with nothing. You'll be left with:
xnet stop \\machine1\setiservicename
xnet stop \\machine2\setiservicename
Save this as 'bigbadmammajammasetistopfile.cmd' [note filename is very important, will fail if not called that ] and put xnet.exe either in the same folder or in your path and you're golden.