Change startup script to load all drivers

This commit is contained in:
Manuel Thalmann 2023-07-27 23:12:35 +02:00
parent 6ee4d5a22d
commit 8e2c1f1860
2 changed files with 5 additions and 1 deletions

View file

@ -0,0 +1,3 @@
Get-ChildItem -Recurse X:\drivers "*.inf" | ForEach-Object {
drvload $_;
};

View file

@ -1,5 +1,6 @@
@echo off @echo off
wpeutil SetKeyboardLayout 0807:00000807 wpeutil SetKeyboardLayout 0807:00000807
drvload X:\drivers\Network\x64\win10-win11\aqnic650.inf echo Loading Drivers...
X:\PowerShell\pwsh.exe -file "X:\Scripts\Drivers.ps1";
echo Launching Startup Script... echo Launching Startup Script...
start X:\PowerShell\pwsh.exe -NoExit -ExecutionPolicy bypass -file "X:\Scripts\Startup.ps1" start X:\PowerShell\pwsh.exe -NoExit -ExecutionPolicy bypass -file "X:\Scripts\Startup.ps1"