Link to home
Start Free TrialLog in
Avatar of imij11
imij11Flag for United States of America

asked on

Folder Redirection problem on windows 7 and SBS 2008

I have a problem on a workstation running windows 7 in a small SBS 2008 domain. I recently moved the folder redirections  to a new drive / partition on the server.  The profiles on all of the PC's (all are running WIndows 7 Pro) except one are redirecting correctly. One pc seems to keep the folders Appdata, My documents, and favorites local instead of redirectiong them to the network share. I have updated the GPO and forced it on the server and workstation but the changes never take. I deleted the profile from the registry and recreated it but that didn't work either. Is there something I'm missing? I am at my wits end.
Avatar of ConchCrawl
ConchCrawl
Flag of United States of America image

You will have event viewer errors of this situation from the SBS server and the local machine, could you please post them.
Did you enforce folder redirection to begin with using the wizard or did you manually apply the group policy?
Also, since this machine is the only one having a problem, I will assume you used the wizard to move the folders in SBS? Have to ask.
Also, was folder redirection working on this machine before you moved the data.
Hope this is helpful and if you need further clarafication on any of the steps above or I have misunderstood something please don't hesitate to elaborate.  
Avatar of imij11

ASKER

I turned on the folder redirection for the users using the SBS console and checking the box for folder redirection under Users and Groups. I didn't use the Wizard to move the folders I changed there locations using GP management editor and ran gpupdate. I wasn't aware there was a wizard for moving the redirected folders. The folder redirection was working prior to changing the location.

Here's one the messages from the event log. It's stopped since I re-enabled the share of the original redirected folder.

Log Name:      Application

Source:        Microsoft-Windows-Folder Redirection

Date:          3/6/2010 8:24:02 PM

Event ID:      513

Task Category: None

Level:         Error

Keywords:      

User:          LEESLANDSCAPING\Sample

Computer:      LEE-PC.leeslandscaping.local

Description:

Failed to remove policy and redirect folder "RoamingAppData" to "C:\Users\sample\AppData\Roaming".

 Removal options=0x20009231.

 The following error occurred: "Failed to redirect because the destination directory "\\LEELANDSERVER\RedirectedFolders\sample\Application Data" is offline".

 Error details: "The network path was not found.

".

Event Xml:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

  <System>

    <Provider Name="Microsoft-Windows-Folder Redirection" Guid="{7D7B0C39-93F6-4100-BD96-4DDA859652C5}" />

    <EventID>513</EventID>

    <Version>0</Version>

    <Level>2</Level>

    <Task>0</Task>

    <Opcode>0</Opcode>

    <Keywords>0x8000000000000000</Keywords>

    <TimeCreated SystemTime="2010-03-07T01:24:02.303878700Z" />

    <EventRecordID>10111</EventRecordID>

    <Correlation ActivityID="{BF80EC31-56ED-4C97-82E8-F17FE0FFE009}" />

    <Execution ProcessID="636" ThreadID="1940" />

    <Channel>Application</Channel>

    <Computer>LEE-PC.leeslandscaping.local</Computer>

    <Security UserID="S-1-5-21-2418178987-271944443-1184758859-1184" />

  </System>

  <EventData Name="EVENT_FDEPLOY_FailedToRemovePolicy">

    <Data Name="FromFolder">RoamingAppData</Data>

    <Data Name="ToFolder">C:\Users\sample\AppData\Roaming</Data>

    <Data Name="Options">0x20009231</Data>

    <Data Name="Error">Failed to redirect because the destination directory "\\LEELANDSERVER\RedirectedFolders\sample\Application Data" is offline</Data>

    <Data Name="ErrorDetails">The network path was not found.

</Data>

  </EventData>

</Event>

These may also be helpful.

Log Name:      Application

Source:        Microsoft-Windows-User Profiles Service

Date:          3/6/2010 9:08:04 PM

Event ID:      1515

Task Category: None

Level:         Error

Keywords:      

User:          LEESLANDSCAPING\Sample

Computer:      LEE-PC.leeslandscaping.local

Description:

Windows has backed up this user profile. Windows will automatically try to use the backup profile the next time this user logs on.

Event Xml:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

  <System>

    <Provider Name="Microsoft-Windows-User Profiles Service" Guid="{89B1E9F0-5AFF-44A6-9B44-0A07A7CE5845}" />

    <EventID>1515</EventID>

    <Version>0</Version>

    <Level>2</Level>

    <Task>0</Task>

    <Opcode>0</Opcode>

    <Keywords>0x8000000000000000</Keywords>

    <TimeCreated SystemTime="2010-03-07T02:08:04.466659700Z" />

    <EventRecordID>10372</EventRecordID>

    <Correlation />

    <Execution ProcessID="132" ThreadID="2320" />

    <Channel>Application</Channel>

    <Computer>LEE-PC.leeslandscaping.local</Computer>

    <Security UserID="S-1-5-21-2418178987-271944443-1184758859-1184" />

  </System>

  <EventData>

  </EventData>

</Event>

Log Name:      Application

Source:        Microsoft-Windows-Folder Redirection

Date:          3/6/2010 8:43:26 PM

