TPM (test kodu WMI)

0

Hej,
Czy mógłby ktoś z WAS, kto posiada komputer, który ma moduł TPM (Trusted Platform Module), sprawdzić kod z załącznika?
Niestety, mój laptop jest za stary. Kod korzysta z zapytania WMI (klasa Win32_TPM, https://learn.microsoft.com/en-us/windows/win32/secprov/win32-tpm).

Proszę o pokazanie wyniku z konsoli.
-Pawel
TPM Test.zip

0

D:\Downloads\TPM Test\Win32\Release>tpm
IsActivated_InitialValue True
IsEnabled_InitialValue True
IsOwned_InitialValue True
ManufacturerId 1229870147
ManufacturerIdTxt INTC
ManufacturerVersion 500.14.0.0
ManufacturerVersionFull20 500.14.0.0
ManufacturerVersionInfo Intel
PhysicalPresenceVersionInfo 1.3
SpecVersion 2.0, 0, 1.38

Press Enter to exit

windows 11, uruchomione jako adminstrator

0
IsActivated_InitialValue       True
IsEnabled_InitialValue         True
IsOwned_InitialValue           True
ManufacturerId                 1398033696
ManufacturerIdTxt              STM
ManufacturerVersion            8.16
ManufacturerVersionFull20      Not Supported
ManufacturerVersionInfo
PhysicalPresenceVersionInfo    1.0
SpecVersion                    1.2, 2, 2

Laptop 8-letni, Lenovo X201 Tablet (Windows 10, 64-bit).

0

screenshot-20220923091024.png

0

Dzięki,
Czyli jest OK. Kod zwraca poprawne dane, jeśli klasa jest zarejestrowana (TPM fizycznie istnieje).
-Pawel

0
IsActivated_InitialValue       True
IsEnabled_InitialValue         True
IsOwned_InitialValue           True
ManufacturerId                 1398033696
ManufacturerIdTxt              STM
ManufacturerVersion            1.258.0.0
ManufacturerVersionFull20      1.258.0.0
ManufacturerVersionInfo         ☺☺☻ ☻☺☻
PhysicalPresenceVersionInfo    1.3
SpecVersion                    2.0, 0, 1.38

Win 10, świeży laptop

0
IsActivated_InitialValue       True
IsEnabled_InitialValue         True
IsOwned_InitialValue           True
ManufacturerId                 1229346816
ManufacturerIdTxt              IFX
ManufacturerVersion            7.85.4555.0
ManufacturerVersionFull20      7.85.17.51968
ManufacturerVersionInfo        SLB9670
PhysicalPresenceVersionInfo    1.3
SpecVersion                    2.0, 0, 1.38
0

Panowie,
Proszę o jeszcze jeden test. Zrobiłem implementację wtyczki dla NSIS w Delphi. Jej zadaniem będzie pobranie podstawowych informacji o systemie użytkownika (czasami jest to przydatne, przy instalacji, np. czy CPU jest odpowiedni, czy wielkość RAM jest odpowiedna, czy jak tutaj, czy moduł TPM jest wspierany.

To demo instalatora powinno wyświetlić podstawowe informacje o systemie operacyjnym (to na pewno działa) oraz o TPM (tego u siebie jak wiecie nie mogę przetestować (dostaję puste wyniki, bo mój laptop nie wspiera modułu TPM - w sumie nie wiem czy płakać, czy się cieszyć :P)).

Proszę o wklejenie tekstu wynikowego (kliknąć prawym klawiszem myszy na polu dziennika i wybrać "Copy details to clipboard").

SysInfoDemo.zip

Dziękuję za każdy wynik!
Trudno coś napisać, jak się nie ma jak przetestować wyników...

0

Za dużo chcesz wiedzieć… :D

Operating System Information
   Operating System Caption: Microsoft Windows 10 Pro
   Operating System Manufacturer: Microsoft Corporation
   Operating System Version: 10.0.19044
   Operating System Build Number: 19044
   Operating System Language: 1045
   Operating System Locale: 0415
   Operating System Code Set: 1250
   Operating System Country Code: 48
   Operating System Product Name: Windows 10 Pro
   Operating System Edition ID: Professional
   Operating System Display Version: 21H2
   Operating System Current Build Number: 19044
   Operating System UBR: 2075
   Operating System ReleaseID: 2009


Trusted Platform Module (TPM) Information
   IsActivated_InitialValue: True
   IsEnabled_InitialValue: True
   IsOwned_InitialValue: True
   SpecVersion: 1.2, 2, 2
   ManufacturerVersion: 8.16
   ManufacturerVersionInfo: 
   ManufacturerId: 1398033696
   PhysicalPresenceVersionInfo: 1.0


Completed
0

Czyli jest OK. Dzięki!

0
Operating System Information
   Operating System Caption: Microsoft Windows 10 Pro
   Operating System Manufacturer: Microsoft Corporation
   Operating System Version: 10.0.19044
   Operating System Build Number: 19044
   Operating System Language: 1045
   Operating System Locale: 0415
   Operating System Code Set: 1250
   Operating System Country Code: 48
   Operating System Product Name: Windows 10 Pro
   Operating System Edition ID: Professional
   Operating System Display Version: 21H2
   Operating System Current Build Number: 19044
   Operating System UBR: 2006
   Operating System ReleaseID: 2009


Trusted Platform Module (TPM) Information
   IsActivated_InitialValue: True
   IsEnabled_InitialValue: True
   IsOwned_InitialValue: True
   SpecVersion: 2.0, 0, 1.38
   ManufacturerVersion: 7.85.4555.0
   ManufacturerVersionInfo: SLB9670         
   ManufacturerId: 1229346816
   PhysicalPresenceVersionInfo: 1.3
0
Operating System Information
   Operating System Caption: Microsoft Windows 11 Pro
   Operating System Manufacturer: Microsoft Corporation
   Operating System Version: 10.0.22000
   Operating System Build Number: 22000
   Operating System Language: 1045
   Operating System Locale: 0415
   Operating System Code Set: 1250
   Operating System Country Code: 48
   Operating System Product Name: Windows 10 Pro
   Operating System Edition ID: Professional
   Operating System Display Version: 21H2
   Operating System Current Build Number: 22000
   Operating System UBR: 1042
   Operating System ReleaseID: 2009


Trusted Platform Module (TPM) Information
   IsActivated_InitialValue: True
   IsEnabled_InitialValue: True
   IsOwned_InitialValue: True
   SpecVersion: 2.0, 0, 1.38
   ManufacturerVersion: 500.16.0.0
   ManufacturerVersionInfo: Intel           
   ManufacturerId: 1229870147
   PhysicalPresenceVersionInfo: 1.3


Completed

Czemu w Operating System Caption jest Microsoft Windows 11 Pro, a w Operating System Product Name jest Windows 10 Pro?

2

Dla zainteresowanych. Skończyłem prace nad pierwszą wersją wtyczki dla NSIS.
SysInfo 1.0 pozwala na pobranie podstawowych informacji o systemie, które mogą być przydatne przy instalacji oprogramowania.

Przykładowy skrypt pozwala na zapoznanie się ze sposobem użycia. Wymagany jest NSIS (https://nsis.sourceforge.io/Download)
Jak będzie zainteresowanie to dodam jeszcze informacje o karcie graficznej i... nie wiem jeszcze co było by pomocne w instalacji.

-Pawel

0

Wtyczka SysInfo 1.1 dla NSIS
W tej wersji dodałem wsparcie dla pobierania danych o karcie graficznej (przy czym jeśli jest ich więcej wybierana jest ta > VRAM) oraz interfejsie sieciowym (aktywnym).
Można również pobrać info o SecureBoot (włączone lub nie) oraz UEFI Boot Mode (lub Legacy BIOS).
Więcej informacji w przykładowym skrypcie użycia.

-Pawel

1 użytkowników online, w tym zalogowanych: 0, gości: 1