Vista Ultimate running batch file login script

Posted on 2007-07-29
Last Modified: 2012-05-05
Vista Ultimate on SBS 2003, computer logs in ok, access to resources ok. I'm running a batch file for the login script and for some reason it will not run the batch file. It's pretty simple, net use commands to map drives. I can run this batch file manually on the system and it will map all but the home drive, says user's home directory has not been specified.  I have 3 other VIsta ultimate systems that I setup a couple of months ago and they run the batch file fine at login, I don't recall making any changes for that.
Question by:dpacheco
    LVL 23

    Expert Comment

    LVL 1

    Author Comment

    Not sure this applies since I'm running from a batch file not through a group policy.
    LVL 25

    Expert Comment

    by:Ron M
    Put the batch file on the vista machine...  

    At the end of the batch file type "PAUSE"

    Now run it.... the batch will now pause at the end so that you can see what is happening....where it is failing.
    LVL 1

    Author Comment

    I can run the batch file on the Vista machine, it maps all the drives except the home drive. On that it gives me a message about the home drive not being established, sorry I don't recall the exact wording and am not in front of one those systems, I will be later today. I think the problem is not the commands in the batch file, it's that the batch file is not running - it's entered in the users' profile tab and is just not running. I'll check the other Vista machines today that are working and see if I can see any difference.
    LVL 1

    Accepted Solution

    I figured this out, the batch file name was entered incorrectly on the profile of the user.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Suggested Solutions

    Introduction At 19:33 (UST) on Tuesday 21st September the long awaited email arrived with the subject title of “ANNOUNCING THE AVAILABILITY OF WINDOWS SBS 7 PREVIEW”.  It was time to drop whatever I was doing and dedicate as much bandwidth as possi…
    A quick step-by-step overview of installing and configuring Carbonite Server Backup.
    This video discusses moving either the default database or any database to a new volume.
    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…

    760 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

    9 Experts available now in Live!

    Get 1:1 Help Now