Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows Server » microsoft.public.windows.server.scripting
Thread: logoff vbs script

HTVi
TV Discussion Newsgroups

logoff vbs script
Coreman 4/27/2007 2:46:05 PM
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


Re: logoff vbs script
"Jeremy" <jeremy[ at ]discussions.microsoft.com> 4/28/2007 12:32:18 AM
Its simpler to use a batch file.

-->8
IF NOT EXIST C:\Windows\Logs shutdown -l -t 0
-->8
"Coreman" <Coreman[ at ]discussions.microsoft.com> wrote in message
news:2181DE63-7409-4ED8-98C3-CC782661FDCB[ at ]microsoft.com...
[Quoted Text]
> 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
>
>

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen