Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use batch processing to implement a system helper

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

Editor to share with you how to use batch processing to achieve a system assistant, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article. Let's learn about it!

Include

ECHO 1. Show or hide files

ECHO 2. Clean up the system garbage

ECHO 3. Unlock the registry

ECHO 4. Repair IE browser

ECHO 5. Turn off default sharing

ECHO 6. Manage and control MMC

ECHO 7. Clear redundant startup items

@ ECHO off

@ title Little Assistant By: firewood

: start

CLS

COLOR 0f

MODE con: COLS=41 LINES=18

Set tm1=%time:~0,2%

Set tm2=%time:~3,2%

Set tm3=%time:~6,2%

ECHO date% tm1% points tm2% minutes tm3% seconds

ECHO ─

ECHO select operation, enter! By: Chaizi QQ:3819843

ECHO ─

ECHO.

ECHO 1. Show or hide files

ECHO 2. Clean up the system garbage

ECHO 3. Unlock the registry

ECHO 4. Repair IE browser

ECHO 5. Turn off default sharing

ECHO 6. Manage and control MMC

ECHO 7. Clear redundant startup items

ECHO 8. Write off

ECHO 9. Quit

ECHO.

: cho

SET Choice=

SET / P Choice= Please select:

IF NOT "% Choice%" = "" SET Choice=%Choice:~0,1%

Rem if the input is greater than 1 bit, take the first bit, for example, enter 132, then the return value is 1

ECHO.

IF / I "% Choice%" = = "1" GOTO xianshiyincang

IF / I "% Choice%" = = "2" GOTO qinglilaji

IF / I "% Choice%" = = "3" GOTO jiesuo

IF / I "% Choice%" = = "4" GOTO xiufu

IF / I "% Choice%" = = "5" GOTO gbgx

IF / I "% Choice%" = = "6" GOTO mmc

IF / I "% Choice%" = = "7" GOTO qidongxiang

IF / I "% Choice%" = = "8" GOTO logoff

IF / I "% Choice%" = = "9" GOTO end

ECHO, come on, you can't even choose 1-9? Do it again!

Pause

GOTO start

: xianshiyincang

Echo input X Show input Y Hidden

Set / p yszy=

If / I "% yszy%" = = "(goto start)

If / I "% yszy%" = = "x" (set xy=1 & set yszy= display & goto xywj1)

If / I "% yszy%" = = "y" (set xy=0 & set yszy= Hidden & goto xywj1)

Goto xianshiyincang

: xywj1

REG ADD HKCU\ Software\ Microsoft\ Windows\ CurrentVersion\ Explorer\ Advanced\ / v Hidden / t REG_DWORD / d% xy% / F > nul

Echo

Echo hidden file has yszy%. Just refresh it.

Pause

GOTO start

: qinglilaji

@ echo off

Echo is cleaning up the system junk files, please wait a moment.

@ 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\ *."

Echo clean up system garbage is complete!

Pause

GOTO start

: jiesuo

@ echo REGEDIT4 > > 123.reg

@ echo. > > 123.reg

@ echo [HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Policies\ System] > 123.reg

@ echo "DisableRegistryTools" = dword:00000000 > > 123.reg

@ REGEDIT / S / C 123.reg

@ del "123.reg" / Q / f

Echo successfully unlocked the registry!

Pause

GOTO start

: xiufu

@ echo off

Echo takes a long time, please wait.

Rundll32.exe advpack.dll / DelNodeRunDLL32% systemroot%\ System32\ dacui.dll

Rundll32.exe advpack.dll / DelNodeRunDLL32% systemroot%\ Catroot\ icatalog.mdb / s

Regsvr32 setupwbv.dll / s

Regsvr32 wininet.dll / s

Regsvr32 comcat.dll / s

Regsvr32 shdoc401.dll / s

Regsvr32 shdoc401.dll / i / s

Regsvr32 asctrls.ocx / s

Regsvr32 oleaut32.dll / s

Regsvr32 shdocvw.dll / I / s

Regsvr32 shdocvw.dll / s

Regsvr32 browseui.dll / s

Regsvr32 browseui.dll / I / s

Regsvr32 msrating.dll / s

Regsvr32 mlang.dll / s

Regsvr32 hlink.dll / s

Regsvr32 mshtml.dll / s

Regsvr32 mshtmled.dll / s

