About Me
- angelo
- Region 11, Philippines
- I am Angelo F. Matildo, my nickname is ngel. Currently, I am a systems developer in a company. This blog is primarily for me to post my researches,my some learnings,sharing and some random ideas. Most likely I'm not going to be commenting on things happening... As such it will most likely not be updated very often...
Wednesday, November 26, 2008
The value:
The following values lock the registry editing tools when they are set to 1 (they are DWORD values) :
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools for the current user and
HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools for all users (doesn't work on Windows XP though).
However, once one of them has been set to 1, you can't use regedit to simply remove them. So, here are 2 methods.
The methods
1. A reg file !
Tested and working on Win 2k, not working on Win XP.
You simply need to create and launch the following reg file :
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"DisableRegistryTools"=-
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System]
"DisableRegistryTools"=-
2. A VBS (Visual Basic Script)
Tested and working on Win 2k and XP.
In notepad, copy/paste the following script, and save the file with a .vbs extension, then go to cmd.exe and run it :
'Enable/Disable Registry Editing tools
Option Explicit
'Declare variables
Dim WSHShell, rr, rr2, MyBox, val, val2, ttl, toggle
Dim jobfunc, itemtype
On Error Resume Next
Set WSHShell = WScript.CreateObject("WScript.Shell")
val = "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools"
val2 = "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools"
itemtype = "REG_DWORD"
jobfunc = "Registry Editing Tools are now "
ttl = "Result"
'reads the registry key value.
rr = WSHShell.RegRead (val)
rr2 = WSHShell.RegRead (val2)
toggle=1
If (rr=1 or rr2=1) Then toggle=0
If toggle = 1 Then
WSHShell.RegWrite val, 1, itemtype
WSHShell.RegWrite val2, 1, itemtype
Mybox = MsgBox(jobfunc & "disabled.", 4096, ttl)
Else
WSHShell.RegDelete val
WSHShell.RegDelete val2
Mybox = MsgBox(jobfunc & "enabled.", 4096, ttl)
End If
Labels: PC Trouble Shooting
6 Comments:
Featured Links
Links
- adsense tutor
- Agnes
- alba hack
- aloha gems
- Anthony
- April Rose
- articles modern
- articles modern
- bussiness in the network
- bussiness info
- Charmaine
- Chris Jan
- Clenemae
- Coretan Dinding
- da2nk
- Darian
- dhian
- Eker
- ekliq
- Emotera
- espe computer
- ethelberts transcript
- Eve Riza
- fashion world
- finance
- free games
- future 76 blogspot
- game cheats
- George
- Glayra
- Hannah
- Harley
- human figures
- insurance and assurance
- ITechnology
- John Lee
- Julaysa
- koten hape
- krish kasting strikes
- life is too short
- links spot
- loan consolidation
- magbook
- Markvan
- Mary Jade
- mobile EZ
- my Passion
- my thoughts living things
- natural
- new Biew
- pigs tale
- psyche analyzed
- quantum indonesia
- Regina
- Rendell
- riverside garage
- Ronald Morata
- Ronic
- room for life
- Sardscreed
- scribble and scribble
- secret money blog
- seen thing
- share anything
- Sheena
- small-note budiawan
- soul plane
- sudharyantoadi
- tech republic
- Tello
- the bloggers trail
- Thomas
- thoughts for chameleon
- ultimate links pc tips
- unpretty
- world history
Category
- Entertainments (1)
- Future Technology (8)
- History (1)
- PC Trouble Shooting (2)
- Personal (1)
- PHP and Oracle (1)
- Research (8)





why do we need to lock the registry editing tools?
Sorry for the stupid question. I am just a laymen when come to IT thingy.
because there are several files that we need to register..and those files are the .reg files extensions...
so that is it...
and that is it... it is finish..
that is just if the regedit is being disabled by the administrator...
...God bless