Login Scripts

Posted on 2006-05-09
Last Modified: 2010-04-11
I have a problem with login scripts not running.

- I log in as the user
- I browse to \\meddc\netlogon
- I can run any batch file in the directory except the one that is assign to that user under the profiles tab in Active Directory.
- I have checked the netlogon folder for odd exe and any thing named net.exe.

Please Help if you can.


Question by:Aserak
    LVL 9

    Expert Comment

    Does it produce an error?  What is the logon script doing?  The script is run as the user so if he/she doesn't have appropriate permissions, it will not run.

    Author Comment

    This is the error I get when trying to double click and run the batch file ljohnson.bat

    A dialog box pops up with:

    In the Title is: \\meddc\netlogon\ljohnson.bat

    Text in the message reads: Windows cannot access the specified device, path, or file. You may not have the appropriate permssions to access the item.


    The user is only in the Domain users group. The group EVERYONE has read only access to the netlogon folder also.

    LVL 3

    Expert Comment

    You wouldn't get a dialog box if the user didn't have the necessary permissions to run it.  Your issue is that you probably didn't assign the proper permissions to the share or whatever else it is that you are sharing.  Post a copy of the script.

    Stanley Louissaint
    LVL 7

    Accepted Solution

    Check permissions on that specific batch file, I've run into that a couple times, that for whatever reason the batch file ends up only has administrator set on it, even though the netlogon folder has the appropriate permissions.

    Author Comment

    Thanks again everyone for the respones. The batch file only had the administrator set under the security tab. Thanks again lukeca and everyone else.

    Here is the batch file:


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    TechValidate Research on Citrix NetScaler

    Are you looking for an ADC. See what people like you say about Citrix NetScaler. Visit this site to find TechFacts, Charts and Case Studies.

    Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
    If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    779 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

    11 Experts available now in Live!

    Get 1:1 Help Now