LimitSystemRestoreCheckpointing

This per-machine system policy turns off the creation of checkpoints by Windows Installer.

Set to 0 or absent, the installer does normal checkpointing for install or uninstall. Set to 1, the installer creates no checkpoints.

This policy affects only checkpoints set by Windows Installer. On Windows XP computers, administrators may decide to disable checkpointing from within Windows Installer to improve performance. System Restore also creates additional checkpoints. For more information, see System Restore Points and the Windows Installer and Setting a Restore Point from a Custom Action.

Registry Key

Set the value named LimitSystemRestoreCheckpointing under the following registry key.

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer

Data Type

REG_DWORD

Send comments about this topic to Microsoft

Build date: 10/29/2009

Tags :


Community Content

MollyBos - MSFT
Detecting whether LimitSystemRestoreCheckpointing policy was set in the logs

I recently had an email thread inquiry: "Why is the User Account Control credential dialog taking 30 seconds to show up after I click the last button of my Windows Installer native User Interface?".

To dig into this, as with most Windows Installer troubleshooting, one should start by turning on the verbose logging. More on configuring verbose logging is found in the Community Content section fo the Logging policy topic (http://msdn2.microsoft.com/en-us/library/aa369776.aspx).

With this policy set, there were 7 seconds between the last Windows Installer UI dialog and the User Account Control credential dialog. Without this policy set, the wait is 28 seconds. Here's how you can tell in the logs (times in bold, LimitSystemRestoreCheckpointing logging in italics).

With LimitSystemRestoreCheckpointing Policy Set to 1

UI Hand-off to engine

MSI (c) (BC:AC) [17:30:10:489]: Doing action: ExecuteAction

System Restore point not called (per policy) thus no time

  MSI (s) (E8:68) [17:30:10:988]: Machine policy value 'LimitSystemRestoreCheckpointing' is 1
MSI (s) (E8:68) [17:30:10:988]: SRSetRestorePoint skipped for this transaction.

UAC Call (with a deny response)

MSI (s) (E8:68) [17:30:11:800]: MSI_LUA: Elevation required to install product, will prompt for credentials
MSI (s) (E8:68) [17:30:17:848]: MSI_LUA: Credential Request return = 0x800704C7
User cancelled installation.

With LimitSystemRestoreCheckpointing Policy Set to 0

UI Hand-off to engine

MSI (c) (20:AC) [17:31:14:992]: Doing action: ExecuteAction

System Restore point is called (per policy) which costs 21 seconds

  MSI (s) (E8:B0) [17:31:15:366]: Machine policy value 'LimitSystemRestoreCheckpointing' is 0
MSI (s) (E8:B0) [17:31:15:366]: Note: 1: 1715 2: Citeknet IFilter Explorer (Beta 2)
MSI (s) (E8:B0) [17:31:15:366]: Calling SRSetRestorePoint API. dwRestorePtType: 0, dwEventType: 102, llSequenceNumber: 0, szDescription: "Installed Citeknet IFilter Explorer (Beta 2)".
MSI (s) (E8:B0) [17:31:36:364]: The call to SRSetRestorePoint API succeeded. Returned status: 0, llSequenceNumber: 107.

UAC Call (with a deny response)

MSI (s) (E8:B0) [17:31:36:566]: MSI_LUA: Elevation required to install product, will prompt for credentials
MSI (s) (E8:B0) [17:31:42:225]: MSI_LUA: Credential Request return = 0x800704C7
User cancelled installation.


Robert Flaming
Windows Installer Program Manager
Team Blog: http://blogs.msdn.com/windows_installer_team
Own Blog: http://blogs.msdn.com/rflaming

Tags :

Page view tracker