Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - Logon script

Reply
 
Old 10-17-2009   #1 (permalink)
xanti


 
 

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
Old 10-17-2009   #2 (permalink)
Mike 'Spike' Lovell


 
 

Re: Logon script

This?

sName =

Well, you didn't assign a value to the variable
My System SpecsSystem Spec
Old 10-17-2009   #3 (permalink)
Pegasus [MVP]


 
 

Re: Logon script


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

> 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
Old 10-18-2009   #4 (permalink)
Richard Mueller [MVP]


 
 

Re: Logon script


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

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

Thread Tools


Similar Threads
Thread Forum
Logon script PowerShell
Logon Script Causing Laptops To Hang - Problems in script? VB Script
Logon Script VB Script
Logon script is not visible Vista networking & sharing
Logon Script Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46