Page 1 of 1

[SOLVED] tis-enable-bitlocker: does not recognize uefi

Published: April 30, 2024 - 11:00 AM
by t.heroult
Good morning
I don't understand where the following problem comes from:
On several machines, the packet failed with the following message:

Code: Select all

Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\common.py", line 4235, in install_wapt
    exitstatus = setup.install()
  File "C:\WINDOWS\TEMP\waptry_hdetw\setup.py", line 72, in install
  File "C:\Program Files (x86)\wapt\waptutils.py", line 1957, in error
    raise EWaptSetupException('Fatal error : %s' % reason)
waptutils.EWaptSetupException: Fatal error : ERROR: This computer BIOS does not boot in UEFI mode, you have to change BIOS mode to continue
In the code, I see that it is the Get-ComputerInfo command that is used when searching for the "BiosFirmwareType" property (with uppercase pass).
On these PCs, I enter Get-ComputerInfo and the property is indeed "Uefi".
So, I don't understand, it seems the package isn't retrieving the property...

Any ideas?

Re: tis-enable-bitlocker: does not recognize UEFI

Published: May 3, 2024 - 4:02 PM
by dcardon
Hi Thomas,

sorry, there's a regression in the run_powershell function with a mix of stderr and stdout. Simon is looking into it.

Regards,

Denis

Re: tis-enable-bitlocker: does not recognize UEFI

Published: July 12, 2024 - 10:42 AM
by t.heroult
Hi, I was just checking in on this matter.

Re: tis-enable-bitlocker: does not recognize UEFI

Published: July 12, 2024 - 11:25 AM
by sfonteneau
Isn't it better since the last release?

To check:

Code: Select all

C:\Windows\System32>waptpython
Python 3.8.19 (default, Jun 17 2024, 12:30:39) [MSC v.1929 32 bit (Intel)] on win32
>>> from setuphelpers import *
>>> get_powershell_str("Get-ComputerInfo", "BiosFirmwareType").upper()
'UEFI'

Re: tis-enable-bitlocker: does not recognize UEFI

Published: July 25, 2024 - 09:40
by dcardon
Hi Thomas,

did Simon's fix resolve the issue for you so I can mark the topic as resolved? :-)

Regards,

Denis

Re: tis-enable-bitlocker: does not recognize UEFI

Published: August 5, 2024 - 4:04 PM
by t.heroult
That seems OK
. Thanks.