redirecting mydocuments

R

Ruud Boersma

Hi,

I have setup folder redirection in a GPO. I redirect my documents to the
users home dir located on a network share.
Everything runs fine until yesterday. When a users logs on and the my
documentsd folder gets redirected, the following event message is generated:

Successfully redirected folder My Documents. The folder was redirected from
M:\Documents and Settings\jhesselius\My Documents to
\\ja-adm1\usr\jhesselius.

But since yesterday I'm getting the following message:

Failed to perform redirection of folder My Documents. The full source path
was \\ja-adm1\usr\gploeg. The full destination path was
\\ja-adm1\usr\jhesselius. At least one of the shares on which these paths
lie is currently offline.

Somehow the system thinks that the source path is "\\ja-adm1\usr\gploeg"
which offcourse is not. The user that logs on, does not have rights to
connect to that share, so the system thinks the share is offline.
My question is:
How come the system suddenly thinks the source path is not
"M:\Documents and Settings\jhesselius\My Documents" but thinks the source
path is the home dir from another user. In this case "\\ja-adm1\usr\gploeg".

Ruud Boersma
 
C

Chriss3

Folder Redirection and environment variables
The folder redirection client side extension is only able to process two
environment variables: %username% and %userprofile%. Other environment
variables such as %logonserver%, %homedrive% and %homepath% will not work
with folder redirection.

Folder Redirection and mapped drives
Because folder redirection is processed early in the logon process, drives
mapped via logon scripts (including the homedrive for folders other than My
Documents), the folder redirection client side extension is not able to
redirect to these locations. At the time that redirection takes place, the
drives do not exist hence redirection fails.

Folder Redirection Troubleshooting.
Folder redirection processing contains 5 steps:

1.. Determine which folders to redirect based on changes to policy at
logon time.
2.. Determine desired redirected location and verify access.
3.. If folder does not exist: create folders, set ACLs.
4.. If folder exists, check ACLs and ownership.
5.. If desired, move contents.
Folder redirection failures only affect the folder redirection extension on
a per folder basis. If youre pre-creating folders rather than letting the
folder redirection extension automatically create the folder, typical errors
include:

a.. Redirecting to a folder that is incorrectly ACLd.
b.. User is not the owner of the folder.
c.. Destination does not exist.
Enabling logging
In addition to logging events in the Application Event log, Folder
Redirection can provide a detailed log to aid troubleshooting. To create a
detailed log file for folder redirection, use the following registry key:

a.. HKLM\Software\Microsoft\Windows NT\CurrentVersion\Diagnostics
b.. Set: FdeployDebugLevel = Reg_DWORD 0x0f
Note The log file can be found at: %windir%\debug\usermode\fdeploy.log

--
Regards,

Christoffer Andersson
No email replies please - reply in the newsgroup
If the information was help full, you can let me know at:
http://www.itsystem.se/employers.asp?ID=1
 
R

Ruud Boersma

Hi,

I've debugged one user. As you can see in the log file I use %username% in
my group policy.
I still can not find out why the system thinks "the username used for
redirection was gploeg". This has never been the case until two days ago.
And no changes or whatsoever have been made to the GPO.
The log displays the following:

09:19:45:953 Entering folder redirection extension
09:19:45:953 Flags = 0x0
09:19:45:968 Username change detected for redirected folder My Documents.
The username used for redirection was gploeg. The current username is
Wannit.
09:19:45:968 Failed to perform redirection of folder My Documents.
The full source path was \\ja-adm1\usr\gploeg.
The full destination path was \\ja-adm1\usr\Wannit.
At least one of the shares on which these paths lie is currently offline.

09:19:45:968 Group Policy Object name =
{4D852ECE-9176-4E16-B1C9-7125C42D4585}
09:19:45:968 File system path =
\\jageracc.local\SysVol\jageracc.local\Policies\{4D852ECE-9176-4E16-B1C9-712
5C42D4585}\User
09:19:45:968 Directory path =
LDAP://CN=User,CN={4D852ECE-9176-4E16-B1C9-7125C42D4585},CN=Policies,CN=Syst
em,DC=jageracc,DC=local
09:19:45:968 Display name = script and redirect
09:19:45:968 Found folder redirection settings for policy script and
redirect.
09:19:45:984 The user was found to be a member of the group
s-1-5-21-861567501-682003330-839522115-513. The corresponding path was
\\ja-adm1\usr\%username%.
09:19:45:984 Successfully obtained redirection data for My Documents,
(Flags: 0x39).
09:19:45:984 Successfully obtained redirection data for My Pictures, (Flags:
0x2).
09:19:45:984 Successfully gathered folder redirection settings for policy
script and redirect.
 
C

Chriss3

The full source path seems to be a network location and not the local
profile. Have the particular user changed the documents location to
\\ja-adm1\usr\gploeg. or some one else.

The full source path is where the policy will redirect it from to The full
destination path. Make sure My Documents points to the default location in
the user profile. (%SystemDrive%\Documents and Settings\%username%\My
Documents) this should be the full source path

--
Regards,

Christoffer Andersson
No email replies please - reply in the newsgroup
If the information was help full, you can let me know at:
http://www.itsystem.se/employers.asp?ID=1
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top