|
I'm looking at the whole area of folder redirection as we consider rolling out Windows 7 wider. In our existing AD environment, we map the O: drive to the user's home folder. This ends up with a series of environment variables like this:
HOMEDRIVE=O: HOMEPATH=\ HOMESHARE=\\server003\users$\fred.bloggs
So in the login script, we can access the "O": drive quite happily.
Now for some reason which I don't completely understand, using drive mappings is falling our of favour and the suggestion is to use folder redirection to simply map "My Documents" to the network share.
The net result of this is the following happens:
HOMEDRIVE=C: HOMEPATH=\Users\fred.bloggs HOMESHARE=
Actually HOMESHARE doesn't even exist.
So the problem is how best to get at the redirected folder. One could dig into the registry to look in shell folders but that's not good practice.
Is there a kixtart way to get the "My Documents" folder re-direction or does one have to call Windows functions?
I suspect this is a FAQ but I couldn't find anything obvious when searching. Probably using the wrong search terms.
Cheers, Rob.
|