Redirect default folder for Windows Explorer

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have implemented Policies to remove users access to My Documents, etc. They
only see network drives and their own home drive. For some users this causes
an error message every time they open Windows Explorer as it is trying to
access My Documents and therefore returns the error "This operation has been
cancelled..etc, etc". Rather than this I would like to default Windows
explorer to start by looking at their 'H' drive instead. Can I do this
through Group Policy? I have looked but can't find how.

Thanks

Dave
 
Hi,

You are far better off to redirect the My Documents than remove it.

It is easy.

It is set on the Users OU under Windows Setting - Folder Redirection. Right
Click My Documents and redirect.

I also have it redirected in the users profile. I have a vbscript logon
script that redirects it in the users profile. Beware this tatoos it.
However, Folder Redirection relies heavily on DNS and sometimes it doesn't
always work so I have the profile as well.

<start VBscript>

Dim Path
Path =
"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User
Shell Folders\"
set ws = WScript.CreateObject("WScript.Shell")
o=ws.RegWrite(Path & "Personal", "H:\", "REG_EXPAND_SZ")
v=ws.RegRead(Path & "Personal")
Set WSHShell = nothing

Path =
"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell
Folders\"
set ws = WScript.CreateObject("WScript.Shell")
o=ws.RegWrite(Path & "Personal", "H:\", "REG_EXPAND_SZ")
v=ws.RegRead(Path & "Personal")
Set WSHShell = nothing

<end VBscript>

Cheers,
Lara
 
Hi lforbes

I've added this script to my logon script to but i have to do a reboot for
the redirection to take affect... Do u know how can i fix it....? (i chose
not to apply it via gpo)
 
You shouldn't have to reboot because it is a user instead. Logon and logoff
should get it to work.
 
i don't want that every time a new user logs in he will need to logon /
logoff for the redirection to apply...

does somebody know how to fix it...?
 
Not every time - If he is logged in when you make the change he will have to
logoff and then log back in once for the change to set and then it will
stick. Logon settings apply at logon.
 
Back
Top