RE: Redirect default folder for Windows Explorer
- From: lforbes <lforbes@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 6 May 2007 13:40:01 -0700
You shouldn't have to reboot because it is a user instead. Logon and logoff
should get it to work.
"Gaara" wrote:
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)
"lforbes" wrote:
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
"Dave" wrote:
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
- Follow-Ups:
- RE: Redirect default folder for Windows Explorer
- From: Gaara
- RE: Redirect default folder for Windows Explorer
- References:
- RE: Redirect default folder for Windows Explorer
- From: Gaara
- RE: Redirect default folder for Windows Explorer
- Prev by Date: RE: Redirect default folder for Windows Explorer
- Next by Date: RE: Redirect default folder for Windows Explorer
- Previous by thread: RE: Redirect default folder for Windows Explorer
- Next by thread: RE: Redirect default folder for Windows Explorer
- Index(es):
Relevant Pages
|
|