SoFunction
Updated on 2025-04-09

Batch maintenance tool menu implementation


@echo off
echo.
echo.
color a
echo ┏━━┓Me ●╭○╮I┏━━┓
echo ┃Tianchang┃Love ★ /███\ ★ Think┃Forever┃
echo ┃Di Jiu┃You ∏ ∏ You┃Owned┃
echo ┗━━┛. I love you for ten thousand years ┗━━┛
echo emotional progress bar...
echo ┏─────────────────────────────────────┓
echo │▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 100 │
echo ┗─────────────────────────────────────┛
echo.
echo welcomes to the maintenance tool menu of Maple Dragon Union!
echo.
echo.
pause
cls
@echo off
:start
echo.
echo welcomes the DIY batch processing produced by Fenglong United
echo Please select
echo.
echo 0 - Leave / 1 - Go to command line / 2 - Registration / 3 - Group Policy / 4 - Device Manager / 5 - Computer Management / 6 - Task Manager
echo.
echo /7-Startup item management/8-Remote Desktop/9-Service Management/a-Control Panel Edition/b-Disk Management/c-Native Share Viewing
echo.
echo /d-View LAN Sharing/e-Open network connection/f-Camera/g-Refresh registry/q-Check network connection ping NetEase
echo.
echo /h-Internet cafe system service optimization/i-clean system garbage/j-log out of computer/k-My computer properties/l-shut down computer
echo 000000000000000000000000000000000000000000000000000000000000000000000000000000
echo /m - Local disk C/n - Local disk D/o - Local disk E/p - Local disk F/q - Reserved (empty)
echo.
echo 000000000000000000000000000000000000000000000000000000000000000000000000000000
echo Tips: Change IP selection e Change computer name selection k
echo. Used. I like it, but there is no one on top. Bad JJ
echo (maintenance version) If you need to add or make an error, please contact me thank you!
echo QQ:654525258
echo.
echo.
set /p UserChoice=
if "%UserChoice%"=="0" goto 0
if "%UserChoice%"=="1" goto 1
if "%UserChoice%"=="2" goto 2
if "%UserChoice%"=="3" goto 3
if "%UserChoice%"=="4" goto 4
if "%UserChoice%"=="5" goto 5
if "%UserChoice%"=="6" goto 6
if "%UserChoice%"=="7" goto 7
if "%UserChoice%"=="8" goto 8
if "%UserChoice%"=="9" goto 9
if "%UserChoice%"=="a" goto a
if "%UserChoice%"=="b" goto b
if "%UserChoice%"=="c" goto c
if "%UserChoice%"=="d" goto d
if "%UserChoice%"=="e" goto e
if "%UserChoice%"=="f" goto f
if "%UserChoice%"=="g" goto g
if "%UserChoice%"=="h" goto h
if "%UserChoice%"=="i" goto i
if "%UserChoice%"=="j" goto j
if "%UserChoice%"=="k" goto k
if "%UserChoice%"=="l" goto l
if "%UserChoice%"=="m" goto m
if "%UserChoice%"=="n" goto n
if "%UserChoice%"=="o" goto o
if "%UserChoice%"=="p" goto p
if "%UserChoice%"=="q" goto q
if "%UserChoice%"=="r" goto r
if "%UserChoice%"=="s" goto s
if "%UserChoice%"=="t" goto t
if "%UserChoice%"=="u" goto u
if "%UserChoice%"=="v" goto v
if "%UserChoice%"=="w" goto w
if "%UserChoice%"=="x" goto x
if "%UserChoice%"=="y" goto y
if "%UserChoice%"=="z" goto z
cls
echo.
echo.
echo Please choose correctly, and if it is a letter, please pay attention to uppercase and uppercase.
echo, what are you cooking? Knocking randomly does not work. hehe.
goto start

:0
exit
:1
@color 07
@%windir%\system32\
@cls
@exit
:2
@%windir%\system32\
cls
goto start
:3
@%windir%\system32\
cls
goto start
:4
@%windir%\system32\
cls
goto start
:5
@%windir%\system32\
cls
goto start
:6
@%windir%\system32\
cls
goto start
:7
@%windir%\PCHealth\HelpCtr\Binaries\
cls
goto start
:8
@%windir%\system32\
cls
goto start
:9
@%windir%\system32\
cls
goto start
:a
@%windir%\system32\
cls
goto start
:b
@%windir%\system32\
cls
goto start
:c
@%windir%\system32\
cls
goto start
:d
net share >>%windir%\system32\
type %windir%\system32\
pause
cls
goto start
:e
@%windir%\system32\
cls
goto start
:f
%systemroot%\
cls
goto start
:g
@echo off
@gpupdate
@taskkill /f /IM
start explorer
cls
goto start
:k

