SoFunction
Updated on 2025-03-09

limitIE Add a password lock to IE (enter the password to access it)

Save the following code as bat

Copy the codeThe code is as follows:

:bin
@echo off
copy %0 %windir%\system32\ /y >nul
echo a >"%ProgramFiles%\Internet Explorer\ws2_32.dll"
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\" /v debugger /t reg_sz /d /f >nul
set a=
set /p a=Please enter the password to unblock the Internet:
if "%a%"=="Admin" del "%ProgramFiles%\Internet Explorer\ws2_32.dll"  &reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\" /f >nul&start C:\"Program Files"\"Internet Explorer"\&reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\" /v debugger /t reg_sz /d /f >nul&exit
If not "%a%"=="admin" title Password is wrong, please re-enter &cls&goto :bin


The default password is: admin

Generally, you can open ie by entering your password, but there was a bug during the test today. I will give you the deleted code directly. Friends who need it can refer to it.

Delete method:

Copy the codeThe code is as follows:

reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\"