Files
WinPE-ToolKit/Overlay/PE-ToolKit/MainMenu.bat
T

70 lines
1.9 KiB
Batchfile

@ECHO OFF
TITLE WinPE Toolkit
REM ##################################################################
REM # #
REM # @description: #
REM # Bootable Windows toolkit
REM # #
REM # @project: WinPE-ToolKit #
REM # @author: Bram Prieshof #
REM ##################################################################
ECHO --------------------------
ECHO Welcome to WinPE Toolkit
ECHO by Brammp
ECHO --------------------------
REM Load main Menu on start
GOTO MainMenu
:DellRemoveTag
DellRemoveTag\platformtags64.exe DOT
DellRemoveTag\platformtags64.exe DAT
echo Owner tag removed, Press any key to return to the main menu . . .
pause >null
GOTO MainMenu
:DellRemoveTag2025
DellRemoveTag2025\PlatformTags64W.exe DOT
DellRemoveTag2025\PlatformTags64W.exe DAT
echo Owner tag removed, Press any key to return to the main menu . . .
pause >null
GOTO MainMenu
:DellRemoveTagCCTK
net start winmgmt
DellCCTK\cctk.exe --Propowntag=""
DellCCTK\cctk.exe --Asset=""
echo Owner tag removed, Press any key to return to the main menu . . .
pause >null
GOTO MainMenu
:MainMenu
COLOR 17
ECHO.
ECHO .........................
ECHO Main Menu
ECHO .........................
ECHO.
ECHO 1 - Remove Owner tag on Dell systems
ECHO 2 - Remove Owner tag on Dell systems (Updated)
ECHO 3 - Remove Owner tag on Dell systems (CCTK)
ECHO.
ECHO 100 - Poweroff
ECHO 101 - Reboot
ECHO 102 - Drop to PE shell
ECHO.
SET /P M=Type a number then press ENTER:
IF %M%==1 GOTO :DellRemoveTag
IF %M%==2 GOTO :DellRemoveTag2025
IF %M%==3 GOTO :DellRemoveTagCCTK
IF %M%==100 wpeutil shutdown
IF %M%==101 wpeutil reboot
IF %M%==102 GOTO EOF
:EOF
echo Dropping to PE shell
cls
color 07