Could you not use a logon script?
Does anyone know how to map a Network drive to an OU using GP? It's easily done to a user under the "profile" tab but, I can't seem to figure out how to do it for the whole OU?
Could you not use a logon script?
I would suppose a logon script would work well, I don't have any experience in that dept and my assistant is away for 2 weeks who does know scripts... Thx
net use [drive]: \\server\sharename /Yes /Persistent:yes
DennisT, good command, still trying to get it to work with the GP though? I tried it on the workstation and voila, there is my mapped drive. When I put it in a GP logon script, no drive? Thx
You'll probably have to embed it in a batch script for it to work in a logon script. Create a file, IE logon.bat, and enter that command in it. Then enter the batch script into your GPO.
Got it! Thx. Next, it seems to work in XP but not Vista Buisness, but that may be another issue for another time. Thx again!
scratch the last post, it works across the boards. Thx
<edit> I just saw your other post about this, so added this info:
If you do not already have the folders created and do not want to create them all with a script, then the best place to do this is in the AD properties which will create the folder when the user logs on if it does not already exist. NB: It will not create a share so you have to create a share and let it make folders inside that. </edit>
If you are just trying to set a single drive for each user using the "home drive" properties, then you could simply change this in AD for a whole OU using DSMod, based on output from a DSQuery command.
See this tutorial for details about DSMod and DSQuery, including a specific example of how to do this for homedrive path:
Originally Posted by VeroBlog