Solved garlin's PowerShell scripts for updating Secure Boot CA 2023


That one's not my script. I wrote a different because the cjee21 script's output is harder to read.
Where is your script? Are there any other things in to download before I run it?
 

My Computer

System One

  • OS
    windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Antec/Case
    CPU
    Intel i5-10600kf
    Motherboard
    GIGABYTE Z590 UD AC
    Memory
    32gb corsair vengerance pro
    Graphics Card(s)
    AMD RX 6500XT
    Sound Card
    onboard
    Monitor(s) Displays
    40" Hisense
    Hard Drives
    Samsung 850
    Samsung 870
    Seagate 2TB
    PSU
    EVGA GQ 750

My Computers

System One System Two

  • OS
    Win 11 Pro 25H2 26200.8524
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self Built
    CPU
    Intel® Core™ i7-14700K
    Motherboard
    ASUS TUF Z690-PLUS WIFI BIOS 4505 11/29/25
    Memory
    G.SKILL Ripjaws S5 Series 64GB (2 x 32GB) DDR5
    Graphics Card(s)
    ASUS GeForce RTX 4070 Super 12GB
    Sound Card
    Sound Blaster AE-5 Plus
    Monitor(s) Displays
    ASUS TUF Gaming 27" 2K HDR Gaming
    Screen Resolution
    2560 x 1440
    Hard Drives
    Samsung 990 Pro 1TB NVMe (Win 11 25H2)
    SK hynix P41 500GB NVMe 25H2 DEV/Games
    SK hynix P41 2TB NVMe (x3)
    Crucial P3 Plus 4TB
    PSU
    Corsair RM850x Shift
    Case
    Antec Dark Phantom DP502 FLUX
    Cooling
    Corsair Nautilus 360 RS AIO
    Keyboard
    Logitech MK 320
    Mouse
    Razer Basilisk V3
    Internet Speed
    350Mbs
    Browser
    Firefox
    Antivirus
    Winows Security
    Other Info
    MR 8.1 Home

    System 3 Specs
    Win 11 Pro 25H2 26200.8524
    ASUS PRIME Z370-P II BIOS 3004 7/12/21
    Intel Core i7-8700 CPU @ 3.20GHz
    32GB DDR4 RAM (4x8)
    iGPU Intel UHD Graphics 630
  • Operating System
    Win 11 Pro 25H2 26200.8524
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self Built
    CPU
    Intel Core i7-11700F
    Motherboard
    Asus TUF Gaming Z590 Plus WiFi (BIOS 2803)
    Memory
    64 GB DDR4
    Graphics card(s)
    MSI GeForce RTX 3060 Ventus 2X 12GB
    Sound Card
    SoundBlaster Audigy Fx V2
    Monitor(s) Displays
    Samsung F27T350
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung 980 Pro 1TB
    Samsung 970 EVO Plus 2TB
    Samsung 870 EVO 500GB SSD
    PSU
    Corsair HX750
    Case
    Cougar MX330-G Window
    Cooling
    Thermalright Frozen Edge 240 Black AIO
    Internet Speed
    350Mbps
    Browser
    Firefox
    Antivirus
    Windows Security
@JohnSmith13 This is the third thread that you use to get attention for your own thread.
Could you please stop continuing that?
You are stealing other threads!
 

My Computer

