-
个人简介
摆脱URL网络控制软件的控制(.cmd文件代码) 若不想复制粘贴可直接下载文件:下载地址
@echo off :: 获取管理员权限(来自网络,本方法借助vbs脚本,管理员权限删除注册表需要) >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system" if '%errorlevel%' NEQ '0' (goto UACPrompt) else (goto UACAdmin) :UACPrompt %1 mshta vbscript:CreateObject("Shell.Application").ShellExecute("cmd.exe","/c %~s0 ::","","runas",1)(window.close)&&exit :UACAdmin echo 已获取管理员权限 @echo :: 设置活动代码页: 936 chcp 936 :: 用于启用延迟环境变量扩展,让变量的更改可以立即被后续的命令识别和使用 setlocal enabledelayedexpansion @echo 即将执行以下操作: @echo [-] 删除注册表项:HKEY_USERS\S-1-5-21-2192279116-3065405856-882912388-1001\Software\Policies\URL_LIST_OPTIONS @echo [-] 删除注册表目录:HKEY_USERS\S-1-5-21-2192279116-3065405856-882912388-1001\Software\Policies\Microsoft\Edge\URLBlocklist @echo [-] 删除注册表目录:HKEY_USERS\S-1-5-21-2192279116-3065405856-882912388-1001\Software\Policies\Google\Chrome\ @echo [-] 删除注册表目录:HKEY_USERS\S-1-5-21-2192279116-3065405856-882912388-1001\Software\Policies\Mozilla\Firefox\WebsiteFilter\Block @echo [-] 删除文件:C:\UrlDisabler\UrlDisabler.ini @echo [-] 删除文件:C:\UrlDisabler\20240530_235511_UrlDisabler.ini pause @echo y | reg delete "HKEY_USERS\S-1-5-21-2192279116-3065405856-882912388-1001\Software\Policies\URL_LIST_OPTIONS" @echo y | reg delete "HKEY_USERS\S-1-5-21-2192279116-3065405856-882912388-1001\Software\Policies\Microsoft\Edge\URLBlocklist" @echo y | reg delete "HKEY_USERS\S-1-5-21-2192279116-3065405856-882912388-1001\Software\Policies\Google\Chrome" @echo y | reg delete "HKEY_USERS\S-1-5-21-2192279116-3065405856-882912388-1001\Software\Policies\Mozilla\Firefox\WebsiteFilter\Block" del "C:\UrlDisabler\UrlDisabler.ini" del "C:\UrlDisabler\20240530_235511_UrlDisabler.ini" @echo 执行完成,按任意键退出 pause
-
通过的题目
-
最近活动
题目标签
- 初窥门径
- 20
- 顺序结构
- 18
- 分支结构
- 6