Regsvr32 urlmon.dll / s

Regsvr32 plugin.ocx / s

Regsvr32 sendmail.dll / s

Regsvr32 comctl32.dll / i / s

Regsvr32 inetcpl.cpl / i / s

Regsvr32 mshtml.dll / i / s

Regsvr32 scrobj.dll / s

Regsvr32 mmefxe.ocx / s

Regsvr32 corpol.dll / s

Regsvr32 jscript.dll / s

Regsvr32 msxml.dll / s

Regsvr32 imgutil.dll / s

Regsvr32 thumbvw.dll / s

Regsvr32 cryptext.dll / s

Regsvr32 rsabase.dll / s

Regsvr32 triedit.dll / s

Regsvr32 dhtmled.ocx / s

Regsvr32 inseng.dll / s

Regsvr32 iesetup.dll / i / s

Regsvr32 hmmapi.dll / s

Regsvr32 cryptdlg.dll / s

Regsvr32 actxprxy.dll / s

Regsvr32 dispex.dll / s

Regsvr32 occache.dll / s

Regsvr32 occache.dll / i / s

Regsvr32 iepeers.dll / s

Regsvr32 wininet.dll / i / s

Regsvr32 urlmon.dll / i / s

Regsvr32 digest.dll / i / s

Regsvr32 cdfview.dll / s

Regsvr32 webcheck.dll / s

Regsvr32 mobsync.dll / s

Regsvr32 pngfilt.dll / s

Regsvr32 licmgr10.dll / s

Regsvr32 icmfilter.dll / s

Regsvr32 hhctrl.ocx / s

Regsvr32 inetcfg.dll / s

Regsvr32 trialoc.dll / s

Regsvr32 tdc.ocx / s

Regsvr32 MSR2C.DLL / s

Regsvr32 msident.dll / s

Regsvr32 msieftp.dll / s

Regsvr32 xmsconf.ocx / s

Regsvr32 ils.dll / s

Regsvr32 msoeacct.dll / s

Regsvr32 wab32.dll / s

Regsvr32 wabimp.dll / s

Regsvr32 wabfind.dll / s

Regsvr32 oemiglib.dll / s

Regsvr32 directdb.dll / s

Regsvr32 inetcomm.dll / s

Regsvr32 msoe.dll / s

Regsvr32 oeimport.dll / s

Regsvr32 msdxm.ocx / s

Regsvr32 dxmasf.dll / s

Regsvr32 laprxy.dll / s

Regsvr32 l3codecx.ax / s

Regsvr32 acelpdec.ax / s

Regsvr32 mpg4ds32.ax / s

Regsvr32 voxmsdec.ax / s

Regsvr32 danim.dll / s

Regsvr32 Daxctle.ocx / s

Regsvr32 lmrt.dll / s

Regsvr32 datime.dll / s

Regsvr32 dxtrans.dll / s

Regsvr32 dxtmsft.dll / s

Regsvr32 vgx.dll / s

Regsvr32 WEBPOST.DLL / s

Regsvr32 WPWIZDLL.DLL / s

Regsvr32 POSTWPP.DLL / s

Regsvr32 CRSWPP.DLL / s

Regsvr32 FTPWPP.DLL / s

Regsvr32 FPWPP.DLL / s

Regsvr32 FLUPL.OCX / s

Regsvr32 wshom.ocx / s

Regsvr32 wshext.dll / s

Regsvr32 vbscript.dll / s

Regsvr32 scrrun.dll mstinit.exe / setup

Regsvr32 msnsspc.dll / SspcCreateSspiReg

Regsvr32 msapsspc.dll / SspcCreateSspiReg

Echo.

Congratulations, echo. IE repair is over.

Pause

GOTO start

: gbgx

@ echo off

Net share c$ / delete 2 > nul

Net share d$ / delete 2 > nul

Net share e$ / delete 2 > nul

Net share f$ / delete 2 > nul

Net share g$ / delete 2 > nul

Net share h$ / delete 2 > nul

Net share g$ / delete 2 > nul

Net share admin$ / delete 2 > nul

Net share i$ / delete 2 > nul

Echo Windows Registry Editor Version 5.00 > c:/delshare.reg

REG ADD HKLM\ SYSTEM\ CurrentControlSet\ Control\ LSA / v RestrictAnonymous / t REG_DWORD / d 1 / F > nul

