Mark Minasi's Reader Forum
Mark Minasi's Reader Forum
Home | Profile | Register | Active Topics | Active Polls | Members | Search | FAQ | Minasi Forum RSS Feed
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 HALP! Questions on Windows and Windows Server
 Group Policies
 Windows 7 slow processing Docs Folder Redirection
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

JShapiro
Here To Stay

USA
127 Posts
Status: offline

Posted - 03/16/2010 :  2:50:00 PM  Show Profile  Reply with Quote
We are now introducing Windows 7 into our mostly XP environment. I've had Group Policies redirecting system folders for a number of years under XP. All recently deployed Windows 7 machines (32 or 64 bit) are experiencing significant delays getting to the desktop on logon. The systems all hang processing folder redirection for a couple of minutes. Our domain is still Win 2003.

Specifically it is related to the redirection of the Documents folder. Since all these folders were already redirected for all our users on their XP machines, I don't think it is related to having to move files.

I am seeing warnings such as these in the Application event log:

The winlogon notification subscriber <GPClient> is taking long time to handle the notification event (Logon). [event id 6005]

The winlogon notification subscriber <GPClient> took 75 second(s) to handle the notification event (Logon). [event id 6006]

Before the first warning and after the second warning, I see entries indicating that my documents folder redirection policy is being applied and then that it was successfully applied.

Just to be sure it wasn't something else, I set a security permission denying the application of this policy to my user account and rebooted a few times. Each time, I got right to my desktop. After I took out the deny permission, I started experiencing the delays again.

I have a similar policy relocating the desktop that is behaving just fine.

By the way, I'm not seeing this problem on Vista 64 machines introduced last year.

Anybody have any ideas

Jonathan Shapiro

dmarelia
Moderator

USA
2922 Posts
Status: offline

Posted - 03/16/2010 :  4:25:49 PM  Show Profile  Visit dmarelia's Homepage  Reply with Quote
It might be worthwhile to turn on verbose FR tracing for this. Does it happen at every user logon or is it just the first time? It could be that FR is scanning files to determine if there have been any changes but it doesn't seem like that should take so long.

Darren Mar-Elia
MS MVP--Group Policy
Group Policy Resource Site: http://www.gpoguy.com
Group Policy Blog: http://www.sdmsoftware.com/blog
Group Policy on Twitter:
http://www.twitter.com/grouppolicyguy
Like us on Facebook: http://www.facebook.com/SDMSoftware
***********
GPO Inventory & Comparison Simplified. Get SDM Software's GPO Reporting Pak -- http://sdmsoftware.com/group-policy-management-products/group-policy-reporting-pak/
Go to Top of Page

JShapiro
Here To Stay

USA
127 Posts
Status: offline

Posted - 03/16/2010 :  6:31:42 PM  Show Profile  Reply with Quote
I'm not sure what you are referring to with verbose FR tracing. I'm familiar with a registry hack that can turn on verbose policy logging, but I'm not sure that's what you're referring to here. Are you referring to something with the file replication service?

And to answer your question, it happens at every logon on every Win7 computer. Although, when I log on with a domain admin account, there is no delay.

Jonathan Shapiro
Go to Top of Page

dmarelia
Moderator

USA
2922 Posts
Status: offline

Posted - 03/17/2010 :  12:32:22 PM  Show Profile  Visit dmarelia's Homepage  Reply with Quote
sorry--verbose Folder Redirection tracing. Here's the details: under HKLM\Software\Microsoft\Windows NT\CurrentVersion\Diagnostics, add a REG_DWORD value called FDeployDebugLevel. Then set it to Decimal 15. Once you do that, try re logging in and after it finished, you should have a trace file in the following location: %windir%\Debug\UserMode\fdeploy.log

Darren

Darren Mar-Elia
MS MVP--Group Policy
Group Policy Resource Site: http://www.gpoguy.com
Group Policy Blog: http://www.sdmsoftware.com/blog
Group Policy on Twitter:
http://www.twitter.com/grouppolicyguy
Like us on Facebook: http://www.facebook.com/SDMSoftware
***********
GPO Inventory & Comparison Simplified. Get SDM Software's GPO Reporting Pak -- http://sdmsoftware.com/group-policy-management-products/group-policy-reporting-pak/
Go to Top of Page

JShapiro
Here To Stay

USA
127 Posts
Status: offline

Posted - 03/18/2010 :  10:35:20 AM  Show Profile  Reply with Quote
I don't have a Diagnostics key where you say. I have a DiskDiagnostics key though. Is that the one or did it move or change with Win7x64?

