Home Directory - Logon Script

Posted on 2007-07-21
Last Modified: 2009-12-16
I have upgraded my file server and am having problems with my logon script mapping the home directory.
All user directories have been moved.
I created a share called users
The following script worked in the past.

I have changed the profile  >> Home folder under Active Directory. It has changed the local path to point to \\newserver\username$

How can I fix my login script so that it runs?

What am I doing wrong?
Question by:Priscilla_Hora
    LVL 7

    Accepted Solution

    This is the script we use for our users:

    Use U: "\\servername\%username%$"

    We use a KIX logon script. That's what your's looked like as well if I'm not mistaken.

    Hope this helps!
    LVL 82

    Assisted Solution

    To start with, if you have entered a home folder in the user's profile, you do not need to do anything in the logon script about it, the specified drive will be mapped automatically during logon. Just drop the line, and you should be fine.
    Then why have you started to use explicit shares for every folder? Unless you still have NT4 clients, this only creates more administrative work, as Windows 2000 and later are able to directly map a subfolder of a share.
    LVL 1

    Expert Comment

    Forced accept.

    EE Admin

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    Making a simple AJAX shopping cart Couple years ago I made my first shopping cart, I used iframe and JavaScript, it was very good at that time, there were no sessions or AJAX, I used cookies on clients machine. Today we have more advanced techno…
    Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
    The viewer will learn how to count occurrences of each item in an array.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    25 Experts available now in Live!

    Get 1:1 Help Now