?
Solved

logon script not completing when user logs in

Posted on 2010-08-17
6
Medium Priority
?
604 Views
Last Modified: 2012-05-10
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?
0
Comment
Question by:gbm33
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 3

Assisted Solution

by:jgtyson3
jgtyson3 earned 1000 total points
ID: 33459718
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?
0
 
LVL 11

Assisted Solution

by:Coast-IT
Coast-IT earned 1000 total points
ID: 33459727
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
0
 

Author Comment

by:gbm33
ID: 33460697
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.
0
Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

 
LVL 11

Assisted Solution

by:Coast-IT
Coast-IT earned 1000 total points
ID: 33462057
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.
0
 
LVL 3

Assisted Solution

by:jgtyson3
jgtyson3 earned 1000 total points
ID: 33492116
You could also try running gpresult  for the users to ensure the policy is actually applying.
0
 

Accepted Solution

by:
gbm33 earned 0 total points
ID: 33504399
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.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

752 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