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.

Gpresult.exe terminates unexpectedly displaying security options when using the "/v" flag on Windows Sever 2003 x64


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



On a Windows Server 2003 x64 computer, gpresult.exe may terminate unexpectedly while attempting to display security options using the "/v" flag to include verbose information.

The following error is logged in the Application log:

Event Type: Error
Event Source: Application Error
Event ID: 1000
Description: Faulting application gpresult.exe, version 5.2.3790.3959, faulting module gpresult.exe, version 5.2.3790.3959, fault address 0x000000000001323c.

↑ Back to the top


Cause



This problem may occur when the following Group Policy setting is enabled:

����Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options

����Interactive Logon: Prompt user to change password before expiration

Gpresult.exe reads this policy setting display name from the registry and clears the security cookie on the stack in the process. This later causes a failure on security cookie check causing the application to terminate and event ID 1000 to be logged in the Application log.

↑ Back to the top


Resolution



Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756�How to back up and restore the registry in Windows</Formatting>
  1. Start Regedit.exe.
  2. Edit the following REG_SZ value: "Interactive logon: Prompt user to change password before expiration" and set it to "Interactive logon: Prompt user to change password before expire"

    HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SeCEdit\Reg Values\MACHINE/Software/Microsoft/Windows NT/CurrentVersion/Winlogon/PasswordExpiryWarning/DisplayName

    Note It is necessary to change the word expiration to expire in order to reduce the string size of the registry value to prevent this error.

↑ 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: KB971243, kbnomt, kbrapidpub, kbarchive, kbnosurvey

↑ Back to the top

Article Info
Article ID : 971243
Revision : 1
Created on : 1/14/2015
Published on : 1/14/2015
Exists online : False
Views : 565