Microsoft KB Archive/290736

= ExcludeProfileDirs Turns to NULL When the Value Has More Than 260 Characters =

PSS ID Number: 290736

Article Last Modified on 10/29/2003

-

The information in this article applies to:


 * Microsoft Windows 2000 Server SP1
 * Microsoft Windows 2000 Advanced Server SP1

-



This article was previously published under Q290736





SYMPTOMS
In Windows 2000, you can specify certain folders that you want to exclude from being uploaded to your central roaming profile. If the registry value for ExcludeProfileDirs is greater than 260 characters, that list is ignored, and those folders are uploaded when you log off.



CAUSE
This issue occurs because Windows gets the value from the following registry setting:

HKEY_CURRENT_USER\Software\Microsoft\WindowsNT\CurrentVersion\Winlogon\ExcludeProfileDirs

The information is then written to Ntuser.ini. If the buffer is too small, the file returns a value of NULL. This value appears in Userenv as:

GetExclusionList: The exclusion on both server and client is empty



RESOLUTION
To resolve this issue, limit the number and length of the folders in the exclusion list so that the number of folders is within the buffer limits.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
If you enable Userenv logging, the following information is reported:  When the registry value is greater than 260 characters, the exclusion list turns to NULL, and the following message is reported:

USERENV(dc.c0) 18:42:24:847 GetExclusionList: The exclusion on both server and client is empty.

 If the value is less than 260 characters, the list gets processed, and the following message is reported:

USERENV(dc.c0) 18:45:51:744 GetExclusionList: The exclusion lists on both server and client are the same. The list is: [Local Settings;Temporary Internet Files;History;Temp;]



Additional query words: exclusion folders roaming profile ignored uploaded

Keywords: kbenv kbprb KB290736

Technology: kbwin2000AdvServ kbwin2000AdvServSearch kbWin2000AdvServSP1 kbwin2000Search kbwin2000Serv kbwin2000ServSearch kbwin2000ServSP1 kbWinAdvServSearch

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© 2004 Microsoft Corporation. All rights reserved.