- Home
·
- Registry
·
- Enable/Disable Regedit With 8 lines Of Code(NO API Calls) (Restrict Registry Editing)
Enable/Disable Regedit With 8 lines Of Code(NO API Calls) (Restrict Registry Editing)
Enable/Disable Regedit With 8 lines Of Code(NO API Calls) (Restrict Registry Editing)
Rate Enable/Disable Regedit With 8 lines Of Code(NO API Calls) (Restrict Registry Editing)
(2(2 Vote))
Add the following Code lines
Dim b As Object
Dim s As String
Private Sub Form_Load()
Command1.Caption = "Disable RegEdit"
Command2.Caption = "Enable RegEdit"
End Sub
Private Sub Command1_Click()
Set b = CreateObject("wscript.shell")
s= "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools"
b.regwrite s, 1, "REG_DWORD"
End Sub
Private Sub Command2_Click()
Set b = CreateObject("wscript.shell")
s= "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools"
b.regdelete s
End Sub
Enable/Disable Regedit With 8 lines Of Code(NO API Calls) (Restrict Registry Editing) Comments
No comments yet — be the first to post one!
Post a Comment