Results 1 to 2 of 2

Thread: logoff vbs script

  1. #1
    Coreman Guest

    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



  2. #2
    Jeremy Guest

    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
    >
    >



Similar Threads

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

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,051,903.38743 seconds with 17 queries