REG ADD HKLM\ SYSTEM\ CurrentControlSet\ Services\ lanmanserver\ parameters / v AutoShareWks / t REG_DWORD / d 0 / F > nul

REG ADD HKLM\ SYSTEM\ CurrentControlSet\ Services\ lanmanserver\ parameters / v AutoShareServer / t REG_DWORD / d 0 / F > nul

Echo has turned off all default shares.

Echo.

Pause

Goto start

: mmc

Start windir%/system32/mmc.exe

GOTO start

: qidongxiang

@ ECHO OFF

@ ECHO ─

@ ECHO automatically cleans up all unnecessary startup items, leaving only the input method.

@ ECHO reduces unnecessary resource consumption and makes the system run smoothly.

@ ECHO ─

PAUSE

Reg delete HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows\ CurrentVersion\ Run / va / f

Reg delete HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Run / va / f

Reg add HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Run / v ctfmon.exe / d C:\ WINDOWS\ system32\ ctfmon.exe

Reg delete "HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Shared Tools\ MSConfig\ startupreg" / f

Reg add "HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Shared Tools\ MSConfig\ startupreg\ IMJPMIG8.1"

Reg add "HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Shared Tools\ MSConfig\ startupreg\ IMJPMIG8.1" / v command / d "C:\ WINDOWS\ IME\ imjp8_1\ IMJPMIG.EXE" / Spoil / RemAdvDef / Migration32 "

Reg add "HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Shared Tools\ MSConfig\ startupreg\ IMJPMIG8.1" / v hkey / d HKLM

Reg add "HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Shared Tools\ MSConfig\ startupreg\ IMJPMIG8.1" / v inimapping / d 0

Reg add "HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Shared Tools\ MSConfig\ startupreg\ IMJPMIG8.1" / v item / d IMJPMIG

Reg add "HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Shared Tools\ MSConfig\ startupreg\ IMJPMIG8.1" / v key / d SOFTWARE\ Microsoft\ Windows\ CurrentVersion\ Run

Reg add "HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Shared Tools\ MSConfig\ startupreg\ PHIME2002A"

Reg add "HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Shared Tools\ MSConfig\ startupreg\ PHIME2002A" / v command / d "C:\ WINDOWS\ system32\ IME\ TINTLGNT\ TINTSETP.EXE / IMEName"

Reg add "HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Shared Tools\ MSConfig\ startupreg\ PHIME2002A" / v hkey / d HKLM

Reg add "HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Shared Tools\ MSConfig\ startupreg\ PHIME2002A" / v inimapping / d 0

Reg add "HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Shared Tools\ MSConfig\ startupreg\ PHIME2002A" / v item / d TINTSETP

Reg add "HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Shared Tools\ MSConfig\ startupreg\ PHIME2002A" / v key / d SOFTWARE\ Microsoft\ Windows\ CurrentVersion\ Run

Reg add "HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Shared Tools\ MSConfig\ startupreg\ PHIME2002ASync"

Reg add "HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Shared Tools\ MSConfig\ startupreg\ PHIME2002ASync" / v command / d "C:\ WINDOWS\ IME\ imjp8_1\ IMJPMIG.EXE" / Spoil / RemAdvDef / Migration32 "

Reg add "HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Shared Tools\ MSConfig\ startupreg\ PHIME2002ASync" / v hkey / d HKLM

Reg add "HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Shared Tools\ MSConfig\ startupreg\ PHIME2002ASync" / v inimapping / d 0

Reg add "HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Shared Tools\ MSConfig\ startupreg\ PHIME2002ASync" / v item / d TINTSETP

Reg add "HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Shared Tools\ MSConfig\ startupreg\ PHIME2002ASync" / v key / d SOFTWARE\ Microsoft\ Windows\ CurrentVersion\ Run

Del "C:\ Documents and Settings\ All Users\ start menu\ Program\ launch\ *." / Q / f

Del "C:\ Documents and Settings\ Default User\ start menu\ Program\ launch\ *." / Q / f

Del "% userprofile%\" start menu\ Program\ start\ *. * "/ Q / f

Start C:\ WINDOWS\ pchealth\ helpctr\ binaries\ msconfig.exe

Goto start

: logoff

Logoff

: end

Exit

The above is all the contents of the article "how to use batch processing to implement a system assistant". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report