Jump to content

Recommended Posts

Posted

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?

Posted

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

Posted
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?
Posted
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
Posted

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...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...