Logon scripts not running upon login

From: Richard Smith (Smith_at_discussions.microsoft.com)
Date: 02/18/05


Date: Fri, 18 Feb 2005 02:45:02 -0800

Hello,

I have modified a sample VBscript to

- declare variables
- suppress error messages
- set reference to WSH network object
- remove 3 network drives in case they are already in use
- add 3 network drives
- add 2 connections to network printers
- set one of the printers as default printer
- make application visible

The script itself works fine both on the server (2003) and on the hosts (XP
pro.) The problem I am having is running these upon login automaticaly. I
have looked this up on help and the Internet with no avail.

I have pointed an individual's logon script to the correct location

\\blyth-server\SYSVOL\BLYTH.local\scripts\unit20staff.vbs

but it is not running it when I login as this user. Really what I'd like to
do it apply the script to the group of users (unit 20 staff) so when any of
them login, they get the drives and printers in the script.

Please help!

Thank you.

Richard Smith



Relevant Pages

  • Re: Logon scripts not running upon login
    ... Since you've dropped it in a GPO I assume you're applying this through GPO ... remove 3 network drives in case they are already in use ... set one of the printers as default printer ... The script itself works fine both on the server and on the hosts The problem I am having is running these upon login automaticaly. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Someway to automate the process?
    ... script examples on doing all of this. ... > change the mapping, and the user would not notice it. ... printers and other ... >>These mapped network drives are the same for every one. ...
    (microsoft.public.win2000.group_policy)
  • RE: Logon hanging
    ... Will the script run OK on a 2000 machine if you run it as a command line ... > My logon script keep hanging when I logon any win2000 pcs. ... > 'DELETE EXISTED NETWORK DRIVEs ... > 'Connect printers and assign default printer ...
    (microsoft.public.windows.server.scripting)
  • Odd behavior
    ... This logon script works fine for all users. ... Now on any of the users machine when they open internet explorer & type the ... Now on the users machines the mapped network drives do not all work, ...
    (microsoft.public.windows.server.general)
  • odd behaviour
    ... This logon script works fine for all users. ... Now on any of the users machine when they open internet explorer & type the ... Now on the users machines the mapped network drives do not all work, ...
    (microsoft.public.windows.server.general)