<?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>LosByers- Interesting Musings Helpful Hints from a Unix System Administrator &#187; Windows</title>
	<atom:link href="http://losbyers.com/wordpress/tag/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://losbyers.com/wordpress</link>
	<description>All the info I need</description>
	<lastBuildDate>Wed, 01 Sep 2010 19:48:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>DOS commands / Batch file scripting</title>
		<link>http://losbyers.com/wordpress/2010/07/dos-commands-batch-file-scripting/</link>
		<comments>http://losbyers.com/wordpress/2010/07/dos-commands-batch-file-scripting/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 15:14:35 +0000</pubDate>
		<dc:creator>LosByers</dc:creator>
				<category><![CDATA[Windows OS]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://losbyers.com/wordpress/?p=193</guid>
		<description><![CDATA[<p>I hate to admit on a Unix admin type Blog that I have been recently forced to work in the Windows OS world.</p>
<p>Thankfully I have been able to place Cygwin on most of the systems that I support.</p>
<p>I have, however, needed to be able to create a few batch files that would run on a [...]]]></description>
			<content:encoded><![CDATA[<p>I hate to admit on a Unix admin type Blog that I have been recently forced to work in the Windows OS world.</p>
<p>Thankfully I have been able to place Cygwin on most of the systems that I support.</p>
<p>I have, however, needed to be able to create a few batch files that would run on a scheduled basis for various things and had to learn the tricks of the trade for working in the DOS command prompt.</p>
<p><strong>Personal Cheat Sheet.</strong></p>
<p style="padding-left: 30px;">: &#8212; (followed by a space), alternative for &#8220;rem&#8221;, starts a comment<br />
^ &#8212; line continuation&#8230;  like a backslash (\) at the end of the line in unix<br />
&amp; &#8212; command separator (cmd1&amp;  cmd2&amp;  cmd3), like &#8220;;&#8221; in unix<br />
&amp;&amp; &#8212; only execute the next statement if the last one succeeded, like unix/perl<br />
||  &#8212;  only execute the next statement if the last one failed, like unix/perl</p>
<ul>
<li>Passing in command line variables/parameters</li>
</ul>
<p style="padding-left: 30px;">Batch files can only handle parameters %0 to %9, ie cmd.bat Foo Bar where in the cmd.bat Foo=%1 and Bar = %2</p>
<ul>
<li>For Loops</li>
<li>FOR %A IN (<em>list</em>) DO <em>command</em> [ <em>parameters</em> ]</li>
</ul>
<pre><code>
I did find <a title="RobVanderwoude Scripting site" href="http://www.robvanderwoude.com/" target="_blank">this web site</a> has tons of useful information on windows scripts.
The menu at the left will expand to show more info on each topic.

Finding system uptime
* net statistics server

Listing all of your systems drivers</code><code>
* DRIVERQUERY /V /FO CSV &gt; %ComputerName%.csv</code></pre>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Flosbyers.com%2Fwordpress%2F2010%2F07%2Fdos-commands-batch-file-scripting%2F&amp;linkname=DOS%20commands%20%2F%20Batch%20file%20scripting"><img src="http://losbyers.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://losbyers.com/wordpress/2010/07/dos-commands-batch-file-scripting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet Explorer Ruler (Shift R)</title>
		<link>http://losbyers.com/wordpress/2010/01/internet-explorer-ruler-shift-r/</link>
		<comments>http://losbyers.com/wordpress/2010/01/internet-explorer-ruler-shift-r/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 21:43:32 +0000</pubDate>
		<dc:creator>LosByers</dc:creator>
				<category><![CDATA[Windows OS]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://losbyers.com/wordpress/?p=134</guid>
		<description><![CDATA[<p>While browsing the web the other day and I was in the midst of entering a search term when an odd little window unexpectedly popped up. It was titled “Ruler”, and offered some options to check, such as “Snap to X/Y axis” and “Hide Tick marks.”</p>
<p>I found that my keyboard was no longer responding, so [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-family: verdana;">While browsing the web the other day and I was in the midst of entering a search term when an odd little window unexpectedly popped up. <img style="margin: 10px; float: right; width: 320px;" src="http://www.pioneervalleysoftware.com/images/blog/ruler.jpg" border="0" alt="renegade ruler" />It was titled “Ruler”, and offered some options to check, such as “Snap to X/Y axis” and “Hide Tick marks.”</span></p>
<p><span style="font-family: verdana;">I found that my keyboard was no longer responding, so I clicked the peculiar popup’s close box and continued typing. All was fine until I had occasion to enter an upper case “R,” then suddenly the strange ruler window popped up again. What the hack was going on?</span><br />
<span style="font-family: verdana;">The ruler box is a feature of the <a href="http://www.microsoft.com/downloads/details.aspx?familyid=e59c3964-672d-4511-bb3e-2d5e1db91038&amp;displaylang=en">Internet Explorer 7 Developer Toolbar</a> add-on and for some reason is in certain versions of the toolbar and not others for various versions of IE.  Go figure? <img src='http://losbyers.com/wordpress/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  </span></p>
<p><span style="font-family: verdana;">To make the Shift-R ruler &#8220;feature&#8221; go away, I typed</span><span style="font-family: verdana;"> <em>Ctrl-Shift-J </em></span><span style="font-family: verdana;">and the Shift-R now works as it should.  You may need to bring up the Developer Tool Bar before hitting the keys strokes to make the change take effect, </span><span style="font-family: verdana;">by selecting <strong>View | Explorer Bar</strong></span></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Flosbyers.com%2Fwordpress%2F2010%2F01%2Finternet-explorer-ruler-shift-r%2F&amp;linkname=Internet%20Explorer%20Ruler%20%28Shift%20R%29"><img src="http://losbyers.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://losbyers.com/wordpress/2010/01/internet-explorer-ruler-shift-r/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Source Alternatives</title>
		<link>http://losbyers.com/wordpress/2009/12/open-source-alternatives/</link>
		<comments>http://losbyers.com/wordpress/2009/12/open-source-alternatives/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 20:54:26 +0000</pubDate>
		<dc:creator>LosByers</dc:creator>
				<category><![CDATA[Business Help]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Windows OS]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://losbyers.com/wordpress/?p=111</guid>
		<description><![CDATA[<p>There is a ton of software a new business sometimes feels that they must purchase right when they are starting off a new business.</p>
<p>There Word, Excel, and Powerpoint from Micro$soft that are usually very expensive.</p>
<p>There is also money management software, project planning software, and graphic software.</p>
<p>Well there is a solution for small businesses that are [...]]]></description>
			<content:encoded><![CDATA[<p><span>There is a ton of software a new business sometimes feels that they must purchase right when they are starting off a new business.</p>
<p>There Word, Excel, and Powerpoint from Micro$soft that are usually very expensive.</p>
<p>There is also money management software, project planning software, and graphic software.</p>
<p>Well there is a solution for small businesses that are starting out is to use Open Source Software.<br />
There is a great web site that lists all of the commercial software along with it&#8217;s Open Source Alternative.<br />
Check out <a href="http://www.osalt.com/" target="_blank">Open Source Alternatives web site</a>.</p>
<p>They will show you stuff like<br />
Expensive App             Free Apps<br />
Photoshop                   The GIMP<br />
VISIO                         DIA<br />
MS Office                    Open Office<br />
Illustrator, CorelDraw  Inkscape<br />
Quickbooks                 Postbooks</p>
<p>There are many more and almost every big commercial application now has an Open Source alternative.  It is possible that you may need to be running Linux for some of these, but Ubuntu has become as easy to use as Windows or a Mac.</span></p>
<p><span>I found another Blog posting about 50 top applications and their alternatives.<br />
The post was made early in 2008 so the software most likely has gotten even better since then.</p>
<p>Check out <a href="http://whdb.com/2008/the-top-50-proprietary-programs-that-drive-you-crazy-and-their-open-source-alternatives/" target="_blank">http://whdb.com/2008/the-top-50-proprietary-programs-that-drive-you-crazy-and-their-open-source-alternatives/</a></span></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Flosbyers.com%2Fwordpress%2F2009%2F12%2Fopen-source-alternatives%2F&amp;linkname=Open%20Source%20Alternatives"><img src="http://losbyers.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://losbyers.com/wordpress/2009/12/open-source-alternatives/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exporting Tomcat SSL keys to Apache httpd</title>
		<link>http://losbyers.com/wordpress/2009/12/exporting-tomcat-ssl-keys-to-apache-httpd/</link>
		<comments>http://losbyers.com/wordpress/2009/12/exporting-tomcat-ssl-keys-to-apache-httpd/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 20:41:37 +0000</pubDate>
		<dc:creator>LosByers</dc:creator>
				<category><![CDATA[Web Related]]></category>
		<category><![CDATA[Windows OS]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://losbyers.com/wordpress/?p=98</guid>
		<description><![CDATA[<p>Apache Tomcat SSL keys created with keytool are, by default, in der format. These keys cannot be used in Apache httpd since httpd, be default, expects the keys in pem(X509) format. Using the below steps you can export the tomcat&#8217;s keys to Apache httpd format and use it for Apache.</p>
<p>I assume that you already have [...]]]></description>
			<content:encoded><![CDATA[<p>Apache Tomcat SSL keys created with keytool are, by default, in <strong>der</strong> format. These keys cannot be used in Apache httpd since httpd, be default, expects the keys in <strong>pem(X509)</strong> format. Using the below steps you can export the tomcat&#8217;s keys to Apache httpd format and use it for Apache.</p>
<p>I assume that you already have a working copy of tomcat with SSL.</p>
<p>If Not follow Verisign&#8217;s instructions on requesting an SSL certificate, then:</p>
<ul>
<li>Create a keystore:   $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA</li>
<li>Import the Intermediate CA Certificate:   keytool -import -alias root -keystore &lt;your_keystore_filename&gt; -trustcacerts -file &lt;filename_of_the_chain_certificate&gt;</li>
<li>Import your SSL Certificate:  keytool -import -alias &lt;your_alias&gt; -keystore &lt;your_keystore_filename&gt; -trustcacerts -file &lt;your_certificate_filename&gt;</li>
</ul>
<p>You will need a copy of the tomcat&#8217;s keystore file and the keystore password.</p>
<p>Let us start&#8230;.</p>
<p>First copy the existing tomcat&#8217;s keystore file to a new directory so that we don&#8217;t break anything that is working.</p>
<p>List the key and verify you know the passphrase.<br />
<span style="color: #008000;"><strong># keytool -list -keystore your.key </strong></span></p>
<p>Now we will export the key in DER format<br />
<span style="color: #008000;"><strong># keytool -export -alias tomcat -keystore tomcat.keystore -file exported-der.crt </strong></span><br />
Enter keystore password:<br />
Output will be: Certificate stored in file</p>
<p>The certificate will be stored in the file called exported-der.crt</p>
<p>Verify the certificate with this command:<br />
<span style="color: #008000;"><strong># openssl x509 -noout -text -in exported-der.crt -inform der </strong></span><br />
Output will be: The whole certificate saying &#8211; who issued it  and other info like your company name etc.</p>
<p>Now Convert the key to PEM format so that apache can understand it:<br />
<span style="color: #008000;"><strong># openssl x509 -out exported-pem.crt -outform pem -in exported-der.crt -inform der </strong></span></p>
<p>The exported key will be in the file exported-pem.crt.</p>
<p>We have exported the public key and now are going to export the private key.</p>
<p>Download a  file called (ExportPrivateKey.zip) from <a href="http://www.anandsekar.com/wp-content/uploads/2006/01/ExportPrivateKey.zip" target="_blank">Anandsekar.com</a></p>
<p>Extract the key<br />
<span style="color: #008000;"><strong># java -jar ExportPrivateKey.zip {keystore_path} JKS {keystore_password} {alias} exported-pkcs8.key </strong></span></p>
<p>The key is in PKCS #8 PEM format. Now run openssl to convert it to the format apache modssl expects the file.<br />
Use a cygwin shell to get a good version of OpenSSL without having to install another application.<br />
# openssl pkcs8 -inform PEM -nocrypt -in exported-pkcs8.key -out exported.key</p>
<p>The Private key is now exported to the file exported.key.</p>
<p>Edit the httpd.conf/httpd-ssl.conf file<br />
<span style="color: #000080;">SSLCertificateFile /root/SSL_export/exported-pem.crt  -&gt; I used the cert from Verisign instead.<br />
SSLCertificateKeyFile /root/SSL_export/exported.key<br />
SSLCertificateChainFile /root/SSL_export/&lt;intermediate&gt;</span></p>
<p>Example:<br />
#Verisign Certificate<br />
SSLCertificateFile &#8220;C:/Program Files/Apache Software Foundation/Apache2.2/conf/cmmssl/cert/cert.crt&#8221;<br />
# Our new key<br />
SSLCertificateKeyFile &#8220;C:/Program Files/Apache Software Foundation/Apache2.2/conf/cmmssl/private/exported.key&#8221;<br />
# The Verisign Intermediary cert file.<br />
SSLCertificateChainFile &#8220;C:/Program Files/Apache Software Foundation/Apache2.2/conf/cmmssl/intermediate/intermediate.crt&#8221;</p>
<p>Restart Apache, with fingers crossed, pixie dust in the air, while the rooster crows, on a full moon, and a live sacrificial chicken waiting on standby.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Flosbyers.com%2Fwordpress%2F2009%2F12%2Fexporting-tomcat-ssl-keys-to-apache-httpd%2F&amp;linkname=Exporting%20Tomcat%20SSL%20keys%20to%20Apache%20httpd"><img src="http://losbyers.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://losbyers.com/wordpress/2009/12/exporting-tomcat-ssl-keys-to-apache-httpd/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Killing windows processes from the command line</title>
		<link>http://losbyers.com/wordpress/2009/12/killing-windows-processes-from-the-command-line/</link>
		<comments>http://losbyers.com/wordpress/2009/12/killing-windows-processes-from-the-command-line/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 20:33:33 +0000</pubDate>
		<dc:creator>LosByers</dc:creator>
				<category><![CDATA[Windows OS]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://losbyers.com/wordpress/?p=96</guid>
		<description><![CDATA[<p>Use TASKLIST and TASKKILL :  Good web site on this http://commandwindows.com/taskkill.htm</p>
<p>(F)orce Kill running processes for ImageName of java.exe
taskkill.exe /F /IM java.exe</p>
<p>NOTE: Wildcard &#8216;*&#8217; for the /IM switch is accepted only with filters, use /FI
taskkill /F /FI &#8220;IMAGENAME eq note*&#8221;</p>
<p>Find all running Java processes command line
tasklist /FI “IMAGENAME eq java.exe”</p>
<p>Example:  I started 2 Calculator programs.</p>
<p>H:\&#62;tasklist /FI [...]]]></description>
			<content:encoded><![CDATA[<p><span>Use TASKLIST and TASKKILL :  Good web site on this <a href="http://commandwindows.com/taskkill.htm" target="_blank">http://commandwindows.com/taskkill.htm</a></p>
<p>(F)orce Kill running processes for ImageName of java.exe<br />
taskkill.exe /F /IM java.exe</p>
<p>NOTE: Wildcard &#8216;*&#8217; for the /IM switch is accepted only with filters, use /FI<br />
taskkill /F /FI &#8220;IMAGENAME eq note*&#8221;</p>
<p>Find all running Java processes command line<br />
tasklist /FI “IMAGENAME eq java.exe”</p>
<p>Example:  I started 2 Calculator programs.</p>
<p>H:\&gt;tasklist /FI &#8220;IMAGENAME eq calc*&#8221;</p>
<pre>Image Name                   PID Session Name     Session#    Mem Usage
========================= ====== ================ ======== ============
calc.exe                    4652 Console                 0      3,420 K
calc.exe                    1936 Console                 0      3,412 K
</pre>
<p>H:\&gt;taskkill /F /FI &#8220;IMAGENAME eq calc*&#8221;<br />
SUCCESS: The process with PID 4652 has been terminated.<br />
SUCCESS: The process with PID 1936 has been terminated.</p>
<p>I needed these commands to script a nightly restart of a java application that had a bad memory leak.  For some reason the normal stop wasn&#8217;t working. <img title="Crying or Very sad" src="http://www.losbyers.com/modules/Forums/images/smiles/icon_cry.gif" border="0" alt="Crying or Very sad" /></span></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Flosbyers.com%2Fwordpress%2F2009%2F12%2Fkilling-windows-processes-from-the-command-line%2F&amp;linkname=Killing%20windows%20processes%20from%20the%20command%20line"><img src="http://losbyers.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://losbyers.com/wordpress/2009/12/killing-windows-processes-from-the-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Scheduled Task Log Output</title>
		<link>http://losbyers.com/wordpress/2009/12/windows-scheduled-task-log-output/</link>
		<comments>http://losbyers.com/wordpress/2009/12/windows-scheduled-task-log-output/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 18:26:35 +0000</pubDate>
		<dc:creator>LosByers</dc:creator>
				<category><![CDATA[Web Related]]></category>
		<category><![CDATA[BAT]]></category>
		<category><![CDATA[Script]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://losbyers.com/wordpress/?p=93</guid>
		<description><![CDATA[<p>I needed to have a script list and kill processes and I needed that script to run out of a scheduled task.</p>
<p>It would be nice to know what happened with the script when it runs early in the morning.</p>
<p>I found  that if you call the script from the Windows Task Scheduler that you can give [...]]]></description>
			<content:encoded><![CDATA[<p><span>I needed to have a script list and kill processes and I needed that script to run out of a scheduled task.</span></p>
<p>It would be nice to know what happened with the script when it runs early in the morning.</p>
<p>I found  that if you call the script from the Windows Task Scheduler that you can give the job a few more options.</p>
<p>Change the scheduled tasks to read as<br />
<span style="font-weight: bold;">cmd <span style="font-style: italic;">/C NightlyBatchJob.bat &gt; NightlyBatchJob.output.txt 2&gt;&amp;1</span></span></p>
<p>The output should be placed in the same directory as the script.</p>
<p><span>I also should include the script that stops all of the java processes for Wallstreet systems CMM/TRM application.</span></p>
<p><span><span id="more-93"></span></span></p>
<pre>
<pre>REM Win 2003 systems have the sleep command
REM sleep 40
REM XP systems don't.
REM The ping command times out at 20 seconds, goofy way to create a wait.
REM Comment out either the ping or the sleep depending on which works</pre>
<p>cd \&lt;install_path&gt;\pmm\bin</p>
<p>REM force PMAD/PMSD to start, in case they are not running<br />
net start "Wallstreet Suite - pmad"<br />
net start "Wallstreet Suite - pmsd"</p>
<p>.\pm_cmd admin_account/password@localhost:8887 stop SDM@test1<br />
.\pm_cmd admin_account/password@localhost:8887 stop ACM@test1<br />
.\pm_cmd admin_account/password@localhost:8887 stop websuite_appserver@test1<br />
.\pm_cmd admin_account/password@localhost:8887 stop WebSuite@test1<br />
.\pm_cmd admin_account/password@localhost:8887 stop cmm_tcmd_appserver@test1</p>
<p>REM sleep 40<br />
ping 10.10.10.254 &gt; NUL<br />
ping 10.10.10.254 &gt; NUL</p>
<p>.\pm_cmd admin_account/password@localhost:8887 stop TRM@test1</p>
<p>ping 10.10.10.254 &gt; NUL<br />
ping 10.10.10.254 &gt; NUL</p>
<p>.\pm_cmd admin_account/password@localhost:8887 stop messaging@test1<br />
.\pm_cmd admin_account/password@localhost:8887 stop active_mq@test1<br />
.\pm_cmd admin_account/password@localhost:8887 stop trm_mdsd@test1<br />
.\pm_cmd admin_account/password@localhost:8887 stop omninames@test1</p>
<p>REM Only stop  pmad/pmsd if really necessary<br />
REM net stop "Wallstreet Suite - pmsd"<br />
REM net stop "Wallstreet Suite - pmad"</p>
<p>REM sleep 20<br />
ping 10.10.10.254 &gt; NUL</p>
<p>REM Display processes status if needed<br />
.\pm_cmd admin_account/password@localhost:8887 proc</p>
<p>REM sleep 40<br />
ping 10.10.10.254 &gt; NUL<br />
ping 10.10.10.254 &gt; NUL</p>
<p>REM Make sure everything is down by killing any hung processes.<br />
.\pm_cmd admin_account/password@localhost:8887 kill WALLSTREET_SUITE@test1</p>
<p>REM sleep 40<br />
ping 10.10.10.254 &gt; NUL<br />
ping 10.10.10.254 &gt; NUL<br />
REM List out the remaining running tasks owned by SYSTEM<br />
tasklist /S localhost /U SYSTEM<br />
REM Kill any left over java processes. NOTE: will kill ALL JAVA processes on the system<br />
taskkill /F /FI "IMAGENAME eq java*"</pre>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Flosbyers.com%2Fwordpress%2F2009%2F12%2Fwindows-scheduled-task-log-output%2F&amp;linkname=Windows%20Scheduled%20Task%20Log%20Output"><img src="http://losbyers.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://losbyers.com/wordpress/2009/12/windows-scheduled-task-log-output/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows XP 2003 timestamps</title>
		<link>http://losbyers.com/wordpress/2009/12/windows-xp-2003-timestamps/</link>
		<comments>http://losbyers.com/wordpress/2009/12/windows-xp-2003-timestamps/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 18:11:53 +0000</pubDate>
		<dc:creator>LosByers</dc:creator>
				<category><![CDATA[Windows OS]]></category>
		<category><![CDATA[2003]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[XP]]></category>

		<guid isPermaLink="false">http://losbyers.com/wordpress/?p=91</guid>
		<description><![CDATA[<p>I needed to do a little research on how timestamps work in Winders, XP and 2003 server.</p>
<p>Creation date later than modified date (&#8221;date modified&#8221; less than &#8220;date created&#8221;)
In Word XP the creation date of a document can be later than the modified date when saved elsewhere. Microsoft says
&#8220;When the document is copied or is saved [...]]]></description>
			<content:encoded><![CDATA[<p>I needed to do a little research on how timestamps work in Winders, XP and 2003 server.</p>
<p>Creation date later than modified date (&#8221;date modified&#8221; less than &#8220;date created&#8221;)<br />
In Word XP the creation date of a document can be later than the modified date when saved elsewhere. Microsoft says<br />
<span style="color: #008000;">&#8220;When the document is copied or is saved to a new location, a new file is created. This file is generated by a parent file that has the earlier &#8220;Modified&#8221; date. This parent file also has an earlier &#8220;Created&#8221; date. &#8220;</span></p>
<p>When you copy or re-save a document, the &#8220;Created&#8221; date is updated in the Statistics tab and in the General tab. However, the &#8220;Modified&#8221; date is not updated.&#8221;</p>
<p><span style="font-weight: bold;">* Turn off Last Modified timestamping</span><br />
Whenever XP reads a file, it stamps the file with the date and time of the access.</p>
<p>This feature has its place but is not required for normal use unless you rely on the date of last access for backup purposes, which is a rare requirement for most backups. Putting a timestamp on a file that has just been read means that a write access has to be made to disk, so every time a read is executed, a corresponding write is also executed.</p>
<p>At the command prompt, enter the following then reboot:</p>
<p><span style="font-style: italic;"><span style="font-weight: bold;">&gt; FSUTIL behavior set disablelastaccess 1</span></span></p>
<p>To turn timestamps back on, repeat the command but replace the 1 with 0.</p>
<p><span style="font-weight: bold;">*Update</span><br />
It appears the FSUTIL is XP Pro and server only.</p>
<p>To Improve Windows XP Home Edition?s NTFS performance<br />
There are two possibilities for the Home Edition: (but only, if you trust yourself to edit the registry)<br />
1. Start, Run and type Regedit:navigate to:<br />
HKEY CURRENT USER/Software/Microsoft/Windows/<br />
CurrentVersion/Policies/Explorer:<br />
Rightclick in the right column,choose New,<br />
then Dword-value and name it: NoInstrumentation,doubleclick on it and give it a value 1,close and restart.<br />
2. Start, Run and type Regedit: navigate to:<br />
HKEY LOCAL MACHINE/System/CurrentControlSet/<br />
Control/FileSystem:<br />
Rightclick in the right column, choose New,<br />
then Dword-value and name it:<br />
NtfsDisableLastAccessUpdate, doubleclick on it and give it a value 1, close and restart.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Flosbyers.com%2Fwordpress%2F2009%2F12%2Fwindows-xp-2003-timestamps%2F&amp;linkname=Windows%20XP%202003%20timestamps"><img src="http://losbyers.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://losbyers.com/wordpress/2009/12/windows-xp-2003-timestamps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Launch Application from Excel</title>
		<link>http://losbyers.com/wordpress/2009/12/launch-application-from-excel/</link>
		<comments>http://losbyers.com/wordpress/2009/12/launch-application-from-excel/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 22:11:33 +0000</pubDate>
		<dc:creator>LosByers</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[Windows OS]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://losbyers.com/wordpress/?p=46</guid>
		<description><![CDATA[<p>I started out with the need to be able to launch a putty SSH window from Excel that had a list of hosts and/or IP addresses.</p>
<p>In Microsoft Excel</p>
<p>1) View/Toolbars Visual Basic
2) Click the Control Toolbox icon
3) Click on the Command Button icon and then click in your worksheet or drag the icon symbol.
4) Right click [...]]]></description>
			<content:encoded><![CDATA[<p>I started out with the need to be able to launch a putty SSH window from Excel that had a list of hosts and/or IP addresses.</p>
<p><span>In Microsoft Excel</p>
<p>1) View/Toolbars Visual Basic<br />
2) Click the Control Toolbox icon<br />
3) Click on the Command Button icon and then click in your worksheet or drag the icon symbol.<br />
4) Right click on the button and choose properties.<br />
5) Change the name to PuttyButton<br />
6) Change the Caption to &#8220;Launch Putty&#8221;<br />
7) Double click on the button to bring up the Visual Basic Editor<br />
 <img src='http://losbyers.com/wordpress/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> Make the script look like the following (Make sure the paths are correct for you)<br />
Private Sub PuttyButton_Click()<br />
Shell &#8220;C:\Program Files\putty\putty.exe &#8221; &amp; ActiveCell, vbNormalFocus<br />
End Sub<br />
9) Go to file and choose close and return.<br />
10) Unselect Control Toolbox and Unselect the Design Mode button.<br />
11) Add an IP or hostname to a cell and Click on the Launch Putty Button.</p>
<p>If you have a different login then make the cell read &#8220;-l login 12.9.12.10&#8243; and the button will still work.</span></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Flosbyers.com%2Fwordpress%2F2009%2F12%2Flaunch-application-from-excel%2F&amp;linkname=Launch%20Application%20from%20Excel"><img src="http://losbyers.com/wordpress/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://losbyers.com/wordpress/2009/12/launch-application-from-excel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
