Skip to content

Commit

Permalink
Ignore registry failures for Windows 11 compatibility
Browse files Browse the repository at this point in the history
Fixes #10.
  • Loading branch information
gucci-on-fleek committed Mar 20, 2023
1 parent cff4df6 commit 7248e29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime_directory/sandbox_run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ $lockdown_extract_dir = "C:\Windows\Temp\Lockdown"
$lockdown_runtime = "C:\Program Files (x86)\Respondus\LockDown Browser\LockDownBrowser.exe"
$lockdown_installer = (ls Lockdown*)[0]

Get-ChildItem -Path "HKLM:\HARDWARE\DESCRIPTION" | Remove-ItemProperty -Name SystemBiosVersion
rm HKLM:\HARDWARE\DESCRIPTION\System\BIOS
Get-ChildItem -Path "HKLM:\HARDWARE\DESCRIPTION" | Remove-ItemProperty -Name SystemBiosVersion -ErrorAction Ignore
rm HKLM:\HARDWARE\DESCRIPTION\System\BIOS -ErrorAction Ignore

# We're in a short-lived VM, so we can safely delete any necessary files
$vmcompute_path = "C:\Windows\System32\VmComputeAgent.exe"
Expand Down

0 comments on commit 7248e29

Please sign in to comment.