<?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; Registry Tool</title>
	<atom:link href="http://www.otakatik.com/tag/registry-tool/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.otakatik.com</link>
	<description>Empowering Computer</description>
	<lastBuildDate>Wed, 13 Jan 2010 11:42:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Managing Registry From Command Line</title>
		<link>http://www.otakatik.com/managing-registry-from-command-line/</link>
		<comments>http://www.otakatik.com/managing-registry-from-command-line/#comments</comments>
		<pubDate>Sun, 02 Nov 2008 10:57:28 +0000</pubDate>
		<dc:creator>Edi Kwie</dc:creator>
				<category><![CDATA[MS-DOS]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[Registry Tool]]></category>

		<guid isPermaLink="false">http://www.otakatik.com/?p=249</guid>
		<description><![CDATA[Registry Editor is a powerful tool to editing or display Windows Registry system. But Windows XP had given us another great tool to edit it; the tool is reg command line. Yup, you have to type it and sure in command line environment. This time, I want write about how to use the reg command.
As [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.otakatik.com/wp-content/uploads/tiptricks/0089/logo.jpg" alt="" align=" alt=" /></p>
<p>Registry Editor is a powerful tool to editing or display Windows Registry system. But Windows XP had given us another great tool to edit it; the tool is reg command line. Yup, you have to type it and sure in command line environment. This time, I want write about how to use the reg command.<span id="more-249"></span></p>
<p>As you know Registry is windows configuration collections and Windows can’t run without it.<br />
The Registry is composed of mainly two sub trees: <strong>HKEY_LOCAL_MACHINE </strong>and<br />
<strong>HKEY_USERS</strong>. But in order to make it easy to find a particular sub tree, they are displayed<br />
as five subtrees in the Registry Editor, three of which are actually aliases of the other sub trees.<br />
Here are the contents of the main subtree of the Registry, as displayed in the Registry<br />
Editor:</p>
<ul>
<li> <strong>HKEY_LOCAL_MACHINE</strong> Stores information about the hardware, operating system, and other information such as the device drivers and startup configuration of the local computer.</li>
<li> <strong>HKEY_CLASSES_ROOT</strong> Contains information used by various object linking and embedding (OLE) technologies and file class associations.</li>
<li> <strong>HKEY_CURRENT_USER</strong> Contains the profile of the currently logged-on user.</li>
<li> <strong>HKEY_USERS Contains</strong> information about all user profiles and the default profile on the computer. Profiles of users connected remotely are not included in this subtree.</li>
<li> <strong>HKEY_CURRENT_CONFIG</strong> Contains information about the hardware profile that the local computer loaded at startup.</li>
</ul>
<p>As its default Windows has give us two tools to edit or display the registry, Two tools are Registry Editor you can open it with click <strong>Start</strong> &#8211; <strong>Run</strong> and type regedit in textbox and second tool is <strong>Reg</strong> command line, you can open it in command prompt/line environment.</p>
<p>This time I just write down about the second tool, Reg command line. To open it just click Start &#8211; Run and type cmd in textbox then press Enter key. After your command prompt has opened you&#8217;re ready to work.<br />
Reg command has several sub commands and they are :</p>
<ol>
<li> <strong>Reg Add</strong>, Used to add a new subkey or an entry to the Registry.</li>
<li> <strong>Reg Compare</strong>, Used to compare subkeys or entries in the Registry.</li>
<li> <strong>Reg Copy</strong>, Used to copy a Registry entry to a specified location on a local or remote computer.</li>
<li> <strong>Reg Delete</strong>, Used to delete a subkey or an entry from the Registry.</li>
<li> <strong>Reg Export</strong>, Used to copy a subkey, a Registry entry, or a value on the local computer into a file so that it can be transferred to other computers.</li>
<li> <strong>Reg Import</strong>, Used to copy the contents of a file containing an exported subkey, a Registry entry, or a value from another computer to the Registry of the local computer.</li>
<li> <strong>Reg Load</strong>, Used to write saved subkeys of the Registry into a different subkey in the Registry. This command is intended for use in troubleshooting Registry problems.</li>
<li> <strong>Reg Query</strong>, Used to display a list of the next tier of subkeys located directly under the specified subkey in the Registry.</li>
<li> <strong>Reg Restore</strong> Used to restore saved copies of Registry subkeys.</li>
<li> <strong>Reg Save</strong>, Used to save a copy of the specified subkeys, entries, and values of the Registry to a specified file.</li>
<li> Reg Unload, Used to delete a part of the Registry that was previously loaded with the Reg Load command.</li>
</ol>
<p>When you&#8217;re work with Reg command the handle key must write with its notations and these are the notations :</p>
<ol>
<li> HKEY_LOCAL_MACHINE -&gt; HKLM</li>
<li> HKEY_CLASSES_ROOT -&gt; HKCR</li>
<li> HKEY_CURRENT USER -&gt; HKCU</li>
<li> HKEY_USERS -&gt; HKU</li>
<li> HKEY_CURRENT_CONFIG -&gt; HKCC</li>
</ol>
<p>Registry has several data type and you can look the data type lists here.<br />
For each sub command has its own parameters to combine with them. And to know about their parameters you can tyoe <strong>Reg  /?</strong>. For example <strong>Reg query /?</strong><br />
Now, after we are know about the handle key, sub commands, and parameters then you can try it now.<br />
I will write some examples so you can understand how to using it.</p>
<ul>
<li> To display all sub key under Windows key in HKEY_LOCAL_MACHINE : R<strong>eg query HKLM\Software\Microsoft\Windows /s</strong></li>
<li> To compare two keys : <strong>Reg Compare HLKM\Software\Microsoft\DeviceManager HLKM\Software\Microsoft\DeviceManager1 /os</strong></li>
<li>To save a key and its subkey : <strong>Reg Save HKLM\Software\Microsoft\Windows my_backup.reg</strong></li>
<li> To restore from backup key : <strong>Reg restore HKLM\Software\Microsoft\Windows my_backup.reg</strong></li>
</ul>
<p>You can also remote your client computer, for example if you want backup registry from you client you can type : <strong>Reg Save \\client_1\HKLM\Software\Microsoft\Windows my_backup.reg</strong> or you can restore it : <strong>Reg restore \\client_1\HKLM\Software\Microsoft\Windows my_backup.reg</strong>.<br />
Hopefully, this article may help you&#8230;</p>
<p><em>(article no:0089)</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.otakatik.com/managing-registry-from-command-line/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