Jonathan Shapiro
Go to Top of Page

dmarelia
Moderator

USA
2922 Posts
Status: offline

Posted - 03/18/2010 :  5:49:16 PM  Show Profile  Visit dmarelia's Homepage  Reply with Quote
You need to create the Diagnostics key if its not there.

Darren Mar-Elia
MS MVP--Group Policy
Group Policy Resource Site: http://www.gpoguy.com
Group Policy Blog: http://www.sdmsoftware.com/blog
Group Policy on Twitter:
http://www.twitter.com/grouppolicyguy
Like us on Facebook: http://www.facebook.com/SDMSoftware
***********
GPO Inventory & Comparison Simplified. Get SDM Software's GPO Reporting Pak -- http://sdmsoftware.com/group-policy-management-products/group-policy-reporting-pak/
Go to Top of Page

selasley
Welcome Newcomer

1 Posts
Status: offline

Posted - 04/07/2010 :  10:53:17 AM  Show Profile  Reply with Quote
Just thought I would chime in that I'm seeing the same issue as the Jonathan. With "Verbose status messages" in effect I see the delay during logon at "redirecting folders". Disabling offline files eliminates the delay; re-enabling reintroduces the delay. Still trying to figure out why this is happening, but offline files is needed for search, so disabling is not a desirable solution.

BTW, on Win7 setting that verbose FR tracing key doesn't result in a log file--rather it adds detail to the event log AFAIK.
Go to Top of Page

kjhoskin
Welcome Newcomer

20 Posts
Status: offline

Posted - 04/14/2010 :  09:55:50 AM  Show Profile  Reply with Quote
Have the same issue with Win7 folder redirection of My documents when My Doc's is set to be avaliable offline. We only have a few Win7 laptop users and laptop users are the only ones who use offline files so its a bit of a pain.
Go to Top of Page

sagima
Welcome Newcomer

6 Posts
Status: offline

Posted - 04/15/2010 :  03:57:21 AM  Show Profile  Reply with Quote
I've been having this issue too. I currently have a support call open to Microsoft about it - they first suggested updating the cscsvc.dll using the hotfix for kb977229

It didn't fix my problem but it might fix it for one of yours. They are currently studying various logs from an affected computer - hopefully they will have another (hopefully better) fix for me today.

Go to Top of Page

sagima
Welcome Newcomer

6 Posts
Status: offline

Posted - 04/23/2010 :  07:42:11 AM  Show Profile  Reply with Quote
My delayed login was apparently caused by having the "Do not automatically make redirected folders available offline" group policy enabled.

It works fine with that set to not configured.

Not sure that's actually a "solution" though as I don't necessarily want those cached

Further discussion with Microsoft next week I think
Go to Top of Page

aval
Honorable But Hopeless Addict

USA
3272 Posts
Status: offline

Posted - 04/25/2010 :  6:36:30 PM  Show Profile  Reply with Quote
Laptops are one thing, but is there any point in enabling Offline Files for desktops?

Someone mentioned search?

Sooner or later we'll introduce Windows 7, and we do use Folder Redirection (but not offline files), so I'm interested in a solution (or knowing why I would want or need Offline Files enabled for desktops).
Go to Top of Page

JessicaD
Welcome Newcomer

5 Posts
Status: offline

Posted - 05/03/2010 :  09:49:23 AM  Show Profile  Reply with Quote
JShapiro,

Microsoft does have an official Windows 7 Support Forum located here http://tinyurl.com/9fhdl5 . It is supported by product specialists as well as engineers and support teams. You may want to also check the threads available there for additional assistance and guidance.

Jessica
Microsoft Windows Client Team


Go to Top of Page

kjhoskin
Welcome Newcomer

20 Posts
Status: offline

Posted - 07/13/2010 :  07:14:38 AM  Show Profile  Reply with Quote
any movement on this one, we still have the issue
Go to Top of Page

sagima
Welcome Newcomer

6 Posts
Status: offline

Posted - 07/28/2010 :  10:23:50 AM  Show Profile  Reply with Quote
Microsoft support have told me that it is something to do with policy preferences forcing policy to to refreshed in the foreground. they are talking to development to determine a fix

At least that is the stage my problem with this is at.
Go to Top of Page

kjhoskin
Welcome Newcomer

20 Posts
Status: offline

Posted - 07/28/2010 :  10:26:54 AM  Show Profile  Reply with Quote
good to see a bit of movement as we have several laptop users who like to use mydoc's offline and we redirect our mydocs to a network share so this is a bit of a pain!
Go to Top of Page

