logon script not completing when user logs in

I have a logon script set in Active Directory for the users on the network. The script maps shared server drives. For two users the script does not run, that is the drives are not mapped. All users are set up the same way in AD and on the local computer.  What might be the issue?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Assuming you have verified that the users have the correct NTFS/Sharing permissions on the shares and that they do not have a flash/external drive using the drive letter the script is mapping drives to, my next question would be: Do you see any errors in the event logs?
do you disconnect the network drive before mapping it?

eg ;

net use x: /d /y
net use x: \\server\share

Also, try and map the drive from the affected computer/user direct without the logon script by dropping into a command prompt and typing the above, what errors do you get?

Have you checked share and NTFS permissions?

Have you tried the same user on a known good PC?  Maybe the computer account needs rejoining to the domain.

good luck
gbm33Author Commented:
jgtyson3, Coast-IT: The sharing is okay on each of the users and there are no errors. I have tried net use x: /d /y with no effect. As a workaround I have placed the logon script in the logon portion of the policies on the local computers which appears to alleviate the problem. One issue that comes to mind is that one of the drives mapped is on a UNIX computer and the net use command is the first one in the script. I will check that out and see if there is an issue there.
Newly released Acronis True Image 2019

In announcing the release of the 15th Anniversary Edition of Acronis True Image 2019, the company revealed that its artificial intelligence-based anti-ransomware technology – stopped more than 200,000 ransomware attacks on 150,000 customers last year.

If its not running a logon script, ensure you try and remove and re-add to the domain.

Did you try same user on another PC?

Did you try a known good user on affected PC?

This will tell you whether PC or user issue.  If it's  PC problem, try and remove computer account and re-add as above.
You could also try running gpresult  for the users to ensure the policy is actually applying.
gbm33Author Commented:
jgtyson3, Coast-IT:

The issue as it turns out was with a setting within Samba, the application that allow communication with the files on the UNIX server. The setting was with the specific user. Any compute on which she was logged on experienced the same problem whereas other users on the computer were not experiencing the problem.

Thank you for your time and helpful tips.  I will have to use this comment as the posted answer.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.