Event ID:      510

Task Category: None

Level:         Warning

Keywords:      

User:          LEESLANDSCAPING\Sample

Computer:      LEE-PC.leeslandscaping.local

Description:

Folder redirection policy application has been delayed until the next logon because the group policy logon optimization is in effect.

Event Xml:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

  <System>

    <Provider Name="Microsoft-Windows-Folder Redirection" Guid="{7D7B0C39-93F6-4100-BD96-4DDA859652C5}" />

    <EventID>510</EventID>

    <Version>0</Version>

    <Level>3</Level>

    <Task>0</Task>

    <Opcode>0</Opcode>

    <Keywords>0x8000000000000000</Keywords>

    <TimeCreated SystemTime="2010-03-07T01:43:26.499996700Z" />

    <EventRecordID>10213</EventRecordID>

    <Correlation ActivityID="{252FFEB1-48A8-4B86-80DF-9A7CFACE486E}" />

    <Execution ProcessID="500" ThreadID="404" />

    <Channel>Application</Channel>

    <Computer>LEE-PC.leeslandscaping.local</Computer>

    <Security UserID="S-1-5-21-2418178987-271944443-1184758859-1184" />

  </System>

  <EventData Name="EVENT_FDEPLOY_WarningSyncLogonRequired">

  </EventData>

</Event>
real quick why i read the error logs, if you didn't use the wizard to move the folders this may have caused your problem.
In the sbs console\backup and server storage\server storage tab\tasks move user's redirected documents data. This is the proper way to move data on SBS 2008. Trust me I've done it your way and it hurts. But it may already be to late to go back.
Avatar of imij11

ASKER

I changed the file paths back to the originals in GPME and attempted to run the wizard but I receive an error stating a drive can not be found. Either there are no NTFS drives or  the available drives do not have enough capacity. I attached a screen shot.
Screenshot.png
There is a registry setting you need to change when manually configuring folder redirection
Navigate to HKLM\SOFTWARE\Microsoft\SmallBusinessServer\Storage, set the value of FRShareName to RedirectedFolders, and then set the value of FRRootPath to the full path of the shared folder (for example, C:\Users\FolderRedirections).

another mistake made sometimes when people manually move folders is this:
The original folder is called c:\user\folderredirections and the shared folder is RedirectedFolders. It is very easy to mess this up, but will cause problems.
Right now it looks like it thinks its on the other drive so check the registry and see if that helps.
Avatar of imij11

ASKER

Both Registry Keys appear to be correct already. The FRRootPath says %systemdrive% instead of c:\ but that should still be OK. I did remove the network sharing for the folderredirections (using the wizard) but I did reshare it using the wizard but the share name was wrong.  I changed the share name to the correct one but still get the error.
hmm... i'm confused in the screen shot it is showing only one drive are you moving these within the same or to another drive?
Avatar of imij11

ASKER

I apologize. The phrasing of my original post is misleading. I upgraded to a larger hard drive but the folders are all on the same drive.
ASKER CERTIFIED SOLUTION
Avatar of ConchCrawl
ConchCrawl
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
what is your status now?
Avatar of imij11

ASKER

Currently the folder redirection is back to it's original location and working on all the machines. I had to do the following steps:
1. Make sure the new location for the redirected folder was shared with the proper permissions and the location for each of the folders in GP management editor was pointed to that share.
2. Make sure the users with redirections were logged off.
3. Go into the SBS console and disable folder redirection for the users that had it.
4. Run gpupdate /force on the server
5. Log on the each workstation using each user name and run gpupdate /force. Some workstations required to logoff and logon and rerun gpudate 4 or 5 times. I knew the policy update applied properly when the gpudate command prompted me to logoff to apply some of the changes.
6. Make sure the original location for the redirected folder was shared with the proper permissions and the location for each of the folders in GP management editor was pointed to that share.
7. Make sure the users with redirections were logged off.
8. Go into the SBS console and enable folder redirection for the users that had it.
9.  Run gpupdate /force on the server
10. Log on the each workstation using each user name and run gpupdate /force. Some workstations required to logoff and logon and rerun gpudate 4 or 5 times. I knew the policy update applied properly when the gpudate command prompted me to logoff to apply some of the changes.

The owner of the business wants all the folders to be located in the users home directory (user shares) because he feels it's easier if they are all centrally located especially when browsing through the network. He thinks bouncing between the Usershares and FolderRedirection shares is too awkward. He was in corporate IT untill about 12 yrs ago so he has "ideas" on how things should be. I don't see why it should be a huge ordeal to move the redirected folder the Usershare in SBS, but right now I'm bit intimidated to try again after the first go around. Shouldn't I be able to change the folder redirections to a new location following the same steps as above?
It looks like you did the right thing. As I posted earlier, you can you use the wizard to move the share between drives but not to a different folder. So you;re saying he would like to move the user folders to the User shares, that doesn't make since but ok. you can use the gpo to redirect the folders and you can copy the folders over manually and then delete the folders from the original location once everything is working and change the  regedit key i gave you and drop the share on the redirected folders. But try this for a test user first. Just to make sure.
Hope this helps