+ Post New Thread
Page 2 of 5 FirstFirst 12345 LastLast
Results 16 to 30 of 71
Windows 7 Thread, Folder Redirection - point of despair :( :( [PICS] in Technical; Thanks Steve, will try this tomorrow....
  1. #16

    Miscbrah's Avatar
    Join Date
    Dec 2011
    Posts
    885
    Thank Post
    244
    Thanked 251 Times in 151 Posts
    Rep Power
    114
    Thanks Steve, will try this tomorrow.

  2. #17

    Join Date
    Nov 2007
    Location
    Rotherham
    Posts
    1,675
    Thank Post
    122
    Thanked 126 Times in 102 Posts
    Rep Power
    45
    I'd be inclined to agree with Steve21 that Windows will be trying to redirect the users home folder to \\fs1\homes\Documents
    wich will give everyone the same home folder.

    Does that folder actually exist and if so what's the premissions on it? I would personally be expecting something like \\fs1\homes\%username%\Documents for that setting. Though I personally have the home area set in the users AD account then use the "redirect to users home area" option.

  3. 2 Thanks to Stuart_C:

    Miscbrah (13th August 2012), psydii (13th August 2012)

  4. #18

    Join Date
    Jul 2006
    Location
    London
    Posts
    1,254
    Thank Post
    111
    Thanked 242 Times in 193 Posts
    Blog Entries
    1
    Rep Power
    74
    Patch Patch Patch.

    While the chances are that the others in this thread will help you to getting the config right, the whole folder redirection et al. stack in W7 is buggy as hell.

    Checking that there aren't later versions of Samba that address issues in use cases that are relevant to you, might be a profitable endeavour.

    Also patch Windows 7 with the latest version of: rdbss.sys mrxsmb.sys mrxsmb10.sys mrxsmb20.sys smb.sys smb2.sys csc.sys mup.sys tcpip.sys fwpkclnt.sys ndis.sys, DHCPCORE.dll shell32.dll oh and NTOSKRNL.sys. It then starts to work properly. While you're at it, install latest WMI and User profile components for faster more reliable and consistent logons.

    Good places to start for reference are:
    How the synchronization in Windows 7 Offline Files works - Romania Networking Team Blog - Site Home - TechNet Blogs
    List of currently available hotfixes for the File Services technologies in Windows Server 2008 and in Windows Server 2008 R2
    List of Performance hotfixes post SP1 for Windows 7 SP1 - The troubleshooters and problem solvers... - Site Home - TechNet Blogs
    Windows 7 file and folder refresh not working correctly. Anyone know a fix? (for links to more recent hotfixes for the above)

    @Steve21 while I agree with most of your post, I think the statement
    as all the redirecting is done serverside, then just points to a folder.
    is wrong. All the redirection logic and most or the work occurs on the client, the server just gets told where to put the files.

    Final thought: From what perspective are the user's files wiped? Is it possible that their Username folder has been 'renamed' Documents? Also from client side, during automatic caching a users Documents folder can appear to be empty until the initial sync is complete.
    Last edited by psydii; 13th August 2012 at 09:45 AM.

  5. 2 Thanks to psydii:

    Miscbrah (13th August 2012), Steve21 (13th August 2012)

  6. #19

    Join Date
    Jul 2006
    Location
    London
    Posts
    1,254
    Thank Post
    111
    Thanked 242 Times in 193 Posts
    Blog Entries
    1
    Rep Power
    74
    @Stuart_C Just read your sig. Am now craving for a bacon butty.

  7. #20

    Miscbrah's Avatar
    Join Date
    Dec 2011
    Posts
    885
    Thank Post
    244
    Thanked 251 Times in 151 Posts
    Rep Power
    114
    Thanks for all the help folks. I've finally got some new hope from you posts.

    We read the other day that it's better to get a test account with a profile you can nuke server and client side each time, so I'm testing with that for now, if only to get some predictable working/failure events in App log.

    Once I've established a baseline of what works DEFINITELY and what doesn't DEFINITELY I'll be in a slightly better place.

  8. #21

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,689
    Thank Post
    334
    Thanked 515 Times in 483 Posts
    Rep Power
    179
    Quote Originally Posted by psydii View Post
    @Steve21 while I agree with most of your post, I think the statement is wrong. All the redirection logic and most or the work occurs on the client, the server just gets told where to put the files.
    Guess what I meant was in that setup the linux FS doesn't "touch" anything. It just gets files sent to it, for all purposes Windows is the only thing deciding the redirect (whether server/client)

    Steve

  9. #22

    Miscbrah's Avatar
    Join Date
    Dec 2011
    Posts
    885
    Thank Post
    244
    Thanked 251 Times in 151 Posts
    Rep Power
    114
    SUCCESS! At least, it works consistently and reliably in testing!

    Hold on I'll write it up.

    Oh wow I love all you guys so much!

  10. #23

    Miscbrah's Avatar
    Join Date
    Dec 2011
    Posts
    885
    Thank Post
    244
    Thanked 251 Times in 151 Posts
    Rep Power
    114
    Oh wait no it isn't.

  11. #24

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,343
    Thank Post
    624
    Thanked 1,584 Times in 1,421 Posts
    Rep Power
    414
    Oh dear, perhaps you can post what you thought had solved and what your investigations have revealed?

    Can you give a bit more info on how your linux fs is setup as well please?

    Ben

  12. Thanks to plexer from:

    Miscbrah (14th August 2012)

  13. #25

    Miscbrah's Avatar
    Join Date
    Dec 2011
    Posts
    885
    Thank Post
    244
    Thanked 251 Times in 151 Posts
    Rep Power
    114
    I'm still soldiering on with a few bits, but here's what I've got so far:

    Linux-side I got no idea. I know that home directories are set in AD accounts as \\fs1\homes and when a user connects, somehow Samba knows who it is and steers that user the right way based on their username. Directory-wise they would look like /home/staff/%username%/home from the point of view of the Samba server.

    Windows-side I've a bit more of a clue. Testing as a user with a profile on a different (Windows) server set up JUST to test out this issue, and deleting both the cached local profile AND server profile each time I log out before logging in as this user, I've found the following to be true:

    - Documents: (working reliably)
    Basic - Redirect everyone's folder to the same location
    Redirect to the user's home directory
    All 3 settings boxes unticked
    Policy removal set to Leave

    - Pictures: (working reliably)
    Follow the Documents folder

    - Music: (working reliably)
    Follow the Documents folder

    - Videos: (working reliably)
    Follow the Documents folder

    - Favorites: (working reliably)
    Basic - Redirect everyone's folder to the same location
    Redirect to the following location: \\fs1\homes\Favorites
    Both settings boxes unticked (third greyed out)
    Policy removal set to Leave

    - Contacts, Downloads, Links, Searches, Saved Games all working and set as per Favorites.

    Again, the above only works as a user with a profile that's deleted locally and on the server each time they are logged off before logging on again.

    With a user who already has a profile server-side and local profile allowed to cache (as per real-world use) with the settings above, MOST redirected folders will fail as below:


    BUT out of the blue one or more of them WILL redirect, so you might get 'Links' and 'Documents' working. This random working of one or more will stay working for this user until the local profile is deleted, then you'll have another one or more random redirections work alright until you delete the cached profile again. But again, that is with a real user with a real profile so I'm loth to chop that server-side to see what happens.

    Okay, that's about all I've got after a few days of fumbling. Bless your heart whoever's reading this...
    Last edited by Miscbrah; 14th August 2012 at 05:32 PM.

  14. #26
    Boredguy's Avatar
    Join Date
    Jun 2011
    Location
    Swindon
    Posts
    568
    Thank Post
    3
    Thanked 128 Times in 119 Posts
    Rep Power
    50
    What is the value in the Active Directory Home Path field for one of your users, as this is where the GPO will be looking to.

    Both sets of error screenshots are not showing a username in the path, so as far as Windows is concerned it could well be the same folder for everyone, which is causing the issue as someone mentioned previously.

    Knowing what the AD Home path is will help with possible solution

  15. Thanks to Boredguy from:

    Miscbrah (14th August 2012)

  16. #27

    Miscbrah's Avatar
    Join Date
    Dec 2011
    Posts
    885
    Thank Post
    244
    Thanked 251 Times in 151 Posts
    Rep Power
    114
    Home path in AD (set as W: ) is set to "\\fs1\homes" without the "".

    Really, honestly, that's what's there 100%. No %username% as you (or anyone sensible) might think. From my limited understanding of Linux, Samba somehow knows what user is accessing that UNC path and can steer them right.

    Beats me too tbh :/

  17. #28

    Join Date
    Jun 2010
    Location
    England
    Posts
    735
    Thank Post
    89
    Thanked 52 Times in 46 Posts
    Rep Power
    35
    Quote Originally Posted by Miscbrah View Post
    Home path in AD (set as W: ) is set to "\\fs1\homes" without the "".

    Really, honestly, that's what's there 100%. No %username% as you (or anyone sensible) might think. From my limited understanding of Linux, Samba somehow knows what user is accessing that UNC path and can steer them right.

    Beats me too tbh :/
    Not read all the post yet( And no nothing much about linux as well ) However could you not do the simple, and possibly easiest thing and change the Home Path in AD to \\lfs1\homes\%username% ?

  18. Thanks to ihaveaproblem from:

    Miscbrah (14th August 2012)

  19. #29

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,689
    Thank Post
    334
    Thanked 515 Times in 483 Posts
    Rep Power
    179
    Quote Originally Posted by Miscbrah View Post
    Home path in AD (set as W: ) is set to "\\fs1\homes" without the "".

    Really, honestly, that's what's there 100%. No %username% as you (or anyone sensible) might think. From my limited understanding of Linux, Samba somehow knows what user is accessing that UNC path and can steer them right.

    Beats me too tbh :/
    Why not set the test user as a standard windows setup aka AD has %username% in. And see what happens.

    End of day the only difference to what you're doing, and pretty much every other school I've seen is you're not using the %username% bit. Whether or not Samba "can" do this, it may well be the problem it's not always working. Best to test it and see if it works manually.

    Steve

  20. Thanks to Steve21 from:

    Miscbrah (14th August 2012)

  21. #30

    Miscbrah's Avatar
    Join Date
    Dec 2011
    Posts
    885
    Thank Post
    244
    Thanked 251 Times in 151 Posts
    Rep Power
    114
    Will try this out, though I think I did before. 6pm is chucking out time though, so I'll report back tomorrow.



    Ta guys.

SHARE:
+ Post New Thread
Page 2 of 5 FirstFirst 12345 LastLast

Similar Threads

  1. Folder Redirection - creation of folders before first login?
    By not_rich_yet in forum Windows Server 2008 R2
    Replies: 8
    Last Post: 8th May 2012, 09:27 AM
  2. Folder Redirections
    By plexer in forum Windows
    Replies: 4
    Last Post: 16th August 2006, 09:40 AM
  3. Random Folder Redirection Problems
    By ken_kaniff in forum Windows
    Replies: 8
    Last Post: 4th January 2006, 05:18 PM
  4. Folder redirection no desktop??
    By mullet_man in forum Wireless Networks
    Replies: 4
    Last Post: 6th December 2005, 10:34 AM
  5. Replies: 8
    Last Post: 2nd November 2005, 12:25 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •