Using AdjustTokenPrivileges to allow a user application to access TPMv2.0

  • Thread starter Thread starter Roeig rafael.co.il
  • Start date Start date
R

Roeig rafael.co.il

Guest
I am trying to use this sample code:

Enabling and Disabling Privileges in C++ - Win32 apps | Microsoft Docs

https:// docs.microsoft.com/he-il/windows/win32/secauthz/enabling-and-disabling-privileges-in-c--

I need to allow my application to access the TPMv2.0 and after initialization of the application disable this access.

The application executed with a user context (not administrator).

Question:

1. What privileges do I need to enable?

2. Do I use AdjustTokenPrivileges to accomplish this?

Continue reading...
 
Back
Top