Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



logoff vbs script

Windows Server Help


Reply
 
Thread Tools Search this Thread
  #1  
Old 27-04-2007
Coreman
 
Posts: n/a
logoff vbs script

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



Reply With Quote
  #2  
Old 28-04-2007
Jeremy
 
Posts: n/a
Re: logoff vbs script

Its simpler to use a batch file.

-->8
IF NOT EXIST C:\Windows\Logs shutdown -l -t 0
-->8
"Coreman" <Coreman@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
>
>


Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "logoff vbs script"
Thread Thread Starter Forum Replies Last Post
Logoff Script for Dissconnecting Mapp Drives . mypass604 Operating Systems 2 16-10-2009 09:10 AM
Linux script to force logoff users WinSlayer Operating Systems 3 28-07-2009 11:08 PM
Delete files with logoff/on script Pine Le Windows Security 1 03-06-2008 11:19 PM
How do I create a "logoff script"?? Mr Costas Windows XP Support 2 23-05-2008 04:38 AM
Script to logoff XP systems after inactivity aja44 Windows Server Help 3 03-03-2008 03:11 PM


All times are GMT +5.5. The time now is 07:18 AM.