There is one machine in our organization that will not map one of my network drives. This script has worked on dozens of other machines, but not this one. I do have local admin rights. Does anyone know why this is happening?
adding the persistent tag causes that drive letter to always be in use regardless of the person logging on. It also doesn't fix the original issue of why it won't map when the script is originally run.
In my company, we run a seperate script for every employee... so it is possible adding the persistent tag is not even an option.
I added the error log to the script, but since the script will not run there is not an error log to check. I opened up the command prompt and the script ran and added the log file to C, which stated "The command completed sucessfully".
I checked the event viewer to see if it could give me any clues and event 5719 was listed under netlogon. I did some research and maybe the NIC in machine is on its way out. I did upgrade the drivers, but that did not help the issue.
Here is the error, but not long after I saw this error I ran gpupdate. The error has not been logged again.
Product: Windows Operating System
ID: 5719
Source: NETLOGON
Version: 5.0
Symbolic Name: NELOG_NetlogonAuthNoDomainController
Message: This computer was not able to set up a secure session with a domain controller in domain %1 due to the following:
%2
This may lead to authentication problems. Make sure that this computer is connected to the network. If the problem persists, please contact your domain administrator.
ADDITIONAL INFO
If this computer is a domain controller for the specified domain, it sets up the secure session to the primary domain controller emulator in the specified domain. Otherwise, this computer sets up the secure session to any domain controller in the specified domain.
I figured out what the problem is now, but I am not sure on how to fix it. The problem turns out to be a gpo issue. For some reason a gpo that is applied to a group is not apllied to this one specific machine. I figured this by running gpresult /s and low and behold the policy is applied to other computers, but not this one. Any suggestions?
I fixed the problem by adding the logon script to the default domian policy with a new drive letter. However, even though I deleted the old policy/script the computers that the script worked on sill map the drive to b along with the new letter.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.