Skip to content

Commit 6bf1a7d

Browse files
authored
Add files via upload
1 parent c4a9255 commit 6bf1a7d

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

VirtualizationSwitch.bat

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
@echo off
2+
title VirtualizationSwitch (by eppic)
3+
:top
4+
cls
5+
6+
set operation=
7+
echo RUN AS ADMINISTRATOR!
8+
echo.
9+
echo (1) ON
10+
echo (0) OFF
11+
echo.
12+
13+
set /P operation=TURN VIRTUALIZATION ON OR OFF:
14+
if "%operation%"=="1" goto fopON
15+
if "%operation%"=="0" goto fopOFF
16+
goto top
17+
18+
:fopON
19+
bcdedit /set hypervisorlaunchtype auto start
20+
pause
21+
goto top
22+
23+
:fopOFF
24+
bcdedit /set hypervisorlaunchtype off
25+
pause
26+
goto top

0 commit comments

Comments
 (0)