?
Solved

logon script not completing when user logs in

Posted on 2010-08-17
6
Medium Priority
?
613 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
  • 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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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…
Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
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…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

862 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