1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Logon Scripts Not Running in XP

Discussion in 'Windows XP' started by OzBoy, 2005/02/20.

Thread Status:
Not open for further replies.
  1. 2005/02/20
    OzBoy

    OzBoy Inactive Thread Starter

    Joined:
    2002/11/28
    Messages:
    20
    Likes Received:
    0
    Hi All,

    Pardon me if I have overlooked a post regarding this subject before but the posts I have read have not related to the problem I've got.

    We are (finally) migrating our workstations from NT to XP (SP2). Only in the testing phase so far, so as a result the XP workstations are still running in an NT domain.

    Anyway the problem I've got is that if I logon with an admin account the script works fine and assigns drives, printers etc. However using a normal domain user account nothing happens.We are using a Kixtart script. Looking at the log I can see Error Codes 1, 5 & 1314.

    I'm sure this is a simple access issue but for the life of me I can't work it out. Can anyone shed some light on this. Thanks... :confused:
     
  2. 2005/02/22
    lachelp

    lachelp Inactive

    Joined:
    2004/04/15
    Messages:
    4
    Likes Received:
    0
    Try using Windows profile scripts.

    The scripts should live in the C:\Winnt\system32\... directory. (Sorry, been a while since on NT. :)

    They are simple batch files with commands like:
    @echo off (hides the commands)
    net use S: \\server\shared
    net use W: \\server\workspace
    exit

    No need for scripting programs, and you can have batch files for each type of user such as Execs, Mgmt, Boneheads, Mail room, etc...

    Next, in the properties of each user, there is a logon script field. Simply type in the name of the batch file for that user and it will run on his login to the server.
     

  3. to hide this advert.

  4. 2005/02/22
    OzBoy

    OzBoy Inactive Thread Starter

    Joined:
    2002/11/28
    Messages:
    20
    Likes Received:
    0
    Hi Dan,

    Thanks for your suggestions. The scripts we use are more or less what you suggested anyway. Just written in Kixtart.

    However your suggestion re: the user profile prompted me to check out the user account I'd been using and suddenly all became clear. In the Login Script field was the name of the script assigned to this account...guess what, it was an old script. DOH!!!

    Put in the correct script name, logged in again on the XP workstation and it all worked as advertised. Drives, printers etc assigned with correct security.

    Sometimes you just can't see the forest for the trees! :D
    Cheers
    Richo
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.