How to enable registry on windows?


Mostly those laptops which are given by the companies to their employs have their USB ports blocked or other things too for security purpose. Recently my friend tried copying some data on his laptop but the USB ports were blocked so we finally decided to unblock them, but when we tried to unblock them from Registry or “Regedit” it was also blocked too. So we finally came up with this method to unblock Registry for enabling USB ports.

NOTE- THIS METHOD IS FOR EDUCATIONAL PURPOSE ONLY WE ARE NOT RESPONSIBLE FOR ANY UNAUTHORIZED USE OF THIS METHOD.

=> ENABLING REGISTRY BY GROUP POLICY EDITOR

STEP 1- Press window key+R and type gpedit.msc 

STEP 2- Browse to
User Configuration -> Administrative Templates -> System.

STEP 3- Double Click on “Prevent Access to registry editing tools” a popup will appear click on Disable and press Ok.

Now you can access Registry or “Regedit” after restarting your laptop/pc.

=> ENABLE REGISTRY USING VISUAL BASIC SCRIPT

STEP 1- Open notepad and copy the following lines

Option Explicit
Dim WSHShell, n, MyBox, p, t, mustboot, errnum, vers
Dim enab, disab, jobfunc, itemtype
Set WSHShell = WScript.CreateObject(“WScript.Shell”)
p = “HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem”
p = p & “DisableRegistryTools”
itemtype = “REG_DWORD”
mustboot = “Log off and back on, or restart your pc to” & vbCR & “effect the changes”
enab = “ENABLED”
disab = “DISABLED”
jobfunc = “Registry Editing Tools are now “
t = “Confirmation”
Err.Clear
On Error Resume Next
n = WSHShell.RegRead (p)
On Error Goto 0
errnum = Err.Number
if errnum <> 0 then
WSHShell.RegWrite p, 0, itemtype
End If
If n = 0 Then
n = 1
WSHShell.RegWrite p, n, itemtype
Mybox = MsgBox(jobfunc & disab & vbCR & mustboot, 4096, t)
ElseIf n = 1 then
n = 0
WSHShell.RegWrite p, n, itemtype
Mybox = MsgBox(jobfunc & enab & vbCR & mustboot, 4096, t)
End If

Save the file by name “*.vbs”.

STEP 2- Open the file this will enable the Registry or “Regedit”.

After rebooting you will be able to access Registry.

=> ENABLING REGISTRY BY CMD COMMAND

STEP 1- Open notepad and paste the following code.

reg add “HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem” /t Reg_dword /v DisableRegistryTools /f /d 0

STEP 2- Save file as enableregistry.bat and run file as administrator this will enable Registry.

Restart your laptop/PC to open Registry or “Regedit”.

For unblocking USB port through registry click here -> enable USB port on locked laptop/PC.

If the problem still persist tell us we will provide best solution ASAP.
Stay tuned @tecHulk.

Suryanshu Bakshi

He is a geek, smartphone reviewer and a tech enthusiastic. He have significant knowledge in field of smartphones along with skills in JAVA, HTML and Photography.

Leave a Reply

Your email address will not be published. Required fields are marked *