dmarelia
Moderator

USA
2922 Posts
Status: offline

Posted - 07/28/2010 :  6:25:44 PM  Show Profile  Visit dmarelia's Homepage  Reply with Quote
I'm not quite sure I understand the foreground processing thing. Folder Redirection *always* processes in the foreground, so that doesn't make much sense, unless there is more to it.

Darren Mar-Elia
MS MVP--Group Policy
Group Policy Resource Site: http://www.gpoguy.com
Group Policy Blog: http://www.sdmsoftware.com/blog
Group Policy on Twitter:
http://www.twitter.com/grouppolicyguy
Like us on Facebook: http://www.facebook.com/SDMSoftware
***********
GPO Inventory & Comparison Simplified. Get SDM Software's GPO Reporting Pak -- http://sdmsoftware.com/group-policy-management-products/group-policy-reporting-pak/
Go to Top of Page

sagima
Welcome Newcomer

6 Posts
Status: offline

Posted - 07/29/2010 :  03:44:53 AM  Show Profile  Reply with Quote
Sorry. To try and explain what MS has told me:

Folder redirection only runs (it does run in foreground) if there are changes to be made, which is almost never. It does that by raising a flag to process policy in the foreground when it needs to do so but preferences sets that flag every time policy is refreshed on the computer. There was also something to do with unpinning manually pinned folders but I confess I didn't quite get that part of the explanation. I'm told my support call has been passed to Development now to see if they can do anything.

For us it requires all of the following to be occur:

Windows 7 (either x86 or x64)
Folder redirection group policy
Anything in Policy Preferences (we use this for drive mappings and a couple of registry settings)
Do not automatically make redirected folders available offline policy enabled
Any redirected folder manually made offline (although size makes a difference so documents causes more problems than desktop or favorites)

currently to get around this we are using loopback policy to make those laptops on which we need offline files have the "do not make redirected folders offline" policy set to not configured which, although far from perfect, seems to keep our win7 laptop users from beating their laptops to bits from logon frustration.
Go to Top of Page

kjhoskin
Welcome Newcomer

20 Posts
Status: offline

Posted - 07/29/2010 :  03:59:27 AM  Show Profile  Reply with Quote
we have the exact same set of factors that give rise to the problem. Currently we only have around a dozen win7 laptop users, and they're having to put up with turning off offline files, as some of the users have 3Gb or more and login can take 10mins or more!
Go to Top of Page

sagima
Welcome Newcomer

6 Posts
Status: offline

Posted - 07/29/2010 :  04:40:51 AM  Show Profile  Reply with Quote
Login can come down to 2ish minutes if you willing to disable on-access virus scanning.
Go to Top of Page

kjhoskin
Welcome Newcomer

20 Posts
Status: offline

Posted - 07/29/2010 :  04:43:39 AM  Show Profile  Reply with Quote
2mins is still enough to cause users to moan! I'd moan if it took me 2 mins to login!
Go to Top of Page

dmarelia
Moderator

USA
2922 Posts
Status: offline

Posted - 07/30/2010 :  12:59:58 PM  Show Profile  Visit dmarelia's Homepage  Reply with Quote
Thanks sagima. I may try to track this down myself. It still doesn't make sense. Even if GP Preferences forces foreground synchronous processing each time, Folder Redirection should not find anything to do each time. So, I wonder what it is that is triggering it to try to do *something* and what that *something* is? Did you ever try turning on verbose FR tracing as I had mentioned above?

Darren Mar-Elia
MS MVP--Group Policy
Group Policy Resource Site: http://www.gpoguy.com
Group Policy Blog: http://www.sdmsoftware.com/blog
Group Policy on Twitter:
http://www.twitter.com/grouppolicyguy
Like us on Facebook: http://www.facebook.com/SDMSoftware
***********
GPO Inventory & Comparison Simplified. Get SDM Software's GPO Reporting Pak -- http://sdmsoftware.com/group-policy-management-products/group-policy-reporting-pak/
Go to Top of Page

sagima
Welcome Newcomer

6 Posts
Status: offline

Posted - 08/02/2010 :  10:32:53 AM  Show Profile  Reply with Quote
I will try and find time this week to do that. I have a feeling I tried before but I have long since wiped and installed the machne I was testing back then.
Go to Top of Page

jds8288
Welcome Newcomer

1 Posts
Status: offline