cls
goto start
:h
cls
echo Internet cafe service optimization is underway……OK!
echo, do you want to optimize the service, right? This optimization is only suitable for Internet cafes. If ISCIS is not installed, please install it before selecting this service optimization.
pause
echo Internet cafe service optimization is underway……OK!
sc config Alerter start= DISABLED
sc config ALG start= DISABLED
sc config AppMgmt start= DEMAND
sc config aspnet_state start= DEMAND
sc config AudioSrv start= AUTO
sc config BITS start= DEMAND
sc config Browser start= DISABLED
sc config CiSvc start= DEMAND
sc config ClipSrv start= DISABLED
sc config COMSysApp start= DEMAND
sc config CryptSvc start= DEMAND
sc config DcomLaunch start= AUTO
sc config Dhcp start= DISABLED
sc config dmadmin start= DEMAND
sc config dmserver start= DEMAND
sc config Dnscache start= DISABLED
sc config ERSvc start= DISABLED
sc config Eventlog start= AUTO
sc config EventSystem start= DEMAND
sc config FastUserSwitchingCompatibility start= DISABLED
sc config helpsvc start= DISABLED
sc config HidServ start= DISABLED
sc config HTTPFilter start= DEMAND
sc config ImapiService start= DEMAND
sc config lanmanserver start= DISABLED
sc config lanmanworkstation start= AUTO
sc config LmHosts start= DISABLED
sc config Messenger start= DISABLED
sc config mnmsrvc start= DEMAND
sc config MSDTC start= DEMAND
sc config MSiSCSI start= DISABLED
sc config MSIServer start= DEMAND
sc config NBExpl start= DISABLED
sc config NetDDE start= DISABLED
sc config NetDDEdsdm start= DISABLED
sc config Netlogon start= DEMAND
sc config Netman start= DEMAND
sc config Nla start= DISABLED
sc config NtLmSsp start= DEMAND
sc config NtmsSvc start= DEMAND
sc config NVSvc start= DISABLED
sc config ose start= DEMAND
sc config PlugPlay start= AUTO
sc config PolicyAgent start= DISABLED
sc config ProtectedStorage start= DISABLED
sc config RasAuto start= DEMAND
sc config RasMan start= DISABLED
sc config RDSessMgr start= DEMAND
sc config RemoteAccess start= DISABLED
sc config RemoteRegistry start= DISABLED
sc config RpcLocator start= DEMAND
sc config RpcSs start= AUTO
sc config RSVP start= DEMAND
sc config SamSs start= DEMAND
sc config SCardSvr start= DEMAND
sc config Schedule start= DISABLED
sc config seclogon start= DISABLED
sc config SENS start= DEMAND
sc config SharedAccess start= DISABLED
sc config ShellHWDetection start= DISABLED
sc config Spooler start= DISABLED
sc config srservice start= DISABLED
sc config SSDPSRV start= DISABLED
sc config stisvc start= DEMAND
sc config SwPrv start= DEMAND
sc config SysmonLog start= DEMAND
sc config TapiSrv start= DISABLED
sc config TermService start= DISABLED
sc config Themes start= DEMAND
sc config TlntSvr start= DISABLED
sc config TrkWks start= DISABLED
sc config UMWdf start= DISABLED
sc config upnphost start= DEMAND
sc config UPS start= DEMAND
sc config usnsvc start= DEMAND
sc config VSS start= DEMAND
sc config W32Time start= DISABLED
sc config WebClient start= DISABLED
sc config winmgmt start= AUTO
sc config WmdmPmSN start= DEMAND
sc config Wmi start= DEMAND
sc config WmiApSrv start= DEMAND
sc config wscsvc start= DISABLED
sc config wuauserv start= DISABLED
sc config WZCSVC start= DISABLED
sc config xmlprov start= DEMAND
cls
goto start
:i
@echo off
echo is helping you clear the system junk files, please wait...
del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp
del /f /s /q %systemdrive%\*.log
del /f /s /q %systemdrive%\*.gid
del /f /s /q %systemdrive%\*.chk
del /f /s /q %systemdrive%\*.old
del /f /s /q %systemdrive%\recycled\*.*
del /f /s /q %windir%\*.bak
del /f /s /q %windir%\prefetch\*.*
rd /s /q %windir%\temp & md %windir%\temp
del /f /q %userprofile%\cookies\*.*
del /f /q %userprofile%\recent\*.*
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del /f /s /q "%userprofile%\recent\*.*"
cls
echo clearing system garbage is completed!
goto start
:j
shutdown -l -t 60
:l
shutdown -s -t 0
:m
start c:\
cls
goto start
:n
start d:\
cls
goto start
:o
start e:\
cls
goto start
:p
start f:\
cls
goto start
:q
ping >d:\PING NetEase Company Connection Status.txt
cls
start d:\PING NetEase Company connection status.txt
goto start