System One

  • OS
    Windows 11 Pro 25H2 26200.8457
    Computer type
    PC/Desktop
    Manufacturer/Model
    Build by vendor to my specs
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    MSI PRO B550M-P Gen3
    Memory
    Kingston FURY Beast 2x16GB DIMM DDR4 2666 CL16
    Graphics Card(s)
    MSI GeForce GT 730 2GB LP V1
    Sound Card
    Creative Sound Blaster Audigy FX
    Monitor(s) Displays
    Samsung S24E450F 24"
    Screen Resolution
    1920 x 1080
    Hard Drives
    1. SSD Crucial P5 Plus 500GB PCIe M.2
    2. SSD-SATA Crucial MX500-2TB
    PSU
    Corsair CV650W
    Case
    Cooler Master Silencio S400
    Cooling
    Cooler Master Hyper H412R with Be Quiet Pure Wings 2 PWM BL038 fan
    Keyboard
    Cherry Stream (wired, scissor keys)
    Mouse
    Asus WT465 (wireless)
    Internet Speed
    70 Mbps down / 80 Mbps up
    Browser
    Firefox 130.0
    Antivirus
    F-Secure (Internetprovider version)
    Other Info
    Router: FRITZBox 7490
    Oracle VirtualBox 7 for testing software on Win 10 or 11
@JohnSmith13 This is the third thread that you use to get attention for your own thread.
Could you please stop continuing that?
You are stealing other threads!
I don't see it that way, he's trying to be helpful.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 25H2 26200.8524
    Computer type
    Laptop
    Manufacturer/Model
    Acemagic LX15PRO
    CPU
    AMD Ryzen 7 5825U with Radeon Graphics
    Memory
    16GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD 2TB
    Internet Speed
    30 Mbps
    Browser
    Brave
    Antivirus
    Webroot Secure Anywhere
    Other Info
    System 3

    Acer Swift SF114-34 laptop
    OS Windows 11 Pro 26200.8524
    CPU Pentium Silver N6000
    RAM 4GB
    SSD Samsung 970 EVO Plus SSD 2TB (an upgrade)
  • Operating System
    Windows 11 Pro 23H2 22631.2506
    Computer type
    Laptop
    Manufacturer/Model
    HP Mini 210-1090NR PC (bought in late 2009!)
    CPU
    Atom N450 1.66GHz
    Memory
    2GB
    Browser
    Brave
    Antivirus
    Webroot
It's alright, I replied back to @JohnSmith13's thread. The HP PC in question probably doesn't have the factory BIOS update to install the KEK CA 2023, which is a common problem that the update script tries to solve.
 

My Computer

System One

  • OS
    Windows 7
all I come up with is
Check_DBXUpdate.bin.ps1 : The term 'Check_DBXUpdate.bin.ps1' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:1
+ Check_DBXUpdate.bin.ps1 -audit
 

My Computer

System One

  • OS
    windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Antec/Case
    CPU
    Intel i5-10600kf
    Motherboard
    GIGABYTE Z590 UD AC
    Memory
    32gb corsair vengerance pro
    Graphics Card(s)
    AMD RX 6500XT
    Sound Card
    onboard
    Monitor(s) Displays
    40" Hisense
    Hard Drives
    Samsung 850
    Samsung 870
    Seagate 2TB
    PSU
    EVGA GQ 750
all I come up with is
Check_DBXUpdate.bin.ps1 : The term 'Check_DBXUpdate.bin.ps1' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:1
+ Check_DBXUpdate.bin.ps1 -audit
First off, in Powershell type CD "Path to script folder" and press enter, then type ./Check_DBXUpdate.bin.ps1 (enter)
 

My Computers

System One System Two

  • OS
    Windows 11 Enterprise 25H2 26200 7462
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom Build
    CPU
    Intel XEON E5-2699 v3
    Motherboard
    ASUS X99-A
    Memory
    64GB Teamgroup UD4-3600
    Graphics Card(s)
    NVIDIA GeForce GTX 1080 Ti
    Sound Card
    Integrated
    Monitor(s) Displays
    ACER X34 Predator
    Screen Resolution
    3440 x 1440
    Hard Drives
    Crucial CT1000P 3P SSD8 1TB
    Crucial CT1000 BX500 SSD 1TB
    PSU
    GameMax Pro
    Case
    Fractal Design
    Cooling
    Corsair H110iGT + 6 140mm Fans
    Keyboard
    Corsair K4
    Mouse
    G-Skill G502
    Internet Speed
    300MBs
    Browser
    Chrome
    Antivirus
    OEM
    Other Info
    ASUS RT-AC87U Router
  • Operating System
    25H2 26200.5074
    Computer type
    Laptop
    Manufacturer/Model
    ASUS X555LA
    Memory
    8GB
    Browser
    Chrome
    Antivirus
    OEM
