Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Software Restriction Policy Enforcement set to �All Software Files� causes checks against paths/files that are invalid


View products that this article applies to.

Source: Microsoft Support

↑ Back to the top


Rapid publishing

RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.

↑ Back to the top


Symptom



When you log onto a server running Windows Server 2003 with an account that has a home drive configured and you are using software restriction policy enforcement set to �all software files�, you may observe invalid path queries across the network when a DLL is loaded by Explorer.exe or MMC.exe, for example opening the Start menu, refreshing the Desktop or using any administrative tools.� The invalid path queries can be seen in a network trace or in a process monitor capture.



A network trace or process monitor capture will show the UNC path to the home drive appended with two question marks (??) and then the path to the DLL in the system 32 directory. The following are two �examples:

��������� \\Server\Share\UserName\??\C:\Windows\system32\DLLName.dll

��������� H:\??\C:\Windows\system32\DLLName.dll

The request will fail with some type of invalid syntax or path not found error.

Additionally, if the home drive is across a WAN network you may experience a delay each time explorer.exe or MMC.exe loads a DLL.� The delay experienced will be dependent on the amount of network latency between the server you are logged into and the server holding the home drive.

↑ Back to the top


Cause



This problem occurs when the software restriction policy enforcement is set to �all software files�, the reason is that the server will check each DLL to verify the user is allowed to run/load that DLL.

The invalid path names are caused by a problem in advapi32.dll

↑ Back to the top


Resolution



To work around this issue:

1.������������������ Go into the Group Policy Object that defines the software restriction policy.

2.������������������ Using Group Policy Object Editor navigate to the software restriction settings �User Configuration > Windows Settings > Security Settings > Software Restriction Policies�

3.������������������ Find the object named �Enforcement� in the right hand window pane, right click on it and select properties.

4.������������������ Under the section �Apply software restriction policies to the following:� select the first option �All software files except libraries (such as DLLs)� which is the default option.

↑ Back to the top


Disclaimer

MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE �MATERIALS�) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.

TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.

↑ Back to the top


Keywords: kbnomt, kbrapidpub, KB959074

↑ Back to the top

Article Info
Article ID : 959074
Revision : 1
Created on : 10/20/2008
Published on : 10/20/2008
Exists online : False
Views : 197