Home All Groups Group Topic Archive Search About
Author
27 Apr 2007 2:46 PM
Coreman
Hi there.

Could somebody help me with logoff script in VBS.

This is the criteria:

when one user login on a computer, and this script will try to check if
there are any folder\directory such as: c;\windows\logs
if exist continue login
else logoff.

many thanks

kind regards

Ali

Author
28 Apr 2007 12:32 AM
Jeremy
Its simpler to use a batch file.

-->8
IF NOT EXIST C:\Windows\Logs shutdown -l -t 0
-->8
Show quoteHide quote
"Coreman" <Core***@discussions.microsoft.com> wrote in message
news:2181DE63-7409-4ED8-98C3-CC782661FDCB@microsoft.com...
> Hi there.
>
> Could somebody help me with logoff script in VBS.
>
> This is the criteria:
>
> when one user login on a computer, and this script will try to check if
> there are any folder\directory such as: c;\windows\logs
> if exist continue login
> else logoff.
>
> many thanks
>
> kind regards
>
> Ali
>
>