Re: logoff/shutdown script
- From: yosseeppii <yosseeppii@xxxxxxxxx>
- Date: Tue, 12 Jun 2007 18:27:17 -0000
On Jun 12, 11:56 am, camille.ree...@xxxxxxxxx wrote:
My manager has asked me to write a script that will run every time
someone tries to log off or shutdown a computer. In the past people
have logged off computers while virtual machines were running and
usually automation would be running at the time or people would be
doing manual QE testing so it would always be a real pain when they
were shut off without warning. He wants me to write a script
(shutdown or logoff or even both) that would check for one of VMware's
executable files that only appear when a VM is running and then prompt
a warning to the user to stop them from shutting down or logging off.
I've done a some reading on the internet about logoff/shutdown scripts
and I've emailed some people that I know. I know that it should be
either a vbscript or jscript file. I know where to save the script
when I'm done and how to configure group policy so that it runs on all
the computers. I even know how to format the script (1. get a process
list, 2. search the list for the VMware process 3. if process is found
alert the user and cancel shutdown/logoff 4. if not, do nothing). The
only problem is I DON'T KNOW HOW TO WRITE ONE. Do you guys have any
suggestions as far as websites or reading material? Any thoughts
would be appreciated.
Use Group Policy to run the script. Just an option.
.
- Follow-Ups:
- Re: logoff/shutdown script
- From: camille . reeves
- Re: logoff/shutdown script
- References:
- logoff/shutdown script
- From: camille . reeves
- logoff/shutdown script
- Prev by Date: Array Question
- Next by Date: Re: VBScript Working Progress
- Previous by thread: Re: logoff/shutdown script
- Next by thread: Re: logoff/shutdown script
- Index(es):
Relevant Pages
|