Files
2026-11-13 07:52:38 +03:00

8 lines
275 B
Batchfile

@echo off
net session >nul 2>&1
if not "%errorlevel%"=="0" (
powershell -NoProfile -ExecutionPolicy Bypass -Command "Start-Process -FilePath '%~f0' -Verb RunAs"
exit /b
)
powershell -NoProfile -ExecutionPolicy Bypass -File "C:\PF\vm-start.ps1" -Uefi
if errorlevel 1 pause