Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SRPTrustLevel

Sets the software restriction policy (SRP) trust level for applications.

Registry Entry

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID
   {AppID_GUID}
      SRPTrustLevel = value

Remarks

This is a REG_DWORD value that is available starting with Windows XP.

ValueDescription
0x0 (SAFER_LEVELID_DISALLOWED)The application is disallowed from accessing and security-sensitive user privileges.
0x40000 (SAFE_LEVELID_FULLYTRUSTED)The application has unrestricted access to the user's privileges.

 

If the SRPTrustLevel value does not exist, the default value of SAFER_LEVELID_DISALLOWED is used. If SRPTrustLevel is of the wrong type or out of range, COM returns the error COMADMIN_E_SAFERINVALID. If an activation of any sort fails because of SRP trust checks, COM returns the error CO_E_ACTIVATIONFAILED.

Related topics

Security in COM
SRPActivateAsActivatorChecks
SRPRunningObjectChecks

 

 

Show:
© 2017 Microsoft