chekmate1984 Posted October 11, 2012 Posted October 11, 2012 Hi all we have mainly windows server 2008 r2 edition installed with home drives from the active directory user properties and all other mapped drives from script. on a windows xp machine the user gets all the mapped drives via script and the home drive on a windows 7 machine which is in same OU as the xp machines. When i log in as a administrator i only get the home drive and NOT the mapped drives via script If i log in as a teacher i get the mapped drives no NOT the home drive any ideas why?
sted Posted October 11, 2012 Posted October 11, 2012 what happens if you run the script manually? 1 possible is that the drives are in the xp profile(s) and the script is duff in some way. or there is a hide drives policy active on 7
chekmate1984 Posted October 11, 2012 Author Posted October 11, 2012 If i run script manually it works fine, all drives appear, but users wouldn't like to do this everyday sadly. if it runs manually an runs OK does that rule out above possibilities?
sted Posted October 11, 2012 Posted October 11, 2012 probably. can you make the script visible on login and remove any @echo off etc so you can see what its doing maybe make a copy and put a pause at the end
SYNACK Posted October 11, 2012 Posted October 11, 2012 What kind of script, VB or batch? or kixart? VBS is the most robust throughout the versions, all the others fade in and out with support.
chekmate1984 Posted October 11, 2012 Author Posted October 11, 2012 its a VB script, i have looked for echo off but cant see anything so i can see the script being run?
SYNACK Posted October 11, 2012 Posted October 11, 2012 You could add logging to the users temp folder: VBScript Logging Techniques Code Script or a network location VBScript help creating a log file
Duke5A Posted October 11, 2012 Posted October 11, 2012 Try adding this right before the lines that map the drives: WScript.Sleep 200 [/Code] It's goofy, but I've seen it where if enough is going on in the background and the drives are mapped too quickly some of them will be ignored. Maybe a timeout or something...
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