Unlock the locked. Reg and INF files by using the registry file _ registration Form

Source: Internet
Author: User
If the Registry Editor is not locked, you can enter registry Editor and manually modify the following key values
+s8m{7}wh903926 finds [Hkey_local_machine\softe\classes\.reg], modifies the value of the "default" string in the right window to "regfile";

Locate [Hkey_local_machine\software\classes\.inf] and modify the value of the "default" string in the right window to "InfFile";

Second, if Registry Editor is locked
{L smek9[7p4w0l! E903926 1. Unlock with a VBS file:

Open Notepad to input the following:

Dim A

Set a=createobject ("Wscript.Shell")

A.regwrite "Hkey_current_user\software\microsoft\windows\currentversion\policies\system\disableregistrytools", " 00000000 "," REG_DWORD "

A.regwrite "hkey_local_machine\software\classes\.reg\", "RegFile"

A.regwrite "hkey_local_machine\software\classes\.inf\", "InfFile"

When the input is complete, save as Unlock.vbs and double-click Execute.

2. Unlock with JS file:

Open Notepad to input the following:

Var:a=wscript.createobject ("Wscript.Shell")

A.regwrite ("Hkey_current_user\software\microsoft\windows\currentversion\policies\system\disableregistrytools", "00000000", "REG_DWORD");

A.regwrite ("hkey_local_machine\software\classes\.reg\", "regfile");

A.regwrite ("hkey_local_machine\software\classes\.inf\", "InfFile");

When the input is complete, save as Unlock.js and double-click Execute. (Liaoning Choshan)

1. Use of regedit in DOS

In fact, the DOS can also unlock this lock. After editing the above file, click on the "Start → program →ms-dos Way", came to MS-DOS, enter regedit c:\unlcok.reg, press ENTER. Then the screen will appear "you determine to add C:\unlock.reg information to the Registry" dialog box, press the "OK" button, Unlock.reg content entered the registry.

2. Using the. htm file

Open Notepad and enter the following:


<body>

<script. Language= "JavaScript" >

var shl=new activexobject ("Wscript.Shell");

Shl. RegWrite ("Hklm\software\classes\.reg", RegFile, "REG_SZ");

Shl. RegWrite ("Hklm\software\classes\.inf", InfFile, "REG_SZ");

</script>

</body>


Save as an. htm file, and you can unlock it by running this file.

3. Use the Super Bunny Magic set

Run Super Rabbit Magic Settings, click the "Security and multiuser" option, and then click the "Security" tab, "prohibit the use of. reg file" and "Prohibit the use of. inf files" before the "√" cancellation, you can unlock this lock.

4. Use of Scanreg documents

Enter the Scanreg/restore command in pure DOS to restore the previously backed up registry, and if you have previously backed up a registry that is not locked, it is also useful to try this trick. Or in a pure DOS environment, enter the command scanreg, with the TAB key to select "START", after entering the "view Backups", that is, to view the backup files, according to the date of the latest backup, and then select Restore, so that the registry can return to normal.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.