There are three scripts available in the ZIP file:
Check_UEFI-CA2023.ps1​
Check_DBXUpdate.bin.ps1​
Update_UEFI-CA2023.ps1​

The primary script is Check_UEFI-CA2023.ps1, which takes the options -Audit and/or -Verbose

Check_DBXUpdate.bin.ps1
is included for technical folks who want to check DBXUpdate bin files. Normally you don't need to run this script, unless you're concerned the DBX variable contains every one of the banned files listed inside a DBXUpdate bin file.

PowerShell is a little weird that it doesn't just assume you want to run a script in the current directory (unlike CMD). You need to proceed the line with a dot/slash, or the full pathname.
Code:
 .\Check_UEFI-CA2023.ps1 -Audit
C:\Users\GARLIN\Downloads\Check_UEFI-CA2023.ps1 -Audit
 

My Computer

System One

  • OS
    Windows 7
I am getting this error. I used BIOS to delete all keys and tried again with the same result. This is a new laptop with an AMI BIOS.

PS C:\Users\Martin> cd C:\Users\Martin\Downloads\SecureBoot-CA-2023-Updates
PS C:\Users\Martin\Downloads\SecureBoot-CA-2023-Updates> .\Check_UEFI-CA2023.ps1
Secure Boot: ON
Virtualization Based Security: ON
BitLocker on (C:) OFF
ERROR: Failed to read UEFI Secure Boot settings.
Exception calling ".ctor" with "1" argument(s): "Cannot find the requested object.
"

Any ideas, please?
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 25H2 26200.8524
    Computer type
    Laptop
    Manufacturer/Model
    Acemagic LX15PRO
    CPU
    AMD Ryzen 7 5825U with Radeon Graphics
    Memory
    16GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD 2TB
    Internet Speed
    30 Mbps
    Browser
    Brave
    Antivirus
    Webroot Secure Anywhere
    Other Info
    System 3

    Acer Swift SF114-34 laptop
    OS Windows 11 Pro 26200.8524
    CPU Pentium Silver N6000
    RAM 4GB
    SSD Samsung 970 EVO Plus SSD 2TB (an upgrade)
  • Operating System
    Windows 11 Pro 23H2 22631.2506
    Computer type
    Laptop
    Manufacturer/Model
    HP Mini 210-1090NR PC (bought in late 2009!)
    CPU
    Atom N450 1.66GHz
    Memory
    2GB
    Browser
    Brave
    Antivirus
    Webroot
There are three scripts available in the ZIP file:
Check_UEFI-CA2023.ps1​
Check_DBXUpdate.bin.ps1​
Update_UEFI-CA2023.ps1​

The primary script is Check_UEFI-CA2023.ps1, which takes the options -Audit and/or -Verbose

Check_DBXUpdate.bin.ps1
is included for technical folks who want to check DBXUpdate bin files. Normally you don't need to run this script, unless you're concerned the DBX variable contains every one of the banned files listed inside a DBXUpdate bin file.

PowerShell is a little weird that it doesn't just assume you want to run a script in the current directory (unlike CMD). You need to proceed the line with a dot/slash, or the full pathname.
Code:
 .\Check_UEFI-CA2023.ps1 -Audit
C:\Users\GARLIN\Downloads\Check_UEFI-CA2023.ps1 -Audit
Thanks for all the help, I created folders Garlin\download copied all the files in the zip
ran both
.\Check_UEFI-CA2023.ps1 -Audit and C:\Users\GARLIN\Downloads\Check_UEFI-CA2023.ps1 -Audit got the same results...Maybe something is missing in my ssetup?
1768655844989.webp
There are three scripts available in the ZIP file:
Check_UEFI-CA2023.ps1​
Check_DBXUpdate.bin.ps1​
Update_UEFI-CA2023.ps1​

