Slow logoff from Windows Server 2012 Standard R2 RDSH with Windows Search installed and enabled.

Hi,

we're experiencing slow logoff in our deployment using User Profile Disk and Windows Search enabled.

Our environment consist of the following:

RDCB01 - Connection Broker
RDG01 - Gateway
RDWA01 - Web Access
RDSH01-04 - Session Host
LIC01 - License server
File01-02 - FileCluster

1 Collection with all of the 4 RDSHs.

User Profile Disk is located on a scale-out file server running 2012.

RDBC01, RDG01 annd RDWA01 are running 2012. RDSH01-04 and LIC01 are running 2012 R2.

The slow logoff occurs when many users are logged on to one of the RDSHs. At worst "Please wait for Remote Desktop Configuration" hangs for 30 minutes. Disabling Windows Search Service solves the issue (fast logoff), but due to use of Outlook we need to have it enabled.

Using procmon to trace Windows searchindexer.exe there are tons of queries against:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search\CrawlScopeManager\Windows\SystemIndex\*
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Search\Gather\Windows\SystemIndex\Sites\*

We've both tried to reinstall and rebuild the searchindex without luck.

Any idea how to solve this? Is there any way to tune the way searchindex accesses the registry?

Thanks in advance.

January 10th, 2014 4:15pm

Hi,

Did you find any specific Event ID\Error for your issue?

The issue which you are facing due to windows search service also occurs as Windows Search Service may not start and if we try to manually start then again the service will stop. So firstly you can check whether the Windows Search Service is started automatically and it doesnt stop.

Also can see this issue if there are missing sub keys or registry entries.  To resolve this you can try to delete all files with .BLF and .REGTRANS-MS extension in the following directory:

C:\windows\system32\config\TxR

Once these files are deleted, reboot the machine. Once rebooted, observe that the Windows Search service has already started and is in process of rebuilding the Index.

In meantime sharing article for more information.

1.  KB 2484025
2.  Desktop Search and Indexing File Types  

Hope it helps!

Thanks,
Dharmesh
Free Windows Admin Tool Kit Click here and download it now
January 13th, 2014 1:50am

Hi,
thanks for Your answer!

It seems to be a misunderstanding here. Disabling Windows Search service makes the logoff work properly and fast, but when the service is enabled and running the logoff is slow. We are not experiencing problems regarding startup of the service.

There are no relevant event IDs regarding this, unfortunately.

January 13th, 2014 3:30am

Hi,

Thanks for your comment.

Sorry for misunderstanding your issue. But I have suggested you to try to delete all the files inside the mention directory, and see whether issue still occurs. Suggesting you this step because after doing this the Index will be rebuilt and if there is any issue with the files which is causing slowness might possible that it will be resolved.

Hope it helps to understand!

Thanks,
Dharmesh
Free Windows Admin Tool Kit Click here and download it now
January 13th, 2014 4:13am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics