Re: logoff/shutdown script
- From: camille.reeves@xxxxxxxxx
- Date: Tue, 12 Jun 2007 17:46:40 -0000
On Jun 12, 1:22 pm, Omar Abid <omar.abid2006@xxxxxxxxx> wrote:
On 12 juin, 18:12, camille.ree...@xxxxxxxxx wrote:
No, I don't have to. I read on the internet that .vbs or .js scripts
are the "most powerful" languages to use for logon/logoff scripts and
a colleague of mine told me that the availability and quality of
support for VBScript is far better than Jscript. I'm open to
suggestions.
On Jun 12, 11:59 am, Omar Abid <omar.abid2...@xxxxxxxxx> wrote:
Hi,
Are you obliged to use VBScript ?If not i can found solution
Omar Abid
camille.ree...@xxxxxxxxx a écrit :
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.- Hide quoted text -
- Show quoted text -- Masquer le texte des messages précédents -
- Afficher le texte des messages précédents -
Ok, I'm a VB programer and what can I do for you is to create a
program that show all running process
This will take a day or two depending on my work then I'll send it by
Send me your email (mine is : omar.abid2006@xxxxxxxxxxx)
Omar Abid- Hide quoted text -
- Show quoted text -
OMG!! THANK YOU THANK YOU THANK YOU SO MUCH. You really didn't have to
offer this to me. I really appreciate it. I went on the MSDN
website <http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/script56/html/cfd87c86-9217-4783-9eba-4fee0261ca06.asp> to try and
learn about vbscript but I didn't know where to start. You are a
blessing. This will definitely help me get started. I just sent you
my email address but it bounced back. My company email is
kreaves@xxxxxxxxxxxxxxxxxx
.
- References:
- logoff/shutdown script
- From: camille . reeves
- Re: logoff/shutdown script
- From: Omar Abid
- Re: logoff/shutdown script
- From: camille . reeves
- Re: logoff/shutdown script
- From: Omar Abid
- logoff/shutdown script
- Prev by Date: Re: Service failure
- Next by Date: How to change environment variables in text/.reg file before import
- Previous by thread: Re: logoff/shutdown script
- Next by thread: Re: logoff/shutdown script
- Index(es):
Relevant Pages
|