The primary script is Check_UEFI-CA2023.ps1, which takes the options -Audit and/or -Verbose

Check_DBXUpdate.bin.ps1
is included for technical folks who want to check DBXUpdate bin files. Normally you don't need to run this script, unless you're concerned the DBX variable contains every one of the banned files listed inside a DBXUpdate bin file.

PowerShell is a little weird that it doesn't just assume you want to run a script in the current directory (unlike CMD). You need to proceed the line with a dot/slash, or the full pathname.
Code:
 .\Check_UEFI-CA2023.ps1 -Audit
C:\Users\GARLIN\Downloads\Check_UEFI-CA2023.ps1 -Audit
 

My Computer

System One

  • OS
    windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Antec/Case
    CPU
    Intel i5-10600kf
    Motherboard
    GIGABYTE Z590 UD AC
    Memory
    32gb corsair vengerance pro
    Graphics Card(s)
    AMD RX 6500XT
    Sound Card
    onboard
    Monitor(s) Displays
    40" Hisense
    Hard Drives
    Samsung 850
    Samsung 870
    Seagate 2TB
    PSU
    EVGA GQ 750
Try putting the filename in quotes.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 25H2 26200.8524
    Computer type
    Laptop
    Manufacturer/Model
    Acemagic LX15PRO
    CPU
    AMD Ryzen 7 5825U with Radeon Graphics
    Memory
    16GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD 2TB
    Internet Speed
    30 Mbps
    Browser
    Brave
    Antivirus
    Webroot Secure Anywhere
    Other Info
    System 3

    Acer Swift SF114-34 laptop
    OS Windows 11 Pro 26200.8524
    CPU Pentium Silver N6000
    RAM 4GB
    SSD Samsung 970 EVO Plus SSD 2TB (an upgrade)
  • Operating System
    Windows 11 Pro 23H2 22631.2506
    Computer type
    Laptop
    Manufacturer/Model
    HP Mini 210-1090NR PC (bought in late 2009!)
    CPU
    Atom N450 1.66GHz
    Memory
    2GB
    Browser
    Brave
    Antivirus
    Webroot
Thanks for all the help, I created folders Garlin\download copied all the files in the zip
ran both
.\Check_UEFI-CA2023.ps1 -Audit and C:\Users\GARLIN\Downloads\Check_UEFI-CA2023.ps1 -Audit got the same results...Maybe something is missing in my ssetup?
View attachment 160169
The reason it did not work is that you're using the path ( file location ) that would be on Garlin's computer, not yours.
 

My Computer

System One

  • OS
    Windows 11
The reason it did not work is that you're using the path ( file location ) that would be on Garlin's computer, not yours.
No, he isn't. He created his own folder called Garlin!
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 25H2 26200.8524
    Computer type
    Laptop
    Manufacturer/Model
    Acemagic LX15PRO
    CPU
    AMD Ryzen 7 5825U with Radeon Graphics
    Memory
    16GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD 2TB
    Internet Speed
    30 Mbps
    Browser
    Brave
    Antivirus
    Webroot Secure Anywhere
    Other Info
    System 3

    Acer Swift SF114-34 laptop
    OS Windows 11 Pro 26200.8524
    CPU Pentium Silver N6000
    RAM 4GB
    SSD Samsung 970 EVO Plus SSD 2TB (an upgrade)
  • Operating System
    Windows 11 Pro 23H2 22631.2506
    Computer type
    Laptop
    Manufacturer/Model
    HP Mini 210-1090NR PC (bought in late 2009!)
    CPU
    Atom N450 1.66GHz
    Memory
    2GB
    Browser
    Brave
    Antivirus
    Webroot
