Re: logoff/shutdown script



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 -


.



Relevant Pages

  • Re: logoff/shutdown script
    ... someone tries to log off or shutdown a computer. ... I know where to save the script ... the computers. ... Use Group Policy to run the script. ...
    (microsoft.public.scripting.vbscript)
  • Re: logoff/shutdown script
    ... someone tries to log off or shutdown a computer. ... I know where to save the script ... the computers. ... If you are using Windows Vista it will run with no problems, ...
    (microsoft.public.scripting.vbscript)
  • Re: logoff/shutdown script
    ... Are you obliged to use VBScript ?If not i can found solution ... someone tries to log off or shutdown a computer. ... I know where to save the script ... the computers. ...
    (microsoft.public.scripting.vbscript)
  • Re: Finding users in local admin groups
    ... > Here is a vbscript that you can run against a remote computer that moves ... > *local* users except 'Administrator) from the Administrators group to the ... You should also add to the script logging to a file of the ... > you moved on what computers. ...
    (microsoft.public.win2000.security)
  • Re: logoff/shutdown script
    ... Are you obliged to use VBScript ?If not i can found solution ... someone tries to log off or shutdown a computer. ... I know where to save the script ... the computers. ...
    (microsoft.public.scripting.vbscript)

Loading