Posted - 08/04/2010 :  2:06:27 PM  Show Profile  Reply with Quote
We've been experiencing/trying to solve the same problem and more or less set it aside since it wasn't a major issue for many here. But it's quite frustrating and we want to find a solution before putting more users on Windows 7.

sagima, glad to hear you got Microsoft involved and it's interesting seeing what they told you about it. If you could keep us updated with what they have to say/resolutions from Development, it would be much appreciated.

As far the *something* that it is doing, here's what I learned from analyzing network traffic in Wireshark:

Windows appears to be querying the network folder for every file in the offline files cache. To arrive at this conclusion I did the following:

Test computer was not logged in
Using another system, removed a folder of ~9000 very small files from my network directory
Captured traffic from test computer while logging into my domain account - long delay like expected
Looking at the trace I can see an SMB packet indicating STATUS_OBJECT_PATH_NOT_FOUND for each of the small files that are no longer on the server but would have still existed in the offline cache of the test system.

A query is also present for each existing file too, it appears.
Go to Top of Page

lefty8680
Welcome Newcomer

1 Posts
Status: offline

Posted - 08/04/2010 :  4:24:46 PM  Show Profile  Reply with Quote
I've got a rather weird situation with folder redirection myself:

Windows XP Clients with SP3 connected to Windows Server 2008 R2. I've noticed when browsing common staff folders which have no my documents, my pictures, my videos folders, browsing is smooth, but when a user tries to open their network share through either My Computer and then the H drive or through My Documents, it takes 2 to 3 seconds. If they try to browse through the my pictures, my videos and their sub folders and back up to the root my documents, it takes 2 to 3 seconds to open each one, however, if they open my documents and then click on a folder they created and then go down to the sub folders and back up its all smooth...doesnt make any sense! We recently migrated from windows server 2003 to 2008 R2...



Don't know if this helps anyone (from year 2003) but worth a read - might help someone out there...
http://www.pcreview.co.uk/forums/thread-1946092.php
Go to Top of Page

aval
Honorable But Hopeless Addict

USA
3272 Posts
Status: offline

Posted - 08/25/2010 :  5:57:12 PM  Show Profile  Reply with Quote
Any news on this?

But in summary, if offline files is turned off, no problem?

quote:
Do not automatically make redirected folders available offline policy enabled


But doesn't that settings make them available - or simply allow them to become available?

quote:
Any redirected folder manually made offline (although size makes a difference so documents causes more problems than desktop or favorites)


So if there are no folders actually made available offline... then the 5th condition is not met and the problem does not occur?

Edited by - aval on 08/25/2010 5:58:26 PM
Go to Top of Page

chenchen21621
Welcome Newcomer

1 Posts
Status: offline

Posted - 09/09/2010 :  01:14:42 AM  Show Profile  Reply with Quote
It might be worthwhile to turn on verbose FR tracing for this. Does it happen at every user logon or is it just the first time? It could be that FR is scanning files to determine if there have been any changes but it doesn't seem like that should take so long.


___________________________________________
http://www.monclerjacketde.com/

Edited by - chenchen21621 on 09/09/2010 01:15:20 AM
Go to Top of Page

kjhoskin
Welcome Newcomer

20 Posts
Status: offline

Posted - 10/14/2010 :  10:26:33 AM  Show Profile  Reply with Quote
bump
Go to Top of Page

gsaunders
Welcome Newcomer

1 Posts
Status: offline

Posted - 10/27/2010 :  11:15:20 AM  Show Profile  Reply with Quote
Is there any new news on this?
Go to Top of Page

kjhoskin
Welcome Newcomer

20 Posts
Status: offline

Posted - 10/27/2010 :  12:01:05 PM  Show Profile  Reply with Quote
quote:
Originally posted by gsaunders

Is there any new news on this?



could do with some we still have the problem
Go to Top of Page

steveianson
Welcome Newcomer

United Kingdom
1 Posts
Status: offline

Posted - 12/16/2010 :  11:08:53 AM  Show Profile  Reply with Quote
Has anyone seen anything official from Microsoft regarding this?
I was able to work around it by removing the "do not automatically make redirected folders available offline" setting but it would be nice to know if a fix is due at any point soon.
Go to Top of Page

kjhoskin
Welcome Newcomer

20 Posts
Status: offline

Posted - 02/09/2011 :  12:15:53 PM  Show Profile  Reply with Quote
we still have the issue too, you never know might be something in SP1 but I'm not holding my breath!
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Mark Minasi's Reader Forum © 2002-2011 Mark Minasi Go To Top Of Page
This page was generated in 0.2 seconds. Snitz Forums 2000