• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 252
  • Last Modified:

Login Scripts

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.


1 Solution
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.
AserakAuthor Commented:
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.

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
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.
AserakAuthor Commented:
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:

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now