<?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>Aerrow &#187; Command</title>
	<atom:link href="http://pdhewaju.com.np/tag/command/feed/" rel="self" type="application/rss+xml" />
	<link>http://pdhewaju.com.np</link>
	<description>Sharing Windows realted experiences...</description>
	<lastBuildDate>Mon, 07 May 2012 12:41:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>[Solved] Run any program with Elevated Privilege using Script (RUN AS).</title>
		<link>http://pdhewaju.com.np/blog/solved-run-any-program-with-elevated-privilege-using-script-run-as/</link>
		<comments>http://pdhewaju.com.np/blog/solved-run-any-program-with-elevated-privilege-using-script-run-as/#comments</comments>
		<pubDate>Mon, 07 May 2012 12:38:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Command]]></category>
		<category><![CDATA[credential]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[Permission]]></category>
		<category><![CDATA[Run as]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://pdhewaju.com.np/?p=715</guid>
		<description><![CDATA[In my previous blog I have mentioned some issue with WDS while Implementing DC-AD on my college and had also shared the solved issue with you all through this blog. Similarly this time also here I have faced the issue with WAMP…a server which run apache essential for PHP. I was almost corner of the [...]]]></description>
			<content:encoded><![CDATA[<p>In my previous blog I have mentioned some issue with WDS while Implementing DC-AD on my college and had also shared the solved issue with you all through this blog. Similarly this time also here I have faced the issue with WAMP…a server which run apache essential for PHP. I was almost corner of the deployment and about to wrap up the project but suddenly I got the call saying WAMP is not able to run in client machine… I had gone thought the Google and Bing for the solution yet not able to get it, But just got a clue of the Issue.</p>
<p><span id="more-715"></span></p>
<p><strong><span style="text-decoration: underline;">Cause:</span></strong></p>
<p>To get Run WAMP Server Completely it requires the two essential services to get run with administrative privilege. Those are</p>
<p><a href="http://pdhewaju.com.np/blog/solved-run-any-program-with-elevated-privilege-using-script-run-as/attachment/services/" rel="attachment wp-att-718"><img class="aligncenter size-full wp-image-718" title="services" src="http://pdhewaju.com.np/wp-content/uploads/2012/05/services.png" alt="" width="275" height="38" /></a></p>
<p><strong><span style="text-decoration: underline;">Solution:</span></strong></p>
<p>To get this solved what I did was…. Firstly I get login in to the client machine with local administrative privilege. And then went to the services with using services.msc command line.</p>
<p>Then what I did was went to the properties of the both the services that requires WAMP to get function properly and made it logon type with local Administrative user ID as well the services type automatic.</p>
<p><a href="http://pdhewaju.com.np/blog/solved-run-any-program-with-elevated-privilege-using-script-run-as/attachment/login/" rel="attachment wp-att-716"><img class="aligncenter" title="login" src="http://pdhewaju.com.np/wp-content/uploads/2012/05/login-265x300.png" alt="" width="265" height="300" /></a></p>
<p>&nbsp;</p>
<p><a href="http://pdhewaju.com.np/blog/solved-run-any-program-with-elevated-privilege-using-script-run-as/attachment/services-with-username/" rel="attachment wp-att-717"><img class="aligncenter" title="services with username" src="http://pdhewaju.com.np/wp-content/uploads/2012/05/services-with-username-300x24.png" alt="" width="300" height="24" /></a></p>
<p>But after doing all these things whenever I tried to run the WAMP with standard user Privilege I always got the issue of the Administrative password with dim background, to get sort this out what I did was wrote the script and make it run….. bingo… it works… here is the script which you can use.</p>
<p>&nbsp;</p>
<blockquote><p>set WshShell = WScript.CreateObject(&#8220;WScript.Shell&#8221;)</p>
<p>WshShell.run &#8220;runas /user:computername or domainname\username %comspec%&#8221;  ‘Open command prompt</p>
<p>WScript.Sleep 1000</p>
<p>WshShell.SendKeys &#8220;password&#8221; &#8216;send password</p>
<p>WshShell.SendKeys &#8220;{ENTER}&#8221;</p>
<p>WScript.Sleep 1000</p>
<p>WshShell.SendKeys Chr(34) + &#8220;c:\wamp\wampmanager.exe&#8221; + Chr(34)</p>
<p>WshShell.SendKeys &#8220;{ENTER}&#8221;</p>
<p>&nbsp;</p>
<p>WshShell.SendKeys &#8220;exit&#8221;  &#8216;Close command prompt</p>
<p>WshShell.SendKeys &#8220;{ENTER}&#8221;</p>
<p>WScript.Sleep 1000</p>
<p>set wshshell = nothing</p></blockquote>
<p>Hoping to get your response on this.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://pdhewaju.com.np/blog/solved-run-any-program-with-elevated-privilege-using-script-run-as/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Enable Telnet in Windows 7</title>
		<link>http://pdhewaju.com.np/windows/enable-telnet-in-windows-7/</link>
		<comments>http://pdhewaju.com.np/windows/enable-telnet-in-windows-7/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 13:29:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Command]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[Telnet]]></category>

		<guid isPermaLink="false">http://pdhewaju.com.np/?p=113</guid>
		<description><![CDATA[Itâ€™s very rare that I use Telnet these days, so it took a long time for me to notice that by default it was not packaged with Windows 7. I did some research and found out that this was also true for Windows Vista. More than likely this was an attempt to make Windows more [...]]]></description>
			<content:encoded><![CDATA[<p>Itâ€™s very rare that I use Telnet these days, so it took a long time for me to notice that by default it was not packaged with Windows 7. I did some research and found out that this was also true for Windows Vista. More than likely this was an attempt to make Windows more secure by default, as Telnet is very insecure and whenever you have the choice you should always use SSH. However, with that being said, you can quickly re-enable Telnet by following these steps:</p>
<p>Â </p>
<p><span id="more-113"></span></p>
<ol>
<li>Start</li>
<li>Control Panel</li>
<li>Programs And Features</li>
<li>Turn Windows features on or off</li>
<li>Check Telnet Client</li>
<li>Hit OK</li>
</ol>
<p>After that you can start Telnet via Command Prompt.</p>
]]></content:encoded>
			<wfw:commentRss>http://pdhewaju.com.np/windows/enable-telnet-in-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Command IV&#8230;..Configure your IP.</title>
		<link>http://pdhewaju.com.np/windows/command-iv-configure-your-ip/</link>
		<comments>http://pdhewaju.com.np/windows/command-iv-configure-your-ip/#comments</comments>
		<pubDate>Thu, 26 Nov 2009 10:23:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Command]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[IT pro]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[windows vista]]></category>
		<category><![CDATA[windows7]]></category>

		<guid isPermaLink="false">http://pdhewaju.com.np/?p=110</guid>
		<description><![CDATA[start configuring your computer IP from command&#8230;&#8230;.Its really fun to do something manually rather then we do with using GUI. Â netsh interface ip show config With Netsh.exe, you can easily configure your computer&#8217;s IP address and other TCP/IP related settings. For example: The following command configures the interface named Local Area Connection with the static [...]]]></description>
			<content:encoded><![CDATA[<p>start configuring your computer IP from command&#8230;&#8230;.Its really fun to do something manually rather then we do with using GUI.</p>
<p><span id="more-110"></span></p>
<p>Â netsh interface ip show config</p>
<p>With Netsh.exe, you can easily <strong>configure your computer&#8217;s IP address and other TCP/IP related settings</strong>. For example:</p>
<p>The following command configures the interface named Local Area Connection with the static IP address 192.168.0.100, the subnet mask of 255.255.255.0, and a default gateway of 192.168.0.1:</p>
<p>netsh interface ip set address name=&#8221;Local Area Connection&#8221; static 192.168.0.100 255.255.255.0 192.168.0.1 1</p>
<p>Netsh.exe can be also useful in certain scenarios such as when you have a portable computer that needs to be relocated between 2 or more office locations, while still maintaining a specific and static IP address configuration. With Netsh.exe, you can easily save and restore the appropriate network configuration.</p>
<p>First, connect your portable computer to location #1, and then manually configure the required settings (such as the IP address, Subnet Mask, Default Gateway, DNS and WINS addresses).</p>
<p>Now, you need to <strong>export your current IP settings</strong> to a text file. Use the following command:</p>
<pre>netsh -c interface dump &gt; c:'location1.txt</pre>
<p>When you reach location #2, do the same thing, only keep the new settings to a different file:</p>
<pre>netsh -c interface dump &gt; c:'location2.txt</pre>
<p>You can go on with any other location you may need, but we&#8217;ll keep it simple and only use 2 examples.</p>
<p>Now, whenever you need to quickly <strong>import your IP settings</strong> and change them between location #1 and location #2, just enter the following command in a Command Prompt window (CMD.EXE):</p>
<pre>netsh -f c:'location1.txt</pre>
<p>or</p>
<pre>netsh -f c:'location2.txt</pre>
<p>and so on.</p>
<p>You can also use the global EXEC switch instead of -F:</p>
<pre>netsh exec c:'location2.txt</pre>
<p>Netsh.exe can also be used to configure your NIC to <strong>automatically obtain an IP address from a DHCP server</strong>:</p>
<pre>netsh interface ip set address "Local Area Connection" dhcp</pre>
<p>Would you like to <strong>configure DNS and WINS addresses</strong> from the Command Prompt? You can. See this example for DNS:</p>
<pre><strong><span style="text-decoration: underline;">netsh interface ip set dns "Local Area Connection" static 192.168.0.200</span></strong></pre>
<p>and this one for WINS:</p>
<pre><strong><span style="text-decoration: underline;">netsh interface ip set wins "Local Area Connection" static 192.168.0.200</span></strong></pre>
<p>Or, if you want, you can configure your NIC to <strong>dynamically obtain it&#8217;s DNS settings</strong>:</p>
<pre>netsh interface ip set dns "Local Area Connection" dhcp</pre>
<p>BTW, if you want to set a primary and secondary DNS address, add index=1 and index=2 respectively to the lines of Netsh command.</p>
<p>As you now see, Netsh.exe has many features you might find useful, and that goes beyond saying even without looking into the other valuable options that exist in the command.</p>
<p>Enjoy playing with ur Command.</p>
]]></content:encoded>
			<wfw:commentRss>http://pdhewaju.com.np/windows/command-iv-configure-your-ip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>command IIIâ€¦â€¦REGISTRY</title>
		<link>http://pdhewaju.com.np/windows/command-iii%e2%80%a6%e2%80%a6registry/</link>
		<comments>http://pdhewaju.com.np/windows/command-iii%e2%80%a6%e2%80%a6registry/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 08:18:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[regedit]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[Command]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[windows vista]]></category>

		<guid isPermaLink="false">http://pdhewaju.com.np/?p=93</guid>
		<description><![CDATA[Registry is the most powerful tool in windows operating system, any errors occurs in our machine we try to solve it through the regedit firstâ€¦.even now a days we try to fix the viruses through registry.we may not able to access our GUI mode of Registry when our machine get infected by virus so through [...]]]></description>
			<content:encoded><![CDATA[<p>Registry is the most powerful tool in windows operating system, any errors occurs in our machine we try to solve it through the regedit firstâ€¦.even now a days we try to fix the viruses through registry.we may not able to access our GUI mode of Registry when our machine get infected by virus so through this blog I am trying to share my knowledge of CUI mode edit and operation of Regedit.Hope you will enjoy this.</p>
<p>Â </p>
<p><span id="more-93"></span></p>
<p>Here the command line goesâ€¦.</p>
<p>REG Operation [Parameter List]</p>
<p>Operation [ QUERY | ADD | DELETE | COPY | SAVE | LOAD | UNLOAD | RESTORE | COMPARE | EXPORT | IMPORT ]</p>
<p>Return Code: (Except of REG COMPARE)</p>
<p>0 &#8211; Succussful<br />
1 &#8211; Failed</p>
<p><strong>REG QUERY</strong></p>
<p>REG QUERY KeyName [/v ValueName | /ve] [/s]</p>
<p>KeyName<br />
[\Machine\]FullKey</p>
<p>Machine<br />
Name of remote machine, omitting defaults to the current machine<br />
Only HKLM and HKU are available on remote machines</p>
<p>FullKey<br />
in the form of ROOTKEY\SubKey name<br />
ROOTKEY [ HKLM | HKCU | HKCR | HKU | HKCC ]<br />
SubKey &#8211; The full name of a registry key under the selected ROOTKEY</p>
<p>/v<br />
query for a specific registry key</p>
<p>ValueName<br />
The name, under the selected Key, to query if omitted, all values under the Key are queried</p>
<p>/ve<br />
query for the default value or empty value name &lt;no name&gt;</p>
<p>/s<br />
queries all subkeys and values</p>
<p><strong>REG ADD</strong></p>
<p>REG ADD KeyName [/v ValueName | /ve] [/t Type] [/s Separator] [/d Data] [/f]</p>
<p>KeyName<br />
[\\Machine\]FullKey</p>
<p>Machine<br />
Name of remote machine &#8211; omitting defaults to the current<br />
machine Only HKLM and HKU are available on remote machines</p>
<p>FullKey<br />
ROOTKEY\SubKey<br />
ROOTKEY [ HKLM | HKCU | HKCR | HKU | HKCC ]<br />
SubKey The full name of a registry key under the selected ROOTKEY</p>
<p>/v<br />
The value name, under the selected Key, to add</p>
<p>/ve<br />
adds an empty value name &lt;no name&gt; for the key</p>
<p>/t RegKey<br />
data types<br />
[ REG_SZ | REG_MULTI_SZ | REG_DWORD_BIG_ENDIAN | REG_DWORD | REG_BINARY | REG_DWORD_LITTLE_ENDIAN | REG_NONE | REG_EXPAND_SZ ]<br />
If omitted, REG_SZ is assumed</p>
<p>/s<br />
Specify one charactor that you use as the separator in your data<br />
string for REG_MULTI_SZ. If omitted, use &#8220;\0&#8243; as the separator</p>
<p>/d<br />
The data to assign to the registry ValueName being added</p>
<p>/f<br />
Force overwriting the existing registry entry without prompt</p>
<p><strong>REG DELETE</strong></p>
<p>REG DELETE KeyName [/v ValueName | /ve | /va] [/f]</p>
<p>KeyName<br />
[\\Machine\]FullKey</p>
<p>Machine<br />
Name of remote machine &#8211; omitting defaults to the current machine<br />
Only HKLM and HKU are available on remote machines</p>
<p>FullKey<br />
ROOTKEY\SubKey<br />
ROOTKEY [ HKLM | HKCU | HKCR | HKU | HKCC ]<br />
SubKey The full name of a registry key under the selected ROOTKEY</p>
<p>ValueName<br />
The value name, under the selected Key, to delete<br />
When omitted, all subkeys and values under the Key are deleted</p>
<p>/ve<br />
delete the value of empty value name &lt;no name&gt;</p>
<p>/va<br />
delete all values under this key</p>
<p>/f<br />
Forces the deletion without prompt</p>
<p><strong>REG COPY</strong></p>
<p>REG COPY KeyName1 KeyName2 [/s] [/f]</p>
<p>KeyName<br />
[\\Machine\]FullKey</p>
<p>Machine<br />
Name of remote machine &#8211; omitting defaults to the current machine<br />
Only HKLM and HKU are available on remote machines</p>
<p>FullKey<br />
ROOTKEY\SubKey<br />
ROOTKEY [ HKLM | HKCU | HKCR | HKU | HKCC ]<br />
SubKey The full name of a registry key under the selected ROOTKEY</p>
<p>/s<br />
Copies all subkeys and values</p>
<p>/f<br />
Forces the copy without prompt</p>
<p><strong>REG SAVE</strong></p>
<p>REG SAVE KeyName FileName</p>
<p>KeyName<br />
ROOTKEY\SubKey<br />
ROOTKEY [ HKLM | HKCU | HKCR | HKU | HKCC ]<br />
SubKey The full name of a registry key under the selected ROOTKEY</p>
<p>FileName<br />
The name of the disk file to save. If no path is specified, the file is created in the current folder of the calling process</p>
<p><strong>REG RESTORE</strong></p>
<p>REG RESTORE KeyName FileName</p>
<p>KeyName<br />
ROOTKEY\SubKey (local machine only)<br />
ROOTKEY [ HKLM | HKCU | HKCR | HKU | HKCC ]<br />
SubKey The full name of a registry key to restore the hive file into.<br />
Overwriting the existing key&#8217;s values and subkeys</p>
<p>FileName<br />
The name of the hive file to restore<br />
You must use REG SAVE to create this file</p>
<p><strong>REG LOAD</strong></p>
<p>REG LOAD KeyName FileName</p>
<p>KeyName<br />
ROOTKEY\SubKey (local machine only)<br />
ROOTKEY [ HKLM | HKU ]<br />
SubKey The key name to load the hive file into. Creating a new key</p>
<p>FileName<br />
The name of the hive file to load<br />
You must use REG SAVE to create this file</p>
<p><strong>REG UNLOAD</strong></p>
<p>REG UNLOAD KeyName</p>
<p>KeyName<br />
ROOTKEY\SubKey (local machine only)<br />
ROOTKEY [ HKLM | HKU ]<br />
SubKey The key name of the hive to unload</p>
<p><strong>REG COMPARE</strong></p>
<p>REG COMPARE KeyName1 KeyName2 [/v ValueName | /ve] [Output] [/s]</p>
<p>KeyName<br />
[\\Machine\]FullKey<br />
Machine Name of remote machine &#8211; omitting defaults to the current machine<br />
Only HKLM and HKU are available on remote machines<br />
FullKey ROOTKEY\SubKey<br />
If FullKey2 is not specified, FullKey2 is the same as FullKey1<br />
ROOTKEY [ HKLM | HKCU | HKCR | HKU | HKCC ]<br />
SubKey The full name of a registry key under the selected ROOTKEY</p>
<p>ValueName<br />
The value name, under the selected Key, to compare<br />
When omitted, all values under the Key are compared</p>
<p>/ve<br />
compare the value of empty value name &lt;no name&gt;</p>
<p>/s<br />
Compare all subkeys and values</p>
<p>Output<br />
[/oa | /od | /os | /on]<br />
When omitted, output only differences</p>
<p>/oa Output all of differences and matches<br />
/od Output only differences<br />
/os Output only matches<br />
/on No output</p>
<p>Return Code:</p>
<p>0 &#8211; Succussful, the result compared is identical<br />
1 &#8211; Failed<br />
2 &#8211; Successful, the result compared is different</p>
<p><strong>REG EXPORT</strong></p>
<p>REG EXPORT KeyName FileName</p>
<p>Keyname<br />
ROOTKEY\SubKey (local machine only)<br />
ROOTKEY [ HKLM | HKCU | HKCR | HKU | HKCC ]<br />
SubKey The full name of a registry key under the selected ROOTKEY</p>
<p>FileName<br />
The name of the disk file to export</p>
<p><strong>REG IMPORT</strong></p>
<p>REG IMPORT FileName</p>
<p>FileName<br />
The name of the disk file to import (local machine only)</p>
<p><a name="04"></a>Examples</p>
<p>Each of the below examples are the examples Microsoft has listed in each of the command help menus available through the /? switch on this command.</p>
<p><strong>Reg query examples:</strong></p>
<p>REG QUERY HKLM\Software\Microsoft\ResKit /v Version</p>
<p>Displays the value of the registry value Version</p>
<p>REG QUERY HKLM\Software\Microsoft\ResKit\Nt\Setup /s</p>
<p>Displays all subkeys and values under the registry key Setup</p>
<p><strong>Reg add Examples:</strong></p>
<p>REG ADD <a href="file://abc/HKLM/Software/MyCo">file://abc/HKLM/Software/MyCo</a></p>
<p>Adds a key HKLM\Software\MyCo on remote machine ABC</p>
<p>REG ADD HKLM\Software\MyCo /v Data /t REG_BINARY /d fe340ead</p>
<p>Adds a value (name: Data, type: REG_BINARY, data: fe340ead)</p>
<p>REG ADD HKLM\Software\MyCo /v MRU /t REG_MULTI_SZ /d fax\0mail</p>
<p>Adds a value (name: MRU, type: REG_MUTLI_SZ, data: fax\0mail\0\0)</p>
<p>REG ADD HKLM\Software\MyCo /v Path /t REG_EXPAND_SZ /d %%systemroot%%</p>
<p>Adds a value (name: Path, type: REG_EXPAND_SZ, data: %systemroot%)<br />
Notice: Use the double percentage ( %% ) inside the expand string</p>
<p><strong>Reg delete examples:</strong></p>
<p>REG DELETE HKLM\Software\MyCo\MyApp\Timeout</p>
<p>Deletes the registry key Timeout and its all subkeys and values</p>
<p>REG DELETE \\ZODIAC\HKLM\Software\MyCo /v MTU</p>
<p>Deletes the registry value MTU under MyCo on ZODIAC</p>
<p><strong>Reg copy examples:</strong></p>
<p>REG COPY HKLM\Software\MyCo\MyApp HKLM\Software\MyCo\SaveMyApp /s</p>
<p>Copies all subkeys and values under the key MyApp to the key SaveMyApp</p>
<p>REG COPY \\ZODIAC\HKLM\Software\MyCo HKLM\Software\MyCo1</p>
<p>Copies all values under the key MyCo on ZODIAC to the key MyCo1<br />
on the current machine</p>
<p><strong>Reg save examples:</strong></p>
<p>REG SAVE HKLM\Software\MyCo\MyApp AppBkUp.hiv</p>
<p>Saves the hive MyApp to the file AppBkUp.hiv in the current folder</p>
<p><strong>Reg restore examples:</strong></p>
<p>REG RESTORE HKLM\Software\Microsoft\ResKit NTRKBkUp.hiv</p>
<p>Restores the file NTRKBkUp.hiv overwriting the key ResKit</p>
<p><strong>Reg load examples:</strong></p>
<p>REG LOAD HKLM\TempHive TempHive.hiv</p>
<p>Loads the file TempHive.hiv to the Key HKLM\TempHive</p>
<p><strong>Reg unload examples:</strong></p>
<p>REG UNLOAD HKLM\TempHive</p>
<p>Unloads the hive TempHive in HKLM</p>
<p><strong>Reg compare examples:</strong></p>
<p>REG COMPARE HKLM\Software\MyCo\MyApp HKLM\Software\MyCo\SaveMyApp</p>
<p>Compares all values under the key MyApp with SaveMyApp</p>
<p>REG COMPARE HKLM\Software\MyCo HKLM\Software\MyCo1 /v Version</p>
<p>Compares the value Version under the key MyCo and MyCo1</p>
<p>REG COMPARE \\ZODIAC\HKLM\Software\MyCo \\. /s</p>
<p>Compares all subkeys and values under HKLM\Software\MyCo on ZODIAC<br />
with the same key on the current machine</p>
<p><strong>Reg export examples:</strong></p>
<p>REG EXPORT HKLM\Software\MyCo\MyApp AppBkUp.reg</p>
<p>Exports all subkeys and values of the key MyApp to the file AppBkUp.reg</p>
<p><strong>Reg import examples:</strong></p>
<p>REG IMPORT AppBkUp.reg</p>
<p>Imports registry entrys from the file AppBkUp.reg</p>
<p>Â </p>
<p>Enjoy testingâ€¦..</p>
]]></content:encoded>
			<wfw:commentRss>http://pdhewaju.com.np/windows/command-iii%e2%80%a6%e2%80%a6registry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Schedule Task Manually&#8230;&#8230;.how?</title>
		<link>http://pdhewaju.com.np/windows/schedule-task-manually-how/</link>
		<comments>http://pdhewaju.com.np/windows/schedule-task-manually-how/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 07:44:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Command]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[windows vista]]></category>
		<category><![CDATA[windows7]]></category>

		<guid isPermaLink="false">http://pdhewaju.com.np/?p=82</guid>
		<description><![CDATA[Tasks,processes,commands can be scheduled in Windows through Task Scheduler. But is it possible to do this through few lines using the command prompt? This is where the &#8220;at&#8221; command is useful Administrator access is needed to schedule,modify or delete tasks using the &#8220;at&#8221; command. Suppose the box needs to be shutdown at 7 pm today,this [...]]]></description>
			<content:encoded><![CDATA[<p>Tasks,processes,commands can be scheduled in Windows through Task Scheduler.</p>
<p>But is it possible to do this through few lines using the command prompt?</p>
<p>This is where the &#8220;at&#8221; command is useful</p>
<p>Administrator access is needed to schedule,modify or delete tasks using the &#8220;at&#8221; command.</p>
<p>Suppose the box needs to be shutdown at 7 pm today,this can be done by simply typingÂ </p>
<p>Â </p>
<p><span id="more-82"></span></p>
<p>&#8211;&gt;at 19:00 shutdown -s</p>
<p>This will add this particular task in scheduler&#8217;s queue which can be listed by typing just &#8220;at&#8221;.</p>
<p>I recommend to first check the queue using this command to make sure there are no previous similar jobs queued to avoid conflict.</p>
<p>What if some files need to be copied from one folder to the other at a specified time automatically?</p>
<p>Again &#8220;at&#8221; is to the rescue.</p>
<p>To copy all files from the Documents folder to the Somedata folder at midnight, type the following line, and then press ENTER:</p>
<p>&#8211;&gt;at 00:00 cmd /c copy C:\Documents\*.* C:\Somedata</p>
<p>Â </p>
<p>If you want to delete scheduled tasks from the queue,issue the at /delete command,just issuing /delete will remove all scheduled jobs.</p>
<p>&#8211;&gt;at 1 /delete deletes task with id 1</p>
<p>&#8211;&gt;:at 2 /delete deletes task with id 2</p>
<p>&#8211;&gt;at /delete will delete all pending tasks</p>
<p>Feel free to try out the various nuances of at as it can be very quick and powerful to automate routine tasks</p>
]]></content:encoded>
			<wfw:commentRss>http://pdhewaju.com.np/windows/schedule-task-manually-how/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>COMMAND FOR WINDOWS</title>
		<link>http://pdhewaju.com.np/windows/command-for-windows/</link>
		<comments>http://pdhewaju.com.np/windows/command-for-windows/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 07:40:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[Command]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[windows vista]]></category>

		<guid isPermaLink="false">http://pdhewaju.com.np/?p=79</guid>
		<description><![CDATA[Command is the most interesting, powerful and essential tool for the ITpros as well as developer. Without knowledge on it ITpros cannot work well, and obviously some guys want to show them professional by using the command&#8230;&#8230;(a full black screen and white cursor blinking). Hope you guys have now learned how to use the &#8220;at&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p align="justify">Command is the most interesting, powerful and essential tool for the ITpros as well as developer. Without knowledge on it ITpros cannot work well, and obviously some guys want to show them professional by using the command&#8230;&#8230;(a full black screen and white cursor blinking). Hope you guys have now learned how to use the &#8220;at&#8221; command in your machine to schedule manual task from the previous blog of mine. so lot of you guys may have a query that we learned to use the &#8220;at&#8221; command but what are the command that can be used in windows?&#8230;&#8230;&#8230;so in this blog I have tried to publish all those command I do know in windows&#8230;&#8230;.hope you will enjoy this&#8230;.</p>
<p align="justify">Â </p>
<p align="justify"><span id="more-79"></span></p>
<p align="justify">Accessibility Controls &#8211; access.cpl<br />
Accessibility Wizard &#8211; accwiz<br />
Add Hardware Wizard &#8211; hdwwiz.cpl<br />
Add/Remove Programs &#8211; appwiz.cpl<br />
Administrative Tools &#8211; control admintools<br />
Automatic Updates &#8211; wuaucpl.cpl<br />
Bluetooth Transfer Wizard &#8211; fsquirt<br />
Calculator &#8211; calc<br />
Certificate Manager &#8211; certmgr.msc<br />
Character Map &#8211; charmap<br />
Check Disk Utility &#8211; chkdsk<br />
Clipboard Viewer &#8211; clipbrd<br />
Command Prompt &#8211; cmd<br />
Component Services &#8211; dcomcnfg<br />
Computer Management &#8211; compmgmt.msc<br />
Control Panel &#8211; control<br />
Date and Time Properties &#8211; timedate.cpl<br />
DDE Shares &#8211; ddeshare<br />
Device Manager &#8211; devmgmt.msc<br />
Direct X Troubleshooter &#8211; dxdiag<br />
Disk Cleanup Utility &#8211; cleanmgr<br />
Disk Defragment &#8211; dfrg.msc<br />
Disk Management &#8211; diskmgmt.msc<br />
Disk Partition Manager &#8211; diskpart<br />
Display Properties &#8211; control desktop<br />
Display Properties &#8211; desk.cpl<br />
Dr. Watson System Troubleshooting Utility &#8211; drwtsn32<br />
Driver Verifier Utility &#8211; verifier<br />
Event Viewer &#8211; eventvwr.msc<br />
Files and Settings Transfer Tool &#8211; migwiz<br />
File Signature Verification Tool &#8211; sigverif<br />
Findfast &#8211; findfast.cpl<br />
Firefox &#8211; firefox<br />
Folders Properties &#8211; control folders<br />
Fonts &#8211; control fonts<br />
Fonts Folder &#8211; fonts<br />
Free Cell Card Game &#8211; freecell<br />
Game Controllers &#8211; joy.cpl<br />
Group Policy Editor (for xp professional) &#8211; gpedit.msc<br />
Hearts Card Game &#8211; mshearts<br />
Help and Support &#8211; helpctr<br />
HyperTerminal &#8211; hypertrm<br />
Iexpress Wizard &#8211; iexpress<br />
Indexing Service &#8211; ciadv.msc<br />
Internet Connection Wizard &#8211; icwconn1<br />
Internet Explorer &#8211; iexplore<br />
Internet Properties &#8211; inetcpl.cpl<br />
Keyboard Properties &#8211; control keyboard<br />
Local Security Settings &#8211; secpol.msc<br />
Local Users and Groups &#8211; lusrmgr.msc<br />
Logs You Out Of Windows &#8211; logoff<br />
Malicious Software Removal Tool &#8211; mrt<br />
Microsoft Chat &#8211; winchat<br />
Microsoft Movie Maker &#8211; moviemk<br />
Microsoft Paint &#8211; mspaint<br />
Microsoft Syncronization Tool &#8211; mobsync<br />
Minesweeper Game &#8211; winmine<br />
Mouse Properties &#8211; control mouse<br />
Mouse Properties &#8211; main.cpl<br />
Netmeeting &#8211; conf<br />
Network Connections &#8211; control netconnections<br />
Network Connections &#8211; ncpa.cpl<br />
Network Setup Wizard &#8211; netsetup.cpl<br />
Notepad &#8211; notepad<br />
Object Packager &#8211; packager<br />
ODBC Data Source Administrator &#8211; odbccp32.cpl<br />
On Screen Keyboard &#8211; osk<br />
Outlook Express &#8211; msimn<br />
Paint &#8211; pbrush<br />
Password Properties &#8211; password.cpl<br />
Performance Monitor &#8211; perfmon.msc<br />
Performance Monitor &#8211; perfmon<br />
Phone and Modem Options &#8211; telephon.cpl<br />
Phone Dialer &#8211; dialer<br />
Pinball Game &#8211; pinball<br />
Power Configuration &#8211; powercfg.cpl<br />
Printers and Faxes &#8211; control printers<br />
Printers Folder &#8211; printers<br />
Regional Settings &#8211; intl.cpl<br />
Registry Editor &#8211; regedit<br />
Registry Editor &#8211; regedit32<br />
Remote Access Phonebook &#8211; rasphone<br />
Remote Desktop &#8211; mstsc<br />
Removable Storage &#8211; ntmsmgr.msc<br />
Removable Storage Operator Requests &#8211; ntmsoprq.msc<br />
Resultant Set of Policy (for xp professional) &#8211; rsop.msc<br />
Scanners and Cameras &#8211; sticpl.cpl<br />
Scheduled Tasks &#8211; control schedtasks<br />
Security Center &#8211; wscui.cpl<br />
Services &#8211; services.msc<br />
Shared Folders &#8211; fsmgmt.msc<br />
Shuts Down Windows &#8211; shutdown<br />
Sounds and Audio &#8211; mmsys.cpl<br />
Spider Solitare Card Game &#8211; spider<br />
SQL Client Configuration &#8211; cliconfg<br />
System Configuration Editor &#8211; sysedit<br />
System Configuration Utility &#8211; msconfig<br />
System Information &#8211; msinfo32<br />
System Properties &#8211; sysdm.cpl<br />
Task Manager &#8211; taskmgr<br />
TCP Tester &#8211; tcptest<br />
Telnet Client &#8211; telnet<br />
User Account Management &#8211; nusrmgr.cpl<br />
Utility Manager &#8211; utilman<br />
Windows Address Book &#8211; wab<br />
Windows Address Book Import Utility &#8211; wabmig<br />
Windows Explorer &#8211; explorer<br />
Windows Firewall &#8211; firewall.cpl<br />
Windows Magnifier &#8211; magnify<br />
Windows Management Infrastructure &#8211; wmimgmt.msc<br />
Windows Media Player &#8211; wmplayer<br />
Windows Messenger &#8211; msmsgs<br />
Windows System Security Tool &#8211; syskey<br />
Windows Update Launches &#8211; wupdmgr<br />
Windows Version &#8211; winver<br />
Wordpad â€“ write</p>
]]></content:encoded>
			<wfw:commentRss>http://pdhewaju.com.np/windows/command-for-windows/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How Long Has Your System Been Running?</title>
		<link>http://pdhewaju.com.np/windows/how-long-has-your-system-been-running/</link>
		<comments>http://pdhewaju.com.np/windows/how-long-has-your-system-been-running/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 06:05:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[Command]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[Tricks]]></category>

		<guid isPermaLink="false">http://pdhewaju.com.np/?p=63</guid>
		<description><![CDATA[Here&#8217;s how you verify windows xp system uptime i.e how do you know that how long is your system is running when you have done last boot. Here is the trick you can work in your XP machine: Click Start &#124; Run and type cmd to open a command prompt. At the prompt, type systeminfo [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s how you verify windows xp system uptime i.e how do you know that how long is your system is running when you have done last boot. Here is the trick you can work in your XP machine:</p>
<p><span id="more-63"></span></p>
<p>Click Start | Run and type cmd to open a command prompt. At the prompt, type systeminfo</p>
<p>Scroll down the list of information to the line that says System Up Time.</p>
<p>This will tell you in days, hours, minutes and seconds how long the system has been up.</p>
<p>Note that this command only works in XP Professional, not in XP Home or any of other Windows Operating system to show system uptime. You can, however, type net statistics workstation at the prompt in Home. The first line will tell you the day and time that the system came online.</p>
]]></content:encoded>
			<wfw:commentRss>http://pdhewaju.com.np/windows/how-long-has-your-system-been-running/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

