Get the App
SLTechnology News&Howtos  ›  Development  › 

How to write limitIE to add a password lock to IE so that it can be accessed by entering a password

Shulou Source: shulou.com Published: 2022-06-03 08:12:52 10月03日 Update

This article mainly introduces "how to write limitIE to add a password lock to IE before you can access it". In daily operation, I believe many people have doubts about how to write limitIE to add a password lock to IE to input password to access. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful for you to answer the question of "how to write limitIE for IE plus a password lock to enter a password to access"! Next, please follow the editor to study!

Just save the following code as bat

The 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\ iexplore.EXE" / v debugger / t reg_sz / d limitIE.bat / f > nul

Set a =

Set / p a = Please enter the password to remove access to the Internet:

If "% a%" = = "Admin" del "% ProgramFiles%\ Internet Explorer\ ws2_32.dll" & reg delete "HKLM\ SOFTWARE\ Microsoft\ Windows NT\ CurrentVersion\ Image File Execution Options\ iexplore.EXE" / f > nul&start C:\ "ProgramFiles"\ "Internet Explorer"\ iexplore.exe® add "HKLM\ SOFTWARE\ Microsoft\ Windows NT\ CurrentVersion\ Image File Execution Options\ iexplore.EXE" / v debugger / t reg_sz / d limitIE.bat / f > nul&exit

If not "% a%" = "admin" title password error, please re-enter & cls&goto: bin

The default password is: admin

Generally enter the password can open ie, but today's test when there is a bug, especially directly to delete the code, the need for friends can refer to.

Delete method:

The code is as follows:

Reg delete "HKLM\ SOFTWARE\ Microsoft\ Windows NT\ CurrentVersion\ Image File Execution Options\ iexplore.EXE"

At this point, the study on "how to write limitIE to add a password lock to IE before it can be accessed" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Tags: Password input password lock code study method more help practical next article time friend theory knowledge article website material follow error Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info MariaDB Docker NVidia Linux