Login Scripts

Posted on 2006-05-09
Medium Priority
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

Expert Comment

ID: 16642630
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

ID: 16642826
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.


Expert Comment

ID: 16643949
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

Accepted Solution

lukeca earned 500 total points
ID: 16644388
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

ID: 16649218
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:


Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
This month, Experts Exchange’s free Course of the Month is focused on CompTIA IT Fundamentals.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

840 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