Windows Vista Forums

Logon script
  1. #1


    xanti Guest

    Logon script

    Hi,
    I have created a logon script for all users that maps a desktop shortcut
    however i need to prevent this from running on certain computers, roughly 10
    machines. Is there a way of adding to script dont run if user is logging
    onto these machine names.
    Thanks for any help with this.





      My System SpecsSystem Spec

  2. #2


    Mike 'Spike' Lovell Guest

    Re: Logon script

    This?

    sName =

    Well, you didn't assign a value to the variable

      My System SpecsSystem Spec

  3. #3


    Pegasus [MVP] Guest

    Re: Logon script


    "xanti" <mark1removethis.smith@newsgroup> wrote in message
    news:JGqCm.12012$Rj7.8557@newsgroup

    > Pegasus,
    >
    > Thanks for sticking with me on this one it works perfectly now.
    > Would love to know more about scripting can you suggest any good beginers
    > reading material.
    >
    > Thanks again.
    Thanks for the feedback. Other than the helpfile script56.chm (which you can
    download from the Microsoft site), I don't really know any tutorials. I
    suggest you start another thread with the Subject "VB Script tutorial for
    beginners".



      My System SpecsSystem Spec

  4. #4


    Richard Mueller [MVP] Guest

    Re: Logon script


    "xanti" <mark1removethis.smith@newsgroup> wrote in message
    news:JGqCm.12012$Rj7.8557@newsgroup

    > Pegasus,
    >
    > Thanks for sticking with me on this one it works perfectly now.
    > Would love to know more about scripting can you suggest any good beginers
    > reading material.
    >
    > Thanks again.
    >
    I would suggest "Microsoft Windows 2000 Scripting Guide". I have the book,
    but the entire text is available online at:

    http://www.microsoft.com/technet/scr....mspx?mfr=true

    Includes an introduction to VBScript with many examples. You can use the
    Table of Contents at the left to navigate the chapters.

    --
    Richard Mueller
    MVP Directory Services
    Hilltop Lab - http://www.rlmueller.net
    --



      My System SpecsSystem Spec

Logon script problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Logon script George PowerShell 1 03 Apr 2009
Logon Script Causing Laptops To Hang - Problems in script? Ben VB Script 5 07 Feb 2009
Logon Script Martín Companucci VB Script 4 16 Oct 2008
Logon Script issue Dale K Vista General 2 24 Jul 2007
Logon Script randyh@newsgroups.nospam Vista General 1 29 Nov 2006