?
Solved

logon script not completing when user logs in

Posted on 2010-08-17
6
Medium Priority
?
610 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 your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
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

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

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

Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
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…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

650 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