<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Otak Atik [dot] Com &#187; Run menu</title>
	<atom:link href="http://www.otakatik.com/tag/run-menu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.otakatik.com</link>
	<description>Empowering Computer</description>
	<lastBuildDate>Wed, 25 Jan 2012 09:06:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Hide Run Menu With Visual Basic Script</title>
		<link>http://www.otakatik.com/hide-run-menu-with-visual-basic-script/</link>
		<comments>http://www.otakatik.com/hide-run-menu-with-visual-basic-script/#comments</comments>
		<pubDate>Thu, 27 Nov 2008 06:26:03 +0000</pubDate>
		<dc:creator>Edi Kwie</dc:creator>
				<category><![CDATA[Windows Registry]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[Run menu]]></category>
		<category><![CDATA[Visual basic script]]></category>

		<guid isPermaLink="false">http://www.otakatik.com/?p=265</guid>
		<description><![CDATA[I&#8217;ve written an article about Manage Registry with Visual Basic Script and this time I want to modified the script to make it to manage Run menu. As you know Run menu is a great menu, with Run you may can go everywhere easier. So, I call it gateway. Yup it&#8217;s a gate to go [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.otakatik.com/wp-content/uploads/tiptricks/0093/logo.png" alt="" align="left" /> I&#8217;ve written an article about <a href="http://www.otakatik.com/disable-registry-editor-using-vb-script/">Manage Registry with Visual Basic Script</a> and this time I want to modified the script to make it to manage Run menu. As you know Run menu is a great menu, with Run you may can go everywhere easier. So, I call it gateway. Yup it&#8217;s a gate to go every corner your computer.<span id="more-265"></span></p>
<p>So, if you want make your computer be more secure you can hide it when you leave your computer and show it again if you use the computer.</p>
<p>And if you edit it through Registry Editor, I think that&#8217;s not a efficient way. But if you want do to that just look here to get the trick. But if you want make it easier just write several script line but after write it you&#8217;ll get a shorter way to hide/show it.</p>
<ol>
<li>Open Notepad with click <strong>Start</strong> -&gt; <strong>Run</strong> and then type <code>notepad</code> in box.<br />
<img title="open notepad" src="http://www.otakatik.com/wp-content/uploads/general/start-run-notepad.jpg" alt="Open notepad" /></li>
<li> And type this script in notepad:<br />
<img title="write in notepad" src="http://www.otakatik.com/wp-content/uploads/tiptricks/0093/notepad_1.jpg" alt="write in notepad" /></li>
<pre name="code" class="vb">
Dim otakatik
ShowHideRun()
Sub ShowHideRun()
Set otakatik=WScript.CreateObject("WScript.Shell")
describe="Type 0 or 1 : " &amp; VbCrLf &amp;_
"[0] -&gt; Show Run Menu." &amp; VbCrLf &amp;_
"[1] -&gt; Hide Run Menu."

question=InputBox(describe, "Manage Run Menu",0)

otakatik.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion" &amp;_
"\Policies\Explorer\NoRun",question,"REG_DWORD"

If question=1 Then
MsgBox "Run menu has hidden.",VbInformation, "Hide"
Else
If question=0 Then
Msgbox "Run menu has shown",VbInformation, "Show"
otakatik.RegDelete "HKCU\Software\Microsoft\Windows\CurrentVersion" &amp;_
"\Policies\Explorer\NoRun"
Else
Msgbox "Input 0 or 1 only !",VbInformation, "Wrong Input"
ShowHideRun()
End If
End If
End Sub</pre>
<li>Save it with click <strong>File</strong> -&gt; <strong>Save As</strong> menu and then give it file name: <code>managerun.vbs</code> (you may change it with your favorite name and don&#8217;t forget to change Save as type combo to All Files), choose your favorite folder then click <strong>OK</strong> button.<br />
<img title="save as" src="http://www.otakatik.com/wp-content/uploads/tiptricks/0093/save_as_2.jpg" alt="save as" /></li>
<li>Open the folder where the managerun.vbs was put.<br />
<img title="open managerun.vbs" src="http://www.otakatik.com/wp-content/uploads/tiptricks/0093/file_3.jpg" alt="open managerun.vbs" /></li>
<li>Double click the file, and Manage Run Menu window will opened.<br />
<img title="open managerun.vbs" src="http://www.otakatik.com/wp-content/uploads/tiptricks/0093/file_3.jpg" alt="open managerun.vbs" /></li>
<li>Give it value 0 to show your Run menu.<br />
<img title="0 to show" src="http://www.otakatik.com/wp-content/uploads/tiptricks/0093/manage_4.jpg" alt="0 to show" /><br />
<img title="0 to show" src="http://www.otakatik.com/wp-content/uploads/tiptricks/0093/has_shown_5.jpg" alt="0 to show" /></li>
<li>Or give it value 1 to hide it.<br />
<img title="1 to show" src="http://www.otakatik.com/wp-content/uploads/tiptricks/0093/has_hide_6.jpg" alt="1 to show" /></li>
<li>Restart your computer and try to click Start menu, if you was hid it so, Run menu will hid.<br />
<img title="Run has gone" src="http://www.otakatik.com/wp-content/uploads/tiptricks/0093/run_has_gone_7.jpg" alt="Run has gone" /></li>
<li>And if you try to press Windows key + R to force open Run menu, you&#8217;ll get a noticed message box.<br />
<img title="error message" src="http://www.otakatik.com/wp-content/uploads/tiptricks/0093/message_8.jpg" alt="error message" /></li>
<li>To show it again, just open your script and give it value 0.</li>
</ol>
<p><em>(article no:0093)</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.otakatik.com/hide-run-menu-with-visual-basic-script/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

