Skip to content

Commit 2a5eeb2

Browse files
author
99N9ne99
authored
Replace disable/enable files with toggle + fixed typo (#711)
1 parent 6161c00 commit 2a5eeb2

File tree

7 files changed

+76
-61
lines changed

7 files changed

+76
-61
lines changed

src/Executables/Atlas/3. Configuration/2. Advanced Configuration/Boot Configuration/Appearence/New Boot Menu.cmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ echo However, it is slower and more annoying than the legacy Windows 7 boot menu
1313
echo]
1414
echo What would you like to do?
1515
echo [1] Disable the new boot menu (default)
16-
echo [2] Enable the boot logo
16+
echo [2] Enable the new boot menu
1717
echo]
1818
choice /c 12 /n /m "Type 1 or 2: "
1919
if !errorlevel! == 1 (
@@ -35,4 +35,4 @@ goto finish
3535
:finish
3636
echo Finished, please reboot your device for changes to apply.
3737
pause
38-
exit /b
38+
exit /b

src/Executables/Atlas/3. Configuration/2. Advanced Configuration/Event Log and Task Scheduler/Disable Event Log.cmd

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/Executables/Atlas/3. Configuration/2. Advanced Configuration/Event Log and Task Scheduler/Disable Task Scheduler.cmd

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/Executables/Atlas/3. Configuration/2. Advanced Configuration/Event Log and Task Scheduler/Enable Event Log (default).cmd

Lines changed: 0 additions & 13 deletions
This file was deleted.

src/Executables/Atlas/3. Configuration/2. Advanced Configuration/Event Log and Task Scheduler/Enable Task Scheduler (default).cmd

Lines changed: 0 additions & 13 deletions
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
@echo off
2+
setlocal EnableDelayedExpansion
3+
4+
whoami /user | find /i "S-1-5-18" > nul 2>&1 || (
5+
call RunAsTI.cmd "%~f0" "%*"
6+
exit /b
7+
)
8+
9+
echo Disabling Event log will break some features:
10+
echo - CapFrameX
11+
echo - Network menu/icon
12+
echo If you experience random issues, please enable Event Log again.
13+
echo]
14+
echo [1] Disable Event log
15+
echo [2] Enable Event log (default)
16+
echo]
17+
choice /c 12 /n /m "Type 1 or 2: "
18+
if !errorlevel! == 1 (
19+
goto disable
20+
) else (
21+
goto enable
22+
)
23+
24+
:disable
25+
echo]
26+
call setSvc.cmd EventLog 4 > nul 2>&1
27+
goto finish
28+
29+
:enable
30+
echo]
31+
call setSvc.cmd EventLog 2 > nul 2>&1
32+
goto finish
33+
34+
:finish
35+
echo Finished, please reboot your device for changes to apply.
36+
pause
37+
exit /b
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
@echo off
2+
setlocal EnableDelayedExpansion
3+
4+
whoami /user | find /i "S-1-5-18" > nul 2>&1 || (
5+
call RunAsTI.cmd "%~f0" "%*"
6+
exit /b
7+
)
8+
9+
echo Disabling Task Scheduler will break some features:
10+
echo - MSI Afterburner startup/updates
11+
echo - UWP typing (e.g. Search bar)
12+
echo If you experience random issues, please enable Task Scheduler again.
13+
echo]
14+
echo [1] Disable Task Scheduler
15+
echo [2] Enable Task Scheduler (default)
16+
echo]
17+
choice /c 12 /n /m "Type 1 or 2: "
18+
if !errorlevel! == 1 (
19+
goto disable
20+
) else (
21+
goto enable
22+
)
23+
24+
:disable
25+
echo]
26+
call setSvc.cmd Schedule 4 > nul 2>&1
27+
goto finish
28+
29+
:enable
30+
echo]
31+
call setSvc.cmd Schedule 2 > nul 2>&1
32+
goto finish
33+
34+
:finish
35+
echo Finished, please reboot your device for changes to apply.
36+
pause
37+
exit /b

0 commit comments

Comments
 (0)