luke.mccormick Posted August 15, 2006 Posted August 15, 2006 Alright so i have a basic mapped network drive batch file that works.example:net use z: \\server\share /persistent:noand the batch file works, i've tested it and it works how i want it to, it's specified in ADUC, but it doesn't run when i login. i've done gpupdate /force, and everyone has read perms, but nothing's working. i've rebooted and nothing's working.
chilifrei64 Posted August 15, 2006 Posted August 15, 2006 where is the group policy applied to in conjunction to what OU the users are in. Apply the script to authenticated users and over the OU the users are in and see if that works.. if it does, go back from there until you have it applied at the spot you want it.
luke.mccormick Posted August 15, 2006 Author Posted August 15, 2006 the script is actually applied in the user profile tab in aduc.
chilifrei64 Posted August 15, 2006 Posted August 15, 2006 is the path of the script in the user properties pointing to a local drive (c:\login.bat) or to a UNC that everyone has access to(\\server\share\login.bat)and when you log on to the workstations can you take that same path that you typed in user properties and run it from the workstation?
chilifrei64 Posted August 16, 2006 Posted August 16, 2006 does the event viewer(eventvwr) say anything. Normally, it a script is configured in the user properties and doesnt run, it will normally tell you why
eyeball Posted August 16, 2006 Posted August 16, 2006 Dns could be a problem use IP's in the UNC paths. also make sure permissions to the directory are correct. hope it works!
cluberti Posted August 16, 2006 Posted August 16, 2006 221833: How to enable user environment debug logging in retail builds of Windowshttp://support.microsoft.com/default.aspx?...kb;EN-US;221833
luke.mccormick Posted August 17, 2006 Author Posted August 17, 2006 i changed the unc path to IP, still nothing, checked the perms and yea...nothing. thanks for the suggestions tho.
Rambler Posted August 17, 2006 Posted August 17, 2006 Does the login script contain anything else besides the drive mapping? If so, does it work?You might want to try to add some simple debugging info like echoing the command and output to some file or just echo something to a file to see if the file is even parsed.
adamt Posted August 17, 2006 Posted August 17, 2006 Hi - long time listener, first time caller here .....How many DCs do you have? And are you sure the change has replicated?Can you check with ADUC against the DC that authenticated them?Oh, and if you're specifying the logon script through ADUC's profile tab, is it just the filename that you've put in there, or the full UNC path?If it's the full UNC path, can you try changing it to just the filename (eg logon.bat, rather than \\192.168.2.1\share\logon.bat) - and copying the file to sysvol\sysvol\domain.com\scripts folder?Check that it appears in \\DC-Server\netlogon - and give it time to replicate to whichever DC is going to be authenticating them.I *think* - but I don't *know* - that you can't specify full paths in the ADUC profile tab's field. If you want to point to a script outside of \\DC-Server\netlogon - you need to do it via Group Policy (and if your clients are NT/9x) - it won't run the script on them.
luke.mccormick Posted August 17, 2006 Author Posted August 17, 2006 (edited) 1 domain controller, so no replication is taking place, i had the full unc path in there but i'll try just the file name.EDIT: That worked, thanks a lot for all your help and replies! Edited August 17, 2006 by luke.mccormick
valter Posted August 25, 2006 Posted August 25, 2006 (edited) UNC and yesthere is NO need for UNC path for logon scripts, just write the script name like logon.vbs on the user profile tab and it should work ... scripts MUST reside inside NETLOGON folder within your SYSVOL share Edited August 25, 2006 by klasika
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now