<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5891560586792346186</id><updated>2011-11-27T17:17:48.618-08:00</updated><title type='text'>Enable/Disable Registry Editing tools</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://enableordisableregistryeditingtools.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5891560586792346186/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://enableordisableregistryeditingtools.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Soft Tricks</name><uri>http://www.blogger.com/profile/00012253781075719234</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5891560586792346186.post-8344553536559477136</id><published>2007-07-25T15:01:00.000-07:00</published><updated>2007-07-25T15:03:18.590-07:00</updated><title type='text'>Enable/Disable Registry Editing tools</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;span style="font-size:180%;"&gt;&lt;span style="font-weight: bold;"&gt;Enable/Disable Registry Editing tools&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt; &lt;br /&gt;&lt;div style="text-align: center;"&gt;Copy the following code,paste in any notepad and save as "regtools.vbs" file. Just double click it and you will get yor regedit enabled.(Be careful to copy the code exactly as presented here including everything.&lt;br /&gt;&lt;br /&gt;Code goes here.......&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;  &lt;br /&gt;'Enable/Disable Registry Editing tools&lt;br /&gt;'© Doug Knox - rev 12/06/99&lt;br /&gt;Option Explicit&lt;br /&gt;'Declare variables&lt;br /&gt;Dim WSHShell, n, MyBox, p, t, mustboot, errnum, vers&lt;br /&gt;Dim enab, disab, jobfunc, itemtype&lt;br /&gt;Set WSHShell = WScript.CreateObject("WScript.Shell")&lt;br /&gt;p = "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\"&lt;br /&gt;p = p &amp; "DisableRegistryTools"&lt;br /&gt;itemtype = "REG_DWORD"&lt;br /&gt;mustboot = "Log off and back on, or restart your pc to" &amp;amp; vbCR &amp; "effect the changes"&lt;br /&gt;enab = "ENABLED"&lt;br /&gt;disab = "DISABLED"&lt;br /&gt;jobfunc = "Registry Editing Tools are now "&lt;br /&gt;'This section tries to read the registry key value. If not present an&lt;br /&gt;'error is generated.  Normal error return should be 0 if value is&lt;br /&gt;'present&lt;br /&gt;t = "Confirmation"&lt;br /&gt;Err.Clear&lt;br /&gt;On Error Resume Next&lt;br /&gt;n = WSHShell.RegRead (p)&lt;br /&gt;On Error Goto 0&lt;br /&gt;errnum = Err.Number&lt;br /&gt;if errnum &lt;&gt; 0 then&lt;br /&gt;'Create the registry key value for DisableRegistryTools with value 0&lt;br /&gt; WSHShell.RegWrite p, 0, itemtype&lt;br /&gt;End If&lt;br /&gt;'If the key is present, or was created, it is toggled&lt;br /&gt;'Confirmations can be disabled by commenting out&lt;br /&gt;'the two MyBox lines below&lt;br /&gt;If n = 0 Then&lt;br /&gt; n = 1&lt;br /&gt;WSHShell.RegWrite p, n, itemtype&lt;br /&gt;Mybox = MsgBox(jobfunc &amp; disab &amp;amp; vbCR &amp; mustboot, 4096, t)&lt;br /&gt;ElseIf n = 1 then&lt;br /&gt; n = 0&lt;br /&gt;WSHShell.RegWrite p, n, itemtype&lt;br /&gt;Mybox = MsgBox(jobfunc &amp; enab &amp;amp; vbCR &amp;amp; mustboot, 4096, t)&lt;br /&gt;End If&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5891560586792346186-8344553536559477136?l=enableordisableregistryeditingtools.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://enableordisableregistryeditingtools.blogspot.com/feeds/8344553536559477136/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5891560586792346186&amp;postID=8344553536559477136' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5891560586792346186/posts/default/8344553536559477136'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5891560586792346186/posts/default/8344553536559477136'/><link rel='alternate' type='text/html' href='http://enableordisableregistryeditingtools.blogspot.com/2007/07/enabledisable-registry-editing-tools.html' title='Enable/Disable Registry Editing tools'/><author><name>Soft Tricks</name><uri>http://www.blogger.com/profile/00012253781075719234</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