Try putting the filename in quotes.
That shouldn’t cause an issue in this case as there's no spaces in the filename\path
 

My Computers

System One System Two

  • OS
    Windows 11 Enterprise 25H2 26200 7462
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom Build
    CPU
    Intel XEON E5-2699 v3
    Motherboard
    ASUS X99-A
    Memory
    64GB Teamgroup UD4-3600
    Graphics Card(s)
    NVIDIA GeForce GTX 1080 Ti
    Sound Card
    Integrated
    Monitor(s) Displays
    ACER X34 Predator
    Screen Resolution
    3440 x 1440
    Hard Drives
    Crucial CT1000P 3P SSD8 1TB
    Crucial CT1000 BX500 SSD 1TB
    PSU
    GameMax Pro
    Case
    Fractal Design
    Cooling
    Corsair H110iGT + 6 140mm Fans
    Keyboard
    Corsair K4
    Mouse
    G-Skill G502
    Internet Speed
    300MBs
    Browser
    Chrome
    Antivirus
    OEM
    Other Info
    ASUS RT-AC87U Router
  • Operating System
    25H2 26200.5074
    Computer type
    Laptop
    Manufacturer/Model
    ASUS X555LA
    Memory
    8GB
    Browser
    Chrome
    Antivirus
    OEM
I just keep it simple, it always works for all the different commands. I run it CMD as an Administrator:

powershell -nop -ep bypass -f C:\Temp\Check_UEFI-CA2023.ps1
 

My Computer

System One

  • OS
    Windows 11
@man00, you're taking the instructions a little too literally.

On the web, it's common practice to provide an example path to a folder by using the writer's name (for example C:\Users\GARLIN, instead of C:\Users\man00). Because we don't know your actual user account name.

You would substitute whatever folder name, you used to download and extract the ZIP to.
 

My Computer

System One

  • OS
    Windows 7
I am getting this error. I used BIOS to delete all keys and tried again with the same result. This is a new laptop with an AMI BIOS.

PS C:\Users\Martin> cd C:\Users\Martin\Downloads\SecureBoot-CA-2023-Updates
PS C:\Users\Martin\Downloads\SecureBoot-CA-2023-Updates> .\Check_UEFI-CA2023.ps1
Secure Boot: ON
Virtualization Based Security: ON
BitLocker on (C:) OFF
ERROR: Failed to read UEFI Secure Boot settings.
Exception calling ".ctor" with "1" argument(s): "Cannot find the requested object.
"
Something's wrong while trying to read one of the UEFI variables. Please run this test script with -Verbose
 

Attachments

My Computer

System One

  • OS
    Windows 7
@man00, you're taking the instructions a little too literally.

On the web, it's common practice to provide an example path to a folder by using the writer's name (for example C:\Users\GARLIN, instead of C:\Users\man00). Because we don't know your actual user account name.

You would substitute whatever folder name, you used to download and extract the ZIP to.

@man00, you're taking the instructions a little too literally.

On the web, it's common practice to provide an example path to a folder by using the writer's name (for example C:\Users\GARLIN, instead of C:\Users\man00). Because we don't know your actual user account name.

You would substitute whatever folder name, you used to download and extract the ZIP to.
I created folders Garlin\download copied all the files in the zip just to try and make things simpler and even to copy the full command
 

My Computer

System One

  • OS
    windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Antec/Case
    CPU
    Intel i5-10600kf
    Motherboard
    GIGABYTE Z590 UD AC
    Memory
    32gb corsair vengerance pro
    Graphics Card(s)
    AMD RX 6500XT
    Sound Card
    onboard
    Monitor(s) Displays
    40" Hisense
    Hard Drives
    Samsung 850
    Samsung 870
    Seagate 2TB
    PSU
    EVGA GQ 750

Latest Support Threads

Back
Top Bottom