<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;DEINRXs_fyp7ImA9WhRRFE4.&quot;"><id>tag:blogger.com,1999:blog-1521730673051479113</id><updated>2011-11-27T15:29:54.547-08:00</updated><category term="DEVELOPMENT" /><category term="HOW-TO" /><category term="TIPS n TRICKS" /><category term="DNS" /><category term="WINDOWS" /><category term="SQL" /><category term="LINUX" /><category term="NETWORKING" /><category term="ANDROID" /><category term="DOS" /><title>Things That Make Me Mad (and how to fix them.)</title><subtitle type="html">Ever spend hours trying to solve a seemingly simple problem?  We all have.  Well, I started this blog as a way to capture that effort and share the wealth.  If you have tips or tricks that might make some poor soul's life easier submit them!</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S2hqX1FhH6I/AAAAAAAADqw/J1vTMam5aZA/S220/bmo.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>27</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/ThingsThatMakeMeMadandHowToFixThem" /><feedburner:info uri="thingsthatmakememadandhowtofixthem" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;AkQFRnc9fip7ImA9Wx9XGEk.&quot;"><id>tag:blogger.com,1999:blog-1521730673051479113.post-7529851140429249330</id><published>2011-01-12T07:34:00.000-08:00</published><updated>2011-01-12T08:05:17.966-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-12T08:05:17.966-08:00</app:edited><title>Encapsulating (aka Hiding) Files Inside an Image</title><content type="html">&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Also known as steganography. &amp;nbsp;This is not solely a hacker or terrorist tool. &amp;nbsp;Sometimes you need to move data around outside of the traditional means. &amp;nbsp;For instance; you have a blog that doesn't allow you to host files for download, but it lets you display pictures. &amp;nbsp;:)&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;The picture below has some Eclipse theme files embedded in it. &amp;nbsp;There's no plot to overthrow a 3rd world country and it functions as a proper JPEG file unless you right click and open it with your favorite archiving tool. &amp;nbsp;It's only then that you'll see the compressed files contained within.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;If you want to see this in action simply right-click on the image file and save it locally. &amp;nbsp;Then as previously described; open it with WinZip, 7zip, WinRAR, etc.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_BOqaHmdhJDs/TRuBnIAWLrI/AAAAAAAAE5Q/-0yWhsw6w88/s1600/HiddenThemeFiles.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;img border="0" height="124" src="http://1.bp.blogspot.com/_BOqaHmdhJDs/TRuBnIAWLrI/AAAAAAAAE5Q/-0yWhsw6w88/s320/HiddenThemeFiles.jpg" width="320" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;So, how do you create this beast? &amp;nbsp;Simple ... create a compressed file with all the data you want in it. &amp;nbsp;Drop it into a directory of your choosing. &amp;nbsp;Add a .JPG file in that directory as well. &amp;nbsp;Now, open a command prompt in that directory and do a simple copy!&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style="text-align: center;"&gt;&lt;span class="Apple-style-span" style="background-color: yellow; font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;copy /B some.jpg + archive.zip new.jpg&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;The /B tells it to do a binary copy. &amp;nbsp;This will not work without it. &amp;nbsp;You'll end up with "new.jpg" that contains your compressed files. &amp;nbsp;Easy-peasy!&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1521730673051479113-7529851140429249330?l=thingsthatmakememadandhowtofixthem.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Gy_cGrlO6EuCarS321xoPzHBzKQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Gy_cGrlO6EuCarS321xoPzHBzKQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Gy_cGrlO6EuCarS321xoPzHBzKQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Gy_cGrlO6EuCarS321xoPzHBzKQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThingsThatMakeMeMadandHowToFixThem/~4/sY1_VzvBbPE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/feeds/7529851140429249330/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/2011/01/encapsulating-aka-hiding-files-inside.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/7529851140429249330?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/7529851140429249330?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThingsThatMakeMeMadandHowToFixThem/~3/sY1_VzvBbPE/encapsulating-aka-hiding-files-inside.html" title="Encapsulating (aka Hiding) Files Inside an Image" /><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S2hqX1FhH6I/AAAAAAAADqw/J1vTMam5aZA/S220/bmo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_BOqaHmdhJDs/TRuBnIAWLrI/AAAAAAAAE5Q/-0yWhsw6w88/s72-c/HiddenThemeFiles.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://thingsthatmakememadandhowtofixthem.blogspot.com/2011/01/encapsulating-aka-hiding-files-inside.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0INSH49eyp7ImA9Wx5bEE8.&quot;"><id>tag:blogger.com,1999:blog-1521730673051479113.post-2098971976081829278</id><published>2010-10-25T10:59:00.000-07:00</published><updated>2010-10-25T10:59:59.063-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-10-25T10:59:59.063-07:00</app:edited><title>Adding X windows to an established Linux Server</title><content type="html">Ever had a CLI only server and wanted to add X windows to it? &amp;nbsp;Our environment is very compartmentalized and always asking for help can become cumbersome. &amp;nbsp;So, we're given Linux servers that do not have X Windows installed on them. &amp;nbsp;&amp;gt; 99% of the time that's fine. &amp;nbsp;We have 1 product, however, that MUST be installed from a GUI even though it's on-going execution is through a web interface. &amp;nbsp;*sigh*&lt;br /&gt;
&lt;br /&gt;
Today I took one of our CLI only servers and started trying to add X to it. &amp;nbsp;After a lot of troubleshooting I've narrowed that installation down to these packages:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="MsoNormal"&gt;&lt;b&gt;&lt;span style="color: red;"&gt;sudo yum install gdm gnome-applets gnome-desktop xorg-x11-server-Xorg.x86_64 gnome-session dbus-x11 gnome-terminal gedit nautilus&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Yeah. &amp;nbsp;It's a RHEL 5.5 machine. &amp;nbsp;Again, that's what I've got to work with. &amp;nbsp;Anyway, here's a breakdown:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;gdm - your window manager&lt;/li&gt;
&lt;li&gt;xorg-x11 ... - the X server&lt;/li&gt;
&lt;li&gt;gnome-session and dbus-x11 - those 2 were required for X to allow me to login without any errors, warnings or just not working ;)&lt;/li&gt;
&lt;li&gt;gnome-desktop - this gave me the icons on the menus instead of red-Xs&lt;/li&gt;
&lt;li&gt;gnome-applets - this made the trashcan and volume control panel apps stop throwing errors&lt;/li&gt;
&lt;li&gt;gnome-terminal, gedit and nautilus - those gave me a terminal window, a text editor and a file manager&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
After installing you can 'telinit 5' to make sure you're good. &amp;nbsp;If you get a GUI login and can get to a desktop then the only thing left to do is edit /etc/inittab to set the default run level to 5 and when you reboot you're good!&lt;br /&gt;
&lt;br /&gt;
And that's that. &amp;nbsp;The machine works perfectly and has only the bare minimum to get X up and running.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1521730673051479113-2098971976081829278?l=thingsthatmakememadandhowtofixthem.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/KXPsWWimFSdif3tsHbI_JLuvX2g/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KXPsWWimFSdif3tsHbI_JLuvX2g/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/KXPsWWimFSdif3tsHbI_JLuvX2g/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KXPsWWimFSdif3tsHbI_JLuvX2g/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThingsThatMakeMeMadandHowToFixThem/~4/UZ-SPN4y7NI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/feeds/2098971976081829278/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/10/adding-x-windows-to-established-linux.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/2098971976081829278?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/2098971976081829278?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThingsThatMakeMeMadandHowToFixThem/~3/UZ-SPN4y7NI/adding-x-windows-to-established-linux.html" title="Adding X windows to an established Linux Server" /><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S2hqX1FhH6I/AAAAAAAADqw/J1vTMam5aZA/S220/bmo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/10/adding-x-windows-to-established-linux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEYHQHszfSp7ImA9WxFUF0g.&quot;"><id>tag:blogger.com,1999:blog-1521730673051479113.post-4278181120786948294</id><published>2010-06-28T12:08:00.000-07:00</published><updated>2010-06-28T12:08:51.585-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-06-28T12:08:51.585-07:00</app:edited><title>Blogging about the obvious: Delicious and Google Docs</title><content type="html">I've been MIA for a while. &amp;nbsp;My girlfriend is graduating from nursing school and my daughter is finishing up an outstanding softball season. &amp;nbsp;In the midst of all that, I changed jobs. &amp;nbsp;Not something that I've done often; 3 times in fact including this change! &amp;nbsp;I found the whole process very inspirational and after 11+ years with my last company I feel like I understand my value again.&lt;br /&gt;
&lt;br /&gt;
Anyway, with a new job comes new people. &amp;nbsp;With new people, if you're listening, can come a lot of new growth! &amp;nbsp;My buddy John introduced me to an age-old internet site: delicious.com. &amp;nbsp;I had become a big fan of Google Bookmarks in recent months and while I'd heard of del.ico.us I really had no idea what the whole thing was about and couldn't be bothered to investigate. &amp;nbsp;The 1-on-1 time with my buddy, whom incidentally got me this new job, proved to be what I needed to make the jump. &amp;nbsp;Wow, what a jump. &amp;nbsp;I'm head over heals for delicious! &amp;nbsp;It's almost perfect and significantly better than Google's own offering. &amp;nbsp;That's saying something because I'm a die-hard Googlite. &amp;nbsp;My only gripe about delicious is it needs a big, centrally located search field rather than the small top-right corner thingy.&lt;br /&gt;
&lt;br /&gt;
Now lets talk about Google Docs. &amp;nbsp;It has managed to get the job done over the years for the most basic of word processing and spreadsheet needs. &amp;nbsp;It's certainly better than notepad/wordpad and has the benefit of being cloud based so I can get to my stuff no matter where I created it from. &amp;nbsp;The thing that I've found most recently is it's a great cloud notepad tool. &amp;nbsp;There are always things I want to document for future reference but I don't want those documents tied to any particular machine and I definitely don't want to have to remember to back things up. &amp;nbsp;I have blogged here about stuff that was tough to figure out and it has been a great place to share the love, but sometimes you just have stuff you need to write down that doesn't deserve a blog post.&lt;br /&gt;
&lt;br /&gt;
Sorry if these 2 things were glaringly obvious to you, but they were not to me and all it took was a little nudge for me to find a couple of the most useful tools I'm currently using.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1521730673051479113-4278181120786948294?l=thingsthatmakememadandhowtofixthem.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xXLbbBaWsIOKipUBYad6OmOe4nE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xXLbbBaWsIOKipUBYad6OmOe4nE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xXLbbBaWsIOKipUBYad6OmOe4nE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xXLbbBaWsIOKipUBYad6OmOe4nE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThingsThatMakeMeMadandHowToFixThem/~4/CoknwVnq9nE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/feeds/4278181120786948294/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/06/blogging-about-obvious-delicious-and.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/4278181120786948294?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/4278181120786948294?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThingsThatMakeMeMadandHowToFixThem/~3/CoknwVnq9nE/blogging-about-obvious-delicious-and.html" title="Blogging about the obvious: Delicious and Google Docs" /><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S2hqX1FhH6I/AAAAAAAADqw/J1vTMam5aZA/S220/bmo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/06/blogging-about-obvious-delicious-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkMDSX8-fSp7ImA9Wx9QFkk.&quot;"><id>tag:blogger.com,1999:blog-1521730673051479113.post-3792494549155326710</id><published>2010-04-26T11:41:00.000-07:00</published><updated>2010-12-29T10:47:58.155-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-29T10:47:58.155-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="DEVELOPMENT" /><title>Dark Themes for Eclipse</title><content type="html">&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;If you've been following along you'll know that I'm dipping my toes in the Android development waters.&amp;nbsp; My buddy Greg aka &lt;a href="http://androidcodemonkey.blogspot.com/"&gt;Android Code Monkey&lt;/a&gt; has a great step-by-step tutorial on setting up your development environment.&amp;nbsp; I did a more in depth how-to on this subject over at his place.&amp;nbsp; If you just want the quick and dirty see below ;)&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;If you've done any development at all you'll notice how stark white the Eclipse IDE is.&amp;nbsp; Given the natural g33k affinity for poor lighting conditions this can be very tiring on the eyes.&amp;nbsp; I found &lt;a href="http://stackoverflow.com/questions/96981/color-themes-for-eclipse"&gt;THIS&lt;/a&gt; post which covers how-to apply ready-made color themes.&amp;nbsp; I'll keep it simple for you here ... download &lt;a href="http://dc98.2shared.com/download/7073148/25af5556/eclipse-themes.zip?tsid=20100426-141820-180964b4"&gt;THIS&lt;/a&gt; file and extract the 2 files (org.eclipse.jdt.ui.prefs &amp;amp; org.eclipse.ui.editors.prefs) from your desired theme folder into&amp;nbsp;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;WINDOWS: [workspace]\.metadata\.plugins\org.eclipse.core.runtime\.settings\&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;LINUX/MAC: [workspace]/.metadata/.plugins/org.eclipse.core.runtime/.settings/&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;There are screen capture previews in the root of the downloaded file.&amp;nbsp; I chose the Zenburn theme pictured below.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_BOqaHmdhJDs/S9XeF9B5asI/AAAAAAAADvE/B6r-AOLqBuE/s1600/zenburn.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_BOqaHmdhJDs/S9XeF9B5asI/AAAAAAAADvE/B6r-AOLqBuE/s320/zenburn.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_BOqaHmdhJDs/TRuBnIAWLrI/AAAAAAAAE5Q/-0yWhsw6w88/s1600/HiddenThemeFiles.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="124" src="http://1.bp.blogspot.com/_BOqaHmdhJDs/TRuBnIAWLrI/AAAAAAAAE5Q/-0yWhsw6w88/s320/HiddenThemeFiles.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
The download link for the themes no longer works. &amp;nbsp;So, I've encapsulated the original .zip archive inside the "Theme Files Hidden Inside" image above. &amp;nbsp;Simply save it and open it with your favorite compression tool.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1521730673051479113-3792494549155326710?l=thingsthatmakememadandhowtofixthem.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/y9UD_UCThFYH5B5dEwBMM_EkZk8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/y9UD_UCThFYH5B5dEwBMM_EkZk8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/y9UD_UCThFYH5B5dEwBMM_EkZk8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/y9UD_UCThFYH5B5dEwBMM_EkZk8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThingsThatMakeMeMadandHowToFixThem/~4/swEZA6k7RuQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/feeds/3792494549155326710/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/04/dark-themes-for-eclipse.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/3792494549155326710?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/3792494549155326710?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThingsThatMakeMeMadandHowToFixThem/~3/swEZA6k7RuQ/dark-themes-for-eclipse.html" title="Dark Themes for Eclipse" /><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S2hqX1FhH6I/AAAAAAAADqw/J1vTMam5aZA/S220/bmo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_BOqaHmdhJDs/S9XeF9B5asI/AAAAAAAADvE/B6r-AOLqBuE/s72-c/zenburn.PNG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/04/dark-themes-for-eclipse.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk4ERHkycCp7ImA9WxFRFUk.&quot;"><id>tag:blogger.com,1999:blog-1521730673051479113.post-3356445688311211537</id><published>2010-04-21T10:32:00.000-07:00</published><updated>2010-04-29T05:41:45.798-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-29T05:41:45.798-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="DNS" /><category scheme="http://www.blogger.com/atom/ns#" term="NETWORKING" /><category scheme="http://www.blogger.com/atom/ns#" term="DEVELOPMENT" /><title>Enabling Local Development</title><content type="html">&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Sometimes you've got to take a step back from what you know and think.&amp;nbsp; We've been managing hosts files for years.&amp;nbsp; In fact, one of my previous posts discusses how we make sure each user keeps the most up-to-date copy on their PC.&amp;nbsp; That's still required for some things, but when my most recent request came in to assist with local development on the developers machines it gave me pause.&amp;nbsp; This is what I came up with ...&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Use DNS.&amp;nbsp; We already have DNS setup for our domain mydomain.local.&amp;nbsp; All of the machines in our environment register themselves there.&amp;nbsp; We also maintain local copies of our public domains with the internal private IPs so we can manage and test the environments even when they're not publicly accessible.&amp;nbsp; One of the things we implemented many years ago were wildcard entries so ...&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;A host entry for * in the domain mydomain.com would resolve for pickle.mydomain.com, mail.mydomain.com or www.mydomain.com.&amp;nbsp; We also implemented subdomains in the scheme to allow for simple development and testing.&amp;nbsp; A * entry in dev.mydomain.com and test.mydomain.com makes pickle.dev.mydomain.com and www.test.mydomain.com valid ;)&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;The developers were using their local hosts file to reference pickle.dev.mydomain.com so that the URLs would match data driven lookups.&amp;nbsp; The trouble is they had to maintain a huge hosts file and things can get crossthreaded very easily.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;That's when it hit me ... use a wildcard entry in a new subdomain named local and point it to 127.0.0.1 in DNS.&amp;nbsp; Now pickle.local.mydomain.com and www.local.mydomain.com both work from each developers' local workstation.&amp;nbsp; The hosts file entries are greatly reduced and revisions/management of said files has all but been eliminated.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_BOqaHmdhJDs/S882t_9-z4I/AAAAAAAADu8/E6FTfLsNX_8/s1600/Bill4.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S882t_9-z4I/AAAAAAAADu8/E6FTfLsNX_8/s320/Bill4.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;It also makes surfing from the server itself possible which can be priceless in troubleshooting -- or proving to the devs it really is their code having a problem and not the server, network or firewall! ;)&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1521730673051479113-3356445688311211537?l=thingsthatmakememadandhowtofixthem.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/-HxTkFxvI63t8ujvjEJVl3dzKF0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-HxTkFxvI63t8ujvjEJVl3dzKF0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/-HxTkFxvI63t8ujvjEJVl3dzKF0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-HxTkFxvI63t8ujvjEJVl3dzKF0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThingsThatMakeMeMadandHowToFixThem/~4/zRJFscHEXn4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/feeds/3356445688311211537/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/04/enabling-local-development.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/3356445688311211537?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/3356445688311211537?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThingsThatMakeMeMadandHowToFixThem/~3/zRJFscHEXn4/enabling-local-development.html" title="Enabling Local Development" /><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S2hqX1FhH6I/AAAAAAAADqw/J1vTMam5aZA/S220/bmo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_BOqaHmdhJDs/S882t_9-z4I/AAAAAAAADu8/E6FTfLsNX_8/s72-c/Bill4.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/04/enabling-local-development.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkMBQXw4fyp7ImA9WxFRFUk.&quot;"><id>tag:blogger.com,1999:blog-1521730673051479113.post-5874044500866813422</id><published>2010-04-19T04:30:00.000-07:00</published><updated>2010-04-29T05:34:10.237-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-29T05:34:10.237-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS" /><title>Beating Microsoft's Xbox Live Payment System</title><content type="html">&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;I have 2 boys.&amp;nbsp; Both have Xbox Live accounts.&amp;nbsp; The $7.99/mo fee drives me crazy.&amp;nbsp; I usually watch for the on-line deals that get me 13 months for $30, but I don't always keep up with it.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Have you ever used &lt;a href="https://billing.microsoft.com/home.aspx"&gt;https://billing.microsoft.com/home.aspx&lt;/a&gt;?&amp;nbsp; It's pretty infuriating.&amp;nbsp; You cannot remove a credit card from the account.&amp;nbsp; So, if your irresponsible teenage boys decide they want that new Halo map pack you're pretty much screwed unless they fear the HAMMER (visualize my clenched fist raised in the air).&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;I, however, have found a work around!&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;It requires a PayPal account or a credit card that gives you temporary numbers to shop online with.&amp;nbsp; Login to your M$ billing site and add a new credit card with your PayPal plugin.&amp;nbsp; For safety's sake make it a 1-time use card.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Now delete your "real" credit card from the account.&amp;nbsp; Add your 12+1 Xbox Live card if that's what you came to do and then jump over to PayPal's site and void the new card.&amp;nbsp; Now your kids have 13 months of Xbox Live but there's no valid card on file so they can't purchase anything new without your help.&amp;nbsp; You also won't be automatically charged $7.99/mo in 14 months ;)&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;I'm sure a similar thing can be done with iTunes, World of Warcraft, etc.&amp;nbsp; iTunes and World of Warcraft have purchasable cards to add credits/time to the account.&amp;nbsp; There's really no need for a valid card on file.&amp;nbsp; You'd think they'd give parents tighter control, but face it; there's no upside in them fixing it.&amp;nbsp; They want your kids to buy stuff :)&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1521730673051479113-5874044500866813422?l=thingsthatmakememadandhowtofixthem.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/s1ZsN7ZYQxSkZ7Q0jMjNLTsCEx4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/s1ZsN7ZYQxSkZ7Q0jMjNLTsCEx4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/s1ZsN7ZYQxSkZ7Q0jMjNLTsCEx4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/s1ZsN7ZYQxSkZ7Q0jMjNLTsCEx4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThingsThatMakeMeMadandHowToFixThem/~4/IGloshRX9GQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/feeds/5874044500866813422/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/04/beating-microsofts-xbox-live-payment.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/5874044500866813422?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/5874044500866813422?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThingsThatMakeMeMadandHowToFixThem/~3/IGloshRX9GQ/beating-microsofts-xbox-live-payment.html" title="Beating Microsoft's Xbox Live Payment System" /><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S2hqX1FhH6I/AAAAAAAADqw/J1vTMam5aZA/S220/bmo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/04/beating-microsofts-xbox-live-payment.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkMMSH89eCp7ImA9WxFRFUk.&quot;"><id>tag:blogger.com,1999:blog-1521730673051479113.post-5856206210604907481</id><published>2010-04-13T05:26:00.000-07:00</published><updated>2010-04-29T05:34:49.160-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-29T05:34:49.160-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS" /><category scheme="http://www.blogger.com/atom/ns#" term="HOW-TO" /><title>Printers and Microsoft's TCP/IP Port Monitoring</title><content type="html">&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;I found it.&amp;nbsp; This article has a lot of detail, but it does not discuss the impact(s) of turning "SNMP Status Enabled" off.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;a href="http://technet.microsoft.com/en-us/library/bb457109.aspx"&gt;http://technet.microsoft.com/en-us/library/bb457109.aspx&lt;/a&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Open your printer properties, select the port and click "Configure Port."&amp;nbsp; This is the check box of which I speak:&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_BOqaHmdhJDs/S8RiyQouaVI/AAAAAAAADuw/5A9w2cZCgFU/s1600/Capture5.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_BOqaHmdhJDs/S8RiyQouaVI/AAAAAAAADuw/5A9w2cZCgFU/s320/Capture5.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Now I've got some testing to do ...&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;br /&gt;
Based on the data in this &lt;a href="http://support.microsoft.com/kb/946198"&gt;M$ article&lt;/a&gt; I have cleared the SNMP Status Enabled check box and the rogue traffic has stopped.&amp;nbsp; I will test printing and provide another followup later.&amp;nbsp; Sounds silly I'm sure, but that's one less interrupt every 70 seconds on my PC ;)&amp;nbsp; I print once every 2 weeks or so.&amp;nbsp; I wasn't getting much return on my investment.&amp;nbsp; LOL&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1521730673051479113-5856206210604907481?l=thingsthatmakememadandhowtofixthem.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/JCJGdaiVuA5pENXf3jL5Co2lwAw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JCJGdaiVuA5pENXf3jL5Co2lwAw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/JCJGdaiVuA5pENXf3jL5Co2lwAw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JCJGdaiVuA5pENXf3jL5Co2lwAw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThingsThatMakeMeMadandHowToFixThem/~4/Vx5faLDlxYI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/feeds/5856206210604907481/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/04/printers-and-microsofts-tcpip-port.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/5856206210604907481?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/5856206210604907481?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThingsThatMakeMeMadandHowToFixThem/~3/Vx5faLDlxYI/printers-and-microsofts-tcpip-port.html" title="Printers and Microsoft's TCP/IP Port Monitoring" /><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S2hqX1FhH6I/AAAAAAAADqw/J1vTMam5aZA/S220/bmo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_BOqaHmdhJDs/S8RiyQouaVI/AAAAAAAADuw/5A9w2cZCgFU/s72-c/Capture5.PNG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/04/printers-and-microsofts-tcpip-port.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkIFRH4ycSp7ImA9WxFRFUk.&quot;"><id>tag:blogger.com,1999:blog-1521730673051479113.post-6974886876778113861</id><published>2010-04-13T05:08:00.000-07:00</published><updated>2010-04-29T05:35:15.099-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-29T05:35:15.099-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS" /><category scheme="http://www.blogger.com/atom/ns#" term="NETWORKING" /><category scheme="http://www.blogger.com/atom/ns#" term="HOW-TO" /><title>My PC is chatty (snmp-read)</title><content type="html">&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;I've been on a firewall monitoring kick lately and I've noticed a lot of office computers chatting on http and/or snmp.&amp;nbsp; Mine for one was trying to open snmp-read on 192.168.1.4 all throughout the day.&amp;nbsp; That drives me crazy.&amp;nbsp; Yeah, I'm that guy.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;So, how do you go about running that down?&amp;nbsp; Use the firewall to your advantage.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;The firewall will tell you not only what IP address and port you're trying to talk to, but it will also tell you what port you're talking from on your PC.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_BOqaHmdhJDs/S8Rc2yE-xTI/AAAAAAAADuQ/X_jW_j5c9TI/s1600/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="278" src="http://4.bp.blogspot.com/_BOqaHmdhJDs/S8Rc2yE-xTI/AAAAAAAADuQ/X_jW_j5c9TI/s320/Capture.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Now we can use netstat -ano to tell us what process ID (PID) is using the the source port 65365.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_BOqaHmdhJDs/S8RdS38nPqI/AAAAAAAADuY/Yx7KDkyh41U/s1600/Capture2.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_BOqaHmdhJDs/S8RdS38nPqI/AAAAAAAADuY/Yx7KDkyh41U/s320/Capture2.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Finally, we can use procexplore (a free SysInternals tool) to determine what process has PID 1740.&amp;nbsp; You can also use Task Manager, but I like the SysInternals tool better.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_BOqaHmdhJDs/S8RdyRme__I/AAAAAAAADug/DDPQY4I_Gig/s1600/Capture3.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_BOqaHmdhJDs/S8RdyRme__I/AAAAAAAADug/DDPQY4I_Gig/s320/Capture3.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;The print spooler ... dang it!&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_BOqaHmdhJDs/S8ReI7J_sSI/AAAAAAAADuo/TwDTm3WGyeg/s1600/Capture4.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_BOqaHmdhJDs/S8ReI7J_sSI/AAAAAAAADuo/TwDTm3WGyeg/s320/Capture4.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;And, there you have it.&amp;nbsp; My girlfriend's printer.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;My next post will hopefully be on how to make it stop talking all day long ;)&amp;nbsp; Really Microsoft?!&amp;nbsp; Do we need to query the device every 70 seconds?&amp;nbsp; Why don't we just talk to the printer when we try to use it.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;And people wonder why are PCs run so slowly ... sheesh.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1521730673051479113-6974886876778113861?l=thingsthatmakememadandhowtofixthem.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/b4nGkQZkllggJV4ek8KeddnaXAU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/b4nGkQZkllggJV4ek8KeddnaXAU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/b4nGkQZkllggJV4ek8KeddnaXAU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/b4nGkQZkllggJV4ek8KeddnaXAU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThingsThatMakeMeMadandHowToFixThem/~4/3icoy-yX4V4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/feeds/6974886876778113861/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/04/my-pc-is-chatty-snmp-read.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/6974886876778113861?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/6974886876778113861?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThingsThatMakeMeMadandHowToFixThem/~3/3icoy-yX4V4/my-pc-is-chatty-snmp-read.html" title="My PC is chatty (snmp-read)" /><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S2hqX1FhH6I/AAAAAAAADqw/J1vTMam5aZA/S220/bmo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_BOqaHmdhJDs/S8Rc2yE-xTI/AAAAAAAADuQ/X_jW_j5c9TI/s72-c/Capture.PNG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/04/my-pc-is-chatty-snmp-read.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUIASHo5fip7ImA9WxFTF08.&quot;"><id>tag:blogger.com,1999:blog-1521730673051479113.post-326282493258365567</id><published>2010-04-08T04:52:00.000-07:00</published><updated>2010-04-08T04:52:29.426-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-08T04:52:29.426-07:00</app:edited><title>1st Rule of Data-Comm ... Always Check the Connection</title><content type="html">&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;That one seems so obvious.&amp;nbsp; I know.&amp;nbsp; It is one of the universal truths.&amp;nbsp; I recently fought for hours with a NetApp appliance trying to figure out why it was having issues.&amp;nbsp; Turned out to be 2, not 1 but 2 bad GBICs!&amp;nbsp; I managed to duct tape and coat hanger the brain to the disk shelves while I waited the 24 hours for warranty parts replacement to get me the new GBICs, but I can never get those hours of troubleshooting back.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Everyone I've ever talked to says those things are notorious for failing.&amp;nbsp; A $300 part the size of a USB thumbdrive is notorious for failing yet we continue to use them in our enterprise class equipment.&amp;nbsp; Makes no sense to me.&amp;nbsp; At least I have several fiber loopback testers and a couple of spare GBICs on hand now. &lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;1. As simple as it sounds ... check the connection first&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;2. When it's not the connection check permissions ;)&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1521730673051479113-326282493258365567?l=thingsthatmakememadandhowtofixthem.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ynDGC7-PpHr9yESrsEJpv75ksHs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ynDGC7-PpHr9yESrsEJpv75ksHs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ynDGC7-PpHr9yESrsEJpv75ksHs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ynDGC7-PpHr9yESrsEJpv75ksHs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThingsThatMakeMeMadandHowToFixThem/~4/kelop91dQAE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/feeds/326282493258365567/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/04/1st-rule-of-data-comm-always-check.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/326282493258365567?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/326282493258365567?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThingsThatMakeMeMadandHowToFixThem/~3/kelop91dQAE/1st-rule-of-data-comm-always-check.html" title="1st Rule of Data-Comm ... Always Check the Connection" /><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S2hqX1FhH6I/AAAAAAAADqw/J1vTMam5aZA/S220/bmo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/04/1st-rule-of-data-comm-always-check.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkIAQ3s5eSp7ImA9WxFRFUk.&quot;"><id>tag:blogger.com,1999:blog-1521730673051479113.post-3301311938962766153</id><published>2010-04-08T04:25:00.000-07:00</published><updated>2010-04-29T05:35:42.521-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-29T05:35:42.521-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="HOW-TO" /><category scheme="http://www.blogger.com/atom/ns#" term="LINUX" /><title>Nokia IP330 Smoothwall Express 3.0 in practice</title><content type="html">&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Just a quick note to say this firewall is working perfectly.&amp;nbsp; Smoothwall is an outstanding product.&amp;nbsp; I have both public and private wireless networks at my office.&amp;nbsp; The public wireless was sitting behind a Linksys router.&amp;nbsp; I configured the Linksys as an access point (turned off DHCP, plugged into a switch port rather than the WAN port, etc) and put the IP330 between it and the Time Warner cable modem.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;I have nothing allowed inbound and opened only http/s, dns, pop3 and smtp outbound.&amp;nbsp; The IP330 is acting as the DHCP server and is forwarding DNS.&amp;nbsp; I couldn't ask for a better solution ... and it's free -- double bonus.&lt;/span&gt;&amp;nbsp;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1521730673051479113-3301311938962766153?l=thingsthatmakememadandhowtofixthem.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/tcdmGeVfOXEAa9_537-dkJK3RJc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tcdmGeVfOXEAa9_537-dkJK3RJc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/tcdmGeVfOXEAa9_537-dkJK3RJc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tcdmGeVfOXEAa9_537-dkJK3RJc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThingsThatMakeMeMadandHowToFixThem/~4/JdPIDyriXvE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/feeds/3301311938962766153/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/04/nokia-ip330-smoothwall-express-30-in.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/3301311938962766153?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/3301311938962766153?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThingsThatMakeMeMadandHowToFixThem/~3/JdPIDyriXvE/nokia-ip330-smoothwall-express-30-in.html" title="Nokia IP330 Smoothwall Express 3.0 in practice" /><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S2hqX1FhH6I/AAAAAAAADqw/J1vTMam5aZA/S220/bmo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/04/nokia-ip330-smoothwall-express-30-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkIBSXY6fip7ImA9WxFRFUk.&quot;"><id>tag:blogger.com,1999:blog-1521730673051479113.post-8603769288563231996</id><published>2010-03-27T14:20:00.000-07:00</published><updated>2010-04-29T05:35:58.816-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-29T05:35:58.816-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="HOW-TO" /><category scheme="http://www.blogger.com/atom/ns#" term="LINUX" /><title>Building a Firewall Appliance</title><content type="html">&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Many years ago there was a post that stated you could take a&lt;a href="http://goo.gl/HXj5"&gt; Nokia IP330 firewall&lt;/a&gt; and load Smoothwall Linux on it to create your own freely licensed 1U rackmountable firewall.&amp;nbsp; Back then I bought an IP330 and it's been sitting in an unopened box ever since.&amp;nbsp; That's not a huge deal as it only cost me $50 and I didn't have any practical application for a real firewall.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;This morning I got the bug.&amp;nbsp; I needed a project I could geek out on.&amp;nbsp; So, this was it.&amp;nbsp; I had searched periodically over the years and found that the original article was gone.&amp;nbsp; Thank goodness for Google's cache!&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;The process, simplified, goes like this:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;INITIAL INSTALLATION &lt;/span&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Download and burn Smoothwall Linux 3.0 SP1 (as of today).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Remove the HDD from the Nokia IP330&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Attach the Nokia HDD to a surrogate PC that will be used for the installation&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Boot/Install&lt;/span&gt;&lt;/li&gt;

&lt;ol&gt;&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Take the defaults until you're prompted for the basic security posture: open, mostly open or closed.&amp;nbsp; I chose closed.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;You'll be asked to choose the types of interfaces.&amp;nbsp; GREEN/RED is what you want.&amp;nbsp; It will default to GREEN/RED (ISDN or Modem), that's not what you want.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;During this process you have to configure your NICs.&amp;nbsp; The whole process only took me ~2 hours but 30 minutes of it was during this portion.&amp;nbsp; My surrogate PC had only one NIC, but the type we're choosing requires 2.&amp;nbsp; More on this in a minute.&lt;/i&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Go ahead and setup your LAN (Green) network.&amp;nbsp; I used 10.123.99.0/255.255.255.0 and I set the firewall address to 10.123.99.254.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;I set my External interface to DHCP so it would pickup an address from my existing internet router.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;At this point you can do CTRL-ALT-DEL and reboot the PC.&amp;nbsp; Unless you have 2 NICs you will not get past this point.&amp;nbsp; No worries.&amp;nbsp; It all works out in the end.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/ol&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;MAKING THE EDITS&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Because of the hard reset in the middle of the process I did not get to setup any passwords.&amp;nbsp; When you're prompted to login do so with 'root' and no password.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Set the CONFIG_TYPE to 3 in /var/smoothwall/ethernet/settings&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Configure each of your GREEN, ORANGE and RED settings to match this:&lt;br /&gt;
&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;GREEN_DEV=eth0&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;ORANGE_DEV=eth1&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;RED_DEV=eth2&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
&lt;br /&gt;
[GREEN|ORANGE|RED]_DRIVER=eepro100&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;[GREEN|ORANGE|RED]_&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;DRIVER_OPTIONS=&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;[GREEN|ORANGE|RED]_&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;DISPLAYDRIVER=eepro100&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
GREEN_ADDRESS=10.123.99.254&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;GREEN_NETMASK=255.255.255.0&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;GREEN_NETADDRESS=10.123.99.0&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;GREEN_BROADCAST=10.123.99.255&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
ORANGE_ADDRESS=10.123.100.254&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;ORANGE_NETMASK=255.255.255.0&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;ORANGE_NETADDRESS=10.123.100.0&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;ORANGE_BROADCAST=10.123.100.255&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;
RED_DHCP_HOSTNAME=smoothwall&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;RED_ADDRESS=0.0.0.0&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;RED_NETMASK=0.0.0.0&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;RED_TYPE=DHCP&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;RED_NETADDRESS=0.0.0.0&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;RED_BROADCAST=255.255.255.255&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Next edit /etc/rc.d/rc.network. Look in the file for the end of the for loop:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;forNIC in 0 1 2 3; do&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&lt;some code=""&gt;&lt;/some&gt;&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;done&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br /&gt;
&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;You need to add MAC address entries for each of the NICs.&amp;nbsp; These are the ones used by the original article, but my IP380 booted and had Checkpoint's IPSO installed so I was able to capture my real MAC addresses:&lt;br /&gt;
&lt;/span&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;ifconfig eth0 hw ether 00:a0:8e:e:50:78&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;ifconfig eth1 hw ether 00:a0:8e:e:50:7c&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;ifconfig eth2 hw ether 00:a0:8e:e:50:80&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-family: Arial,Helvetica,sans-serif;"&gt;Next we need to change /etc/inittab.&amp;nbsp; Replace the line 1:2345 with:&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;1:2345:respawn:/sbin/agetty -h ttyS0 9600 vt100&lt;/span&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;li style="font-family: Arial,Helvetica,sans-serif;"&gt;Finally, type lilo at the prompt and press enter followed by shutdown -h now.&lt;/li&gt;
&lt;/ol&gt;After your PC shuts down remove the HDD and put it back in the Nokia and boot it.&amp;nbsp; You'll need to be console connected to the device so you can run "setup" to set the 3 passwords used on the machine.&lt;br /&gt;
&lt;br /&gt;
You can now surf to the new Smoothwall box via it's Green IP address on port 81!&amp;nbsp; Login with admin and the password you entered during "setup."&lt;br /&gt;
&lt;br /&gt;
http://10.123.99.254:81&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1521730673051479113-8603769288563231996?l=thingsthatmakememadandhowtofixthem.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/McYeE5YrWDWAhvKqJw2eJiavC5g/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/McYeE5YrWDWAhvKqJw2eJiavC5g/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/McYeE5YrWDWAhvKqJw2eJiavC5g/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/McYeE5YrWDWAhvKqJw2eJiavC5g/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThingsThatMakeMeMadandHowToFixThem/~4/_V3cTA7atTk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/feeds/8603769288563231996/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/03/building-firewall-appliance.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/8603769288563231996?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/8603769288563231996?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThingsThatMakeMeMadandHowToFixThem/~3/_V3cTA7atTk/building-firewall-appliance.html" title="Building a Firewall Appliance" /><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S2hqX1FhH6I/AAAAAAAADqw/J1vTMam5aZA/S220/bmo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/03/building-firewall-appliance.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkIMQ3o9fSp7ImA9WxFRFUk.&quot;"><id>tag:blogger.com,1999:blog-1521730673051479113.post-8778856420303261319</id><published>2010-03-02T03:25:00.000-08:00</published><updated>2010-04-29T05:36:22.465-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-29T05:36:22.465-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="DOS" /><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS" /><title>Keeping Track of Files</title><content type="html">&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Ever wanted to make sure the same file, in this case hosts file, is on all the PCs you manage at the office, but you don't have the budget for expensive automated software distribution tools?&amp;nbsp; You can do this with DOS batch or .VBS files.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Make a directory that we have permissions to write into at login.&amp;nbsp; In that directory create a marker file so we can successfully check to see if the directory exists.&amp;nbsp; Then we use the same technique to check the version of our hosts file!&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Here's the code ...&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;@echo off&lt;/b&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;cls&lt;/b&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;echo *****************************************************************&lt;/b&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;echo * Executing Login Scripts.&amp;nbsp; Use of this equipment is restricted *&lt;/b&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;echo * to authorized employees only.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/b&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;echo *****************************************************************&lt;/b&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;echo .&lt;/b&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;:PCUPDATE&lt;/b&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;IF EXIST "c:\patches\NULL" GOTO :HOSTSNT&lt;/b&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;cd c:\&lt;/b&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;mkdir PATCHES&lt;/b&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;cd c:\patches&lt;/b&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;dir &amp;gt; NULL&lt;/b&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;:HOSTSNT&lt;/b&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;IF EXIST "c:\patches\hosts.20070430" GOTO END&lt;/b&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;echo Updating Hosts file&lt;/b&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;cd %SYSTEMROOT%\system32\drivers\etc&lt;/b&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;copy hosts hosts.old /Y&lt;/b&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;copy \\FileServer1\Sys\Patches\hosts . /Y &amp;gt; c:\patches\hosts.20070430&lt;/b&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;echo Done.&lt;/b&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;:END&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;We create the directory if it doesn't exist as previously discussed.&amp;nbsp; Then we look for a hosts file revisioned 20070430 (yyyymmdd).&amp;nbsp; If the file doesn't exist then we: 1. create a backup of our existing hosts file and 2. copy the new hosts file from our network store sending the output to our marker file in c:\patches.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1521730673051479113-8778856420303261319?l=thingsthatmakememadandhowtofixthem.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/zWqMgHX6fiuJLWDibP5_K74fDSM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zWqMgHX6fiuJLWDibP5_K74fDSM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/zWqMgHX6fiuJLWDibP5_K74fDSM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zWqMgHX6fiuJLWDibP5_K74fDSM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThingsThatMakeMeMadandHowToFixThem/~4/iQVRIQgWtQk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/feeds/8778856420303261319/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/03/keeping-track-of-files.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/8778856420303261319?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/8778856420303261319?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThingsThatMakeMeMadandHowToFixThem/~3/iQVRIQgWtQk/keeping-track-of-files.html" title="Keeping Track of Files" /><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S2hqX1FhH6I/AAAAAAAADqw/J1vTMam5aZA/S220/bmo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/03/keeping-track-of-files.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkEEQ3k-eCp7ImA9WxFRFUk.&quot;"><id>tag:blogger.com,1999:blog-1521730673051479113.post-6647980401416519309</id><published>2010-02-26T05:48:00.000-08:00</published><updated>2010-04-29T05:36:42.750-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-29T05:36:42.750-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS" /><category scheme="http://www.blogger.com/atom/ns#" term="WINDOWS" /><title>Hiding the Executioner Follow Up</title><content type="html">&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;I noticed that one of my kids' PCs was on in the morning.&amp;nbsp; It's usually at a WoW login screen so I decided to double check my shutdown settings.&amp;nbsp; I found a missing "/f" to force the shutdown.&amp;nbsp; All corrected.&amp;nbsp; It also occurred to me that Windows 7 didn't have the keys I told you to modify.&amp;nbsp; For Windows 7 you simply create the appropriate keys and DWORD entries and it will hide your account.&amp;nbsp; Here's a sample registry file:&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;b&gt;&lt;span style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Windows Registry Editor Version 5.00&lt;/span&gt;&lt;br style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;br style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;[HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Winlogon \ SpecialAccounts \ UserList]&lt;/span&gt;&lt;br style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;"executioner"=dword:00000000 &lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Just make sure you change "executioner" to the username you selected to run your jobs.&amp;nbsp; Also, a space was inserted between each \ for readability.&amp;nbsp; Do a CTRL-H in notepad and replace " \ " with "\".&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1521730673051479113-6647980401416519309?l=thingsthatmakememadandhowtofixthem.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Qe-G39e_P1cyWrrRQZOxYrbmpks/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Qe-G39e_P1cyWrrRQZOxYrbmpks/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Qe-G39e_P1cyWrrRQZOxYrbmpks/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Qe-G39e_P1cyWrrRQZOxYrbmpks/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThingsThatMakeMeMadandHowToFixThem/~4/DGZwADOhWYM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/feeds/6647980401416519309/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/hiding-executioner-follow-up.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/6647980401416519309?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/6647980401416519309?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThingsThatMakeMeMadandHowToFixThem/~3/DGZwADOhWYM/hiding-executioner-follow-up.html" title="Hiding the Executioner Follow Up" /><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S2hqX1FhH6I/AAAAAAAADqw/J1vTMam5aZA/S220/bmo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/hiding-executioner-follow-up.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkEGQHY6fip7ImA9WxFRFUk.&quot;"><id>tag:blogger.com,1999:blog-1521730673051479113.post-1917992391798137658</id><published>2010-02-17T05:25:00.000-08:00</published><updated>2010-04-29T05:37:01.816-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-29T05:37:01.816-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS" /><category scheme="http://www.blogger.com/atom/ns#" term="WINDOWS" /><title>Hiding The Executioner (job.user)</title><content type="html">&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;It's a flurry of posts today.&amp;nbsp; Once you created the user to run your jobs you may have noticed you now get a Welcome Screen in XP (or maybe you already did), but Executioner shows up in the list.&amp;nbsp; There is a way to hide him/her ...&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;You need to modify the registry.&amp;nbsp; Run regedit and navigate to the following Key:&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;i&gt;&lt;b&gt;HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Windows  NT \ CurrentVersion \ Winlogon \ SpecialAccounts \ UserList&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Under this key you simply create a new DWORD value – the name matches  the users name exactly, and the value is one of the following (Decimal  format)&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;0     – Hides the user just from the welcome screen&lt;br /&gt;
1     – The  user is shown&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&amp;nbsp;Now when you reboot things will be back to normal.&amp;nbsp; This is also a good way to use a regular privs user account but give yourself the CTRL-ALT-DEL hidden option of entering a Bill Admin username and password if required.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1521730673051479113-1917992391798137658?l=thingsthatmakememadandhowtofixthem.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/saJm1CqfgyZ5uEvfyY8Qz5bgSC8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/saJm1CqfgyZ5uEvfyY8Qz5bgSC8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/saJm1CqfgyZ5uEvfyY8Qz5bgSC8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/saJm1CqfgyZ5uEvfyY8Qz5bgSC8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThingsThatMakeMeMadandHowToFixThem/~4/HLG0inKxq0g" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/feeds/1917992391798137658/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/hiding-executioner-jobuser.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/1917992391798137658?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/1917992391798137658?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThingsThatMakeMeMadandHowToFixThem/~3/HLG0inKxq0g/hiding-executioner-jobuser.html" title="Hiding The Executioner (job.user)" /><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S2hqX1FhH6I/AAAAAAAADqw/J1vTMam5aZA/S220/bmo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/hiding-executioner-jobuser.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkEHRnc5cSp7ImA9WxFRFUk.&quot;"><id>tag:blogger.com,1999:blog-1521730673051479113.post-257454978441593672</id><published>2010-02-17T05:05:00.000-08:00</published><updated>2010-04-29T05:37:17.929-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-29T05:37:17.929-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS" /><category scheme="http://www.blogger.com/atom/ns#" term="WINDOWS" /><title>What's Greener Than S3?  Shutdown.</title><content type="html">&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;I have a friend that started a Facebook group called, "Green is just a color."&amp;nbsp; This isn't a political blog so I won't venture into Al Gore's Inconvenient Truth here, but I will tell you that in the coldest Winter Cincinnati has suffered in a very long time, my combined gas &amp;amp; electric bill last month was only $95.&amp;nbsp; My motivation was green as in dollars.&amp;nbsp; I'm not so concerned about the Alaskan caribou and if you're a tree-huggin' Darwinist then you can appreciate that the caribou had as much a chance at evolving opposable thumbs as we did and they might well be drilling for oil in our grazing lands.&amp;nbsp; :)&amp;nbsp; That's a joke.&amp;nbsp; Settle down Cameron Diaz.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Many years ago I got divorced.&amp;nbsp; Now, what I'm about to tell you is not my ex's fault, but I have taken control of the things around me.&amp;nbsp; With regards to PCs, electricity consumption and this blog: I have unplugged my toaster, coffee maker, unused radios and I even turn off the surge protectors for unused equipment when I walk past them.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;How does that relate to my PC?&amp;nbsp; It is a fact that PCs consume far less power today than they used to when in their low-power modes.&amp;nbsp; But what about the no-power modes?&amp;nbsp; Once upon a time it was deemed a far greater risk to turn a PC off every day than it was worth in the electricity to keep it on.&amp;nbsp; I guess with the amount of electricity they use in a mostly powered off mode that argument is still kind of valid.&amp;nbsp; I, however, enjoy the complete silence a room experiences only when everything is turned off.&amp;nbsp; We all know you can't rely on your kids to turn things off when they're done and as I've previously noted with my To Do list we're all very busy.&amp;nbsp; Who wants to remember to turn off the PC at night?&amp;nbsp; The PC wants to remember!&amp;nbsp; (If you tell it to.)&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;I have a scheduled shutdown of my PC that runs every day!&amp;nbsp; It's not just a brute force, turn everything off by God!&amp;nbsp; I've only been blogging for 17 days, but I think you can gather from my previous posts that I look for the graceful solutions when possible.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Schedule a shutdown in the same way you schedule your reboot before, but schedule this one to run nightly at 9:00 PM.&amp;nbsp; Your command will look a little different:&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;i&gt;&lt;b&gt;c:\windows\system32\shutdown.exe /s /t 60 /f&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;The /s tells the system to shutdown (not reboot.)&amp;nbsp; The /t 60 gives the user 60 seconds to override the command, but that's just a fail safe.&amp;nbsp; You'll see why.&amp;nbsp; The /f forces the shutdown.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;The fail safe is just that, a fail safe.&amp;nbsp; When you create the nightly schedule for your task you need to set some advanced options.&amp;nbsp; We're going to start the job at 9:00 PM, but we're only going to let it execute after 60 minutes of inactivity!&amp;nbsp; That means the earliest the system would shutdown would be 10:00 PM.&amp;nbsp; In the advanced properties you also tell it to retry for 8 hours.&amp;nbsp; That's more than enough time to cover the weekend nights when the kids are up late playing World of Warcraft and by scheduling it daily I don't have to make exceptions for President's Day ;)&amp;nbsp; Unless the kids pull an all-nighter and make it to 5:00 AM I will wake up to a completely powered down, quiet house.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Special Consideration:&amp;nbsp; If you do this there are other jobs on your PC that may need adjusting.&amp;nbsp; Windows Update is scheduled to run at 3:00 AM.&amp;nbsp; You need to move that to 9:00 PM.&amp;nbsp; No worries though as "inactivity" means human activity (interactivity).&amp;nbsp; Windows Update can run and finish before 10 and your PC can still shutdown.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1521730673051479113-257454978441593672?l=thingsthatmakememadandhowtofixthem.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/x8_WOUSf4EsizZiEl-0L0myx4iA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/x8_WOUSf4EsizZiEl-0L0myx4iA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/x8_WOUSf4EsizZiEl-0L0myx4iA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/x8_WOUSf4EsizZiEl-0L0myx4iA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThingsThatMakeMeMadandHowToFixThem/~4/COTsIGVMNFQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/feeds/257454978441593672/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/whats-greener-than-s3-shutdown.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/257454978441593672?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/257454978441593672?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThingsThatMakeMeMadandHowToFixThem/~3/COTsIGVMNFQ/whats-greener-than-s3-shutdown.html" title="What's Greener Than S3?  Shutdown." /><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S2hqX1FhH6I/AAAAAAAADqw/J1vTMam5aZA/S220/bmo.jpg" /></author><thr:total>2</thr:total><feedburner:origLink>http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/whats-greener-than-s3-shutdown.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkEBQHo_eCp7ImA9WxFRFUk.&quot;"><id>tag:blogger.com,1999:blog-1521730673051479113.post-6919122568683676761</id><published>2010-02-17T04:38:00.000-08:00</published><updated>2010-04-29T05:37:31.440-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-29T05:37:31.440-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS" /><category scheme="http://www.blogger.com/atom/ns#" term="WINDOWS" /><title>Automating Maintenance</title><content type="html">&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Now that we have our job user, what else can we do?&amp;nbsp; How many times do you hear, "Hey, my PC is running really slow.&amp;nbsp; Can you look at it?"&amp;nbsp; We all run through the simple things first, right?&amp;nbsp; So, you run defrag just to see how bad it is.&amp;nbsp; Upon realizing defrag hasn't been run since the day the machine was purchased you decide it's also prudent to do a chkdsk.&amp;nbsp; For the life of me I can't understand why these things aren't configured to run automatically.&amp;nbsp; I guess I should credit Windows 7 because it is scheduled to run every Wednesday at 1:00 AM on my laptop and I had nothing to do with it.&amp;nbsp; That said, my laptop is never on at 1:00 AM Wednesday ;)&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Most of the PCs I support are still running Windows XP.&amp;nbsp; Try as I may people just don't have the money to upgrade.&amp;nbsp; So, as I get these requests for repair I always drop a couple of maintenance jobs on them.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Drag &amp;amp; drop defrag.exe on to the Task Scheduler and change the user to my job user a.k.a. Executioner.&amp;nbsp; In reality it's named something much more bland: job.user.&amp;nbsp; For real.&amp;nbsp; I set the schedule to run on Tue, Thr, Sat &amp;amp; Sun at 7:00 PM.&amp;nbsp; More on that in a moment.&amp;nbsp; You'll have to modify the command to include C: and -f (C-drive and force the defrag.)&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="background-color: yellow; font-family: Arial,Helvetica,sans-serif;"&gt;&lt;i&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;c:\windows\system32\defrag.exe C: /f&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;I also schedule chkntfs.exe in the same way.&amp;nbsp; I only do this weekly on Sat &amp;amp; Sun at 11:00 AM.&amp;nbsp; chkntfs needs the parameters C: and /C to tell it which drive and to scan upon reboot.&amp;nbsp; That is quickly followed by a scheduled reboot (shutdown.exe) at 11:05 AM on the same days.&amp;nbsp; Shutdown needs /r /t 0 /f (reboot, wait 0 seconds and force).&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;i&gt;&lt;b&gt;c:\windows\system32\chkntfs.exe C: /C&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;i&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;i&gt;&lt;b&gt;c:\windows\system32\shutdown.exe /r /t 0 /f&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;I typically use Sat &amp;amp; Sun in my schedules because the systems can be off through the week depending on kids' functions, happy hour, etc. :P&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Why early evening and weekend mornings?&amp;nbsp; In my next blog post, "What's Greener Than S3?" you'll find out.&amp;nbsp; Until then suffice it to say it's a good choice.&amp;nbsp; Of course, that's what I use for my PCs.&amp;nbsp; You can still use middle of the night times for family, friends and neighbors.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Tip: I have even scheduled the defrags of our servers disks in the middle of the night.&amp;nbsp; Servers need luvin' too ...&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_BOqaHmdhJDs/S3vjO1jypjI/AAAAAAAADtM/SRbHP5npjyc/s1600-h/Picture2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S3vjO1jypjI/AAAAAAAADtM/SRbHP5npjyc/s320/Picture2.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1521730673051479113-6919122568683676761?l=thingsthatmakememadandhowtofixthem.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/oI0OAdvndqvCgI-iyWz8dWY8Yys/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oI0OAdvndqvCgI-iyWz8dWY8Yys/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/oI0OAdvndqvCgI-iyWz8dWY8Yys/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oI0OAdvndqvCgI-iyWz8dWY8Yys/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThingsThatMakeMeMadandHowToFixThem/~4/P_CE4cUiyss" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/feeds/6919122568683676761/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/automating-maintenance.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/6919122568683676761?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/6919122568683676761?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThingsThatMakeMeMadandHowToFixThem/~3/P_CE4cUiyss/automating-maintenance.html" title="Automating Maintenance" /><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S2hqX1FhH6I/AAAAAAAADqw/J1vTMam5aZA/S220/bmo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_BOqaHmdhJDs/S3vjO1jypjI/AAAAAAAADtM/SRbHP5npjyc/s72-c/Picture2.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/automating-maintenance.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk8CSHs5fSp7ImA9WxFRFUk.&quot;"><id>tag:blogger.com,1999:blog-1521730673051479113.post-5700768553482324696</id><published>2010-02-16T11:22:00.000-08:00</published><updated>2010-04-29T05:41:09.525-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-29T05:41:09.525-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS" /><category scheme="http://www.blogger.com/atom/ns#" term="WINDOWS" /><title>Who can run what, when?!</title><content type="html">&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;I am a big fan of encapsulation. &amp;nbsp;I like it in OO code and I like it in my operating system and applications where I can implement it. &amp;nbsp;What do I mean? &amp;nbsp;I mean I always run SQL Server and Agent under a user account rather than the 'Local Administrator' account. &amp;nbsp;I do this for IIS' application pools and I do it for scheduled jobs on the system. &amp;nbsp;Previously I posted a cleanup script and talked about how it was scheduled to run every Monday morning. &amp;nbsp;I pretty much left it at that, but it recently&amp;nbsp;occurred&amp;nbsp;to me that there was some struggle around making that happen without having administrative privileges on the server.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;In our domain, or locally on a machine (as required), I create a standard non-privileged user account to run scheduled jobs under. &amp;nbsp;For the sake of this post we'll call that user "executioner." &amp;nbsp;Go create your executioner account now and open Scheduled Tasks.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;If you created your own .vbs file to do cleanup work as I did you'll quickly learn that it works as described. &amp;nbsp;But who wants to run that script when they login every Monday morning? &amp;nbsp;Or what if it needs to run at 1:00 AM every night? &amp;nbsp;I don't know about you, but I want to be snugly in bed at 1:00 AM. &amp;nbsp;You can create the stub of a scheduled job simply by dragging your .vbs file onto the schedule tasks window.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_BOqaHmdhJDs/S3rvfvx0rFI/AAAAAAAADtE/nOOQHo4pGlw/s1600-h/Picture.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S3rvfvx0rFI/AAAAAAAADtE/nOOQHo4pGlw/s320/Picture.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Double click your newly scheduled task in the Scheduled Tasks window. &amp;nbsp;Change the username field from to "[{machine name}|{domain name}]\{account name}. &amp;nbsp;You did use Executioner, right?! ;) &amp;nbsp;If I created a local account mine would read:&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;i&gt;&lt;b&gt;nofear\Executioner&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;And if I created a domain account it would read:&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;i&gt;&lt;b&gt;kulai.local\Executioner&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Change your schedule and click "OK." &amp;nbsp;You'll be prompted to enter "Executioner's" password.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;All set? &amp;nbsp;Right click on your job and choose "Run." &amp;nbsp;It should fail. &amp;nbsp;:( &amp;nbsp;I guess that's no so bad. &amp;nbsp;It's what we want actually.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;If you examine the filesystem &amp;nbsp;using filemon.exe from http://live.sysinternals.com you'll notice that Executioner is failing when trying to open cmd.exe.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Grant Read &amp;amp; Execute permissions to Executioner and try again. &amp;nbsp;Viola! &amp;nbsp;Now you have a mostly-non-privileged user account to run your local jobs.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;a href="http://support.microsoft.com/kb/867466"&gt;More Reading&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1521730673051479113-5700768553482324696?l=thingsthatmakememadandhowtofixthem.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Rvwc4MrsmnMh2v1_DumNKS1Uy24/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Rvwc4MrsmnMh2v1_DumNKS1Uy24/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Rvwc4MrsmnMh2v1_DumNKS1Uy24/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Rvwc4MrsmnMh2v1_DumNKS1Uy24/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThingsThatMakeMeMadandHowToFixThem/~4/dWphRRUYgGM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/feeds/5700768553482324696/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/who-can-run-what-when.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/5700768553482324696?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/5700768553482324696?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThingsThatMakeMeMadandHowToFixThem/~3/dWphRRUYgGM/who-can-run-what-when.html" title="Who can run what, when?!" /><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S2hqX1FhH6I/AAAAAAAADqw/J1vTMam5aZA/S220/bmo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_BOqaHmdhJDs/S3rvfvx0rFI/AAAAAAAADtE/nOOQHo4pGlw/s72-c/Picture.jpg" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/who-can-run-what-when.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk8GQ388eyp7ImA9WxFRFUk.&quot;"><id>tag:blogger.com,1999:blog-1521730673051479113.post-1618047670049974787</id><published>2010-02-09T06:04:00.000-08:00</published><updated>2010-04-29T05:40:22.173-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-29T05:40:22.173-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS" /><category scheme="http://www.blogger.com/atom/ns#" term="WINDOWS" /><category scheme="http://www.blogger.com/atom/ns#" term="LINUX" /><title>Redlight - Greenlight</title><content type="html">&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;There were a couple of tweaks that were missing from yesterday's post.&amp;nbsp; One of the things I've worked hard to do in my work environment is create visual queues throughout our servers that should raise red flags about the role of the machine you're currently working on plays.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;One of the ways is to put a background image on every desktop, including the RDP login screens that identify the common name for the server color coded to it's role in Development (green), Test (yellow) or Production (red).&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_BOqaHmdhJDs/S3Fp-TYxBZI/AAAAAAAADsk/iYyiEwxaqR0/s1600-h/devcomp.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_BOqaHmdhJDs/S3Fp-TYxBZI/AAAAAAAADsk/iYyiEwxaqR0/s320/devcomp.gif" /&gt;&lt;/a&gt;&lt;a href="http://2.bp.blogspot.com/_BOqaHmdhJDs/S3FqAK3Sv8I/AAAAAAAADss/cUtqyiao8yw/s1600-h/testweb.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_BOqaHmdhJDs/S3FqAK3Sv8I/AAAAAAAADss/cUtqyiao8yw/s320/testweb.gif" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_BOqaHmdhJDs/S3FqCS5mTAI/AAAAAAAADs0/EH1BdirBJww/s1600-h/proddw2k8.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S3FqCS5mTAI/AAAAAAAADs0/EH1BdirBJww/s320/proddw2k8.gif" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Props to FlamingText.com for their service.&amp;nbsp; It's there that I make all my images.&amp;nbsp; &lt;a href="http://goo.gl/mKqE"&gt;HERE&lt;/a&gt; is a link to their site with the fields pre-populated to create a yellow on black image with the white drop shadow.&amp;nbsp; Just change the text and submit your image for creation (&lt;a href="http://goo.gl/mKqE"&gt;http://goo.gl/mKqE&lt;/a&gt;).&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
In addition to that I color the command prompt text to match with the following .reg file:&lt;/div&gt;&lt;br /&gt;
&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;Windows Registry Editor Version 5.00&lt;br /&gt;
&lt;br /&gt;
[HKEY_CURRENT_USER\Software\Microsoft\Command Processor]&lt;br /&gt;
"DefaultColor"=dword:0000000c&lt;br /&gt;
# 0c = Red = Production&lt;br /&gt;
# 0e = Yellow = Test&lt;br /&gt;
# 0a = Green = Dev&lt;br /&gt;
# 0b = Blue = DRP&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_BOqaHmdhJDs/S3Fq46J4wrI/AAAAAAAADs8/ndgDHsiyx9Y/s1600-h/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S3Fq46J4wrI/AAAAAAAADs8/ndgDHsiyx9Y/s320/Capture.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;You probably also noticed that each machine "common name" is descriptive.&amp;nbsp; If you work like I do you have at least 2 monitors full of stuff, multiple RDP sessions open and a stream of people meandering by your desk.&amp;nbsp; So, when I switch back to a RDP window that I opened hours ago, the desktop is covered and I open a command prompt with RED text I am reminded that I am on a Production server.&amp;nbsp; Time to slow down and double check what I'm doing.&lt;/div&gt;&lt;div class="separator" style="clear: both; font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Speaking of common names: make things easier for your users.&amp;nbsp; Who wants to remember LAX-VSI-X-WEB1 or LAX-VSI-X-DB2K8 (Los Angeles, Virtual Server Instance, DRP, Web1 or DB2k8) when DRPWEB or DRPDB can get you there?&amp;nbsp; Use CNAMES in your DNS servers to keep it as simple as possible.&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1521730673051479113-1618047670049974787?l=thingsthatmakememadandhowtofixthem.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/4HcCDObzdOYRQlfA4XcvIqhXUF8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4HcCDObzdOYRQlfA4XcvIqhXUF8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/4HcCDObzdOYRQlfA4XcvIqhXUF8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4HcCDObzdOYRQlfA4XcvIqhXUF8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThingsThatMakeMeMadandHowToFixThem/~4/FJv5OAabyso" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/feeds/1618047670049974787/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/redlight-greenlight.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/1618047670049974787?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/1618047670049974787?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThingsThatMakeMeMadandHowToFixThem/~3/FJv5OAabyso/redlight-greenlight.html" title="Redlight - Greenlight" /><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S2hqX1FhH6I/AAAAAAAADqw/J1vTMam5aZA/S220/bmo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_BOqaHmdhJDs/S3Fp-TYxBZI/AAAAAAAADsk/iYyiEwxaqR0/s72-c/devcomp.gif" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/redlight-greenlight.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk8EQ3wyeip7ImA9WxFRFUk.&quot;"><id>tag:blogger.com,1999:blog-1521730673051479113.post-1332127563810124605</id><published>2010-02-08T04:40:00.000-08:00</published><updated>2010-04-29T05:40:02.292-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-29T05:40:02.292-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS" /><category scheme="http://www.blogger.com/atom/ns#" term="WINDOWS" /><title>Quick Registry Tweaks</title><content type="html">&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;I'm sure, if you're reading this blog you're probably the resident IT geek around your friends and family.&amp;nbsp; That means you've probably done your fair share of system rebuilds for one reason or another.&amp;nbsp; I had my very own mother "punch the monkey" not long ago and spent a fair amount of time cleaning her system until she noted, "you could just erase everything.&amp;nbsp; There's nothing on there I need."&amp;nbsp; *sigh*&amp;nbsp; Well, that repair could have taken me 1 hour instead of 4 hours + 1 hour ;)&amp;nbsp; &lt;/span&gt;C'est &lt;i&gt;la vie&lt;/i&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;One of the things I hate about system builds is getting all the settings back the way I like them.&amp;nbsp; That started a quest for me a few years ago to compile all those tweaks into 1 registry file that I can apply to any system and have all my preferences set the way I like them.&amp;nbsp; Since I build all the systems for my immediate friends and family I'll just assume they like them too because they've never known anything different!&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Here are the things that the registry file does:&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt; &lt;/span&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Adds an "Open with Notepad" option to the explorer context menu&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Adds a "CMD Prompt from HERE" option to the explorer context menu&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Adds "Copy To" and "Move To" options to the explorer context menu&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Turns OFF XP's search assistant making it operate like Windows 9x/2k&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;It increases the maximum number of IE connections to 8.&amp;nbsp; Default is 2 or 3.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;It unhides all hidden, system, very hidden files and shows all file extensions&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;It shows the full path in the window title and address bars&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Turns on the "Status Bar" in explorer&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;It removes all the Windows XP visual affects (making the system faster)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Turns on Tree View by default in Explorer&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;Turns off the unused Desktop Icon notification&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;i style="color: red;"&gt;&lt;b&gt;This is offered WITHOUT WARRANTY.&amp;nbsp; I have used it on every PC that I own.&amp;nbsp; I have used it on every PC at work.&amp;nbsp; It has worked perfectly for me.&amp;nbsp; Your mileage might vary.&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;&lt;span style="background-color: yellow;"&gt;Windows Registry Editor Version 5.00&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;# General Security Tweak(s)&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_LOCAL_MACHINE\SYSTEM\CurrentcontrolSet\Control\Lsa]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"RestrictAnonymous"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_LOCAL_MACHINE\SYSTEM\CurrentcontrolSet\Control\SecurePipeServers\win reg]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;# Add Copy To and Move To to the Explorer Context Menu&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Copy To]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;@="{C2FBB630-2971-11D1-A18C-00C04FD75D13}"&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Move To]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;@="{C2FBB631-2971-11D1-A18C-00C04FD75D13}"&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;# Open Explorer in Folder List View&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CLASSES_ROOT\Folder]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"EditFlags"=dword:000003d2&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"BrowserFlags"=dword:00000008&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CLASSES_ROOT\Folder\shell]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;@="explore"&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;# Add Open with Notepad to the Explorer Context Menu&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CLASSES_ROOT\*\shell]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CLASSES_ROOT\*\shell\opennotepad]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;@="Open with Notepad"&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CLASSES_ROOT\*\shell\opennotepad\command]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;@="C:\\WINDOWS\\system32\\NOTEPAD.EXE %1"&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;# Increase IE connections to 8&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"MaxConnectionsPerServer"=dword:00000008&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;# Show the Status Bar&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"StatusBarOther"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;# Show Hidden, Very Hidden &amp;amp; Protected Operating System Files&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;# Show File Extensions&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"Hidden"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"HideFileExt"=dword:00000000&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"SuperHidden"=dword:00000000&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"DisableThumbnailCache"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"ShowSuperHidden"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"WebViewBarricade"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;# Show the full path in the address and title bar&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;# Turn of Clippy the Search Assistant&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"Settings"=hex:0c,00,02,00,1b,01,e7,77,60,00,00,00&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"FullPath"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"FullPathAddress"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"Use Search Asst"="no"&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"Use Search Asst"="no"&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;# Turn off the unused icons on your desktop notification&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"NoRun"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;# Add CMD prompt from here to the Explorer context men&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;&lt;span style="background-color: yellow;"&gt;# Not friendly with Windows 7 -- will replace with update&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;&lt;span style="background-color: yellow;"&gt;# do not uncomment the following 2 key insertions &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;&lt;span style="background-color: yellow;"&gt;#[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Command Prompt]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;@="CMD prompt from here"&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;#[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Command Prompt\command]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;@="Cmd.exe /k pushd %L"&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;# Enable Quick Edit in CMD windows&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CURRENT_USER\Console]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"QuickEdit"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_USERS\.DEFAULT\Console]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"QuickEdit"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;# Turn off visual effects to improve performance&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"VisualFXSetting"=dword:00000002&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\AnimateMinMax]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"DefaultApplied"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ComboBoxAnimation]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"DefaultApplied"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\CursorShadow]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"DefaultApplied"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\DragFullWindows]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"DefaultApplied"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\DropShadow]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"DefaultValue"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"DefaultApplied"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\FontSmoothing]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"DefaultValue"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"DefaultApplied"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ListBoxSmoothScrolling]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"DefaultApplied"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ListviewAlphaSelect]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"DefaultValue"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"DefaultApplied"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ListviewShadow]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"DefaultValue"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"DefaultApplied"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ListviewWatermark]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"DefaultValue"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"DefaultApplied"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\MenuAnimation]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"DefaultValue"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"DefaultApplied"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\SelectionFade]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"DefaultValue"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"DefaultApplied"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\TaskbarAnimations]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"DefaultValue"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"DefaultApplied"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\Themes]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\TooltipAnimation]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"DefaultValue"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"DefaultApplied"=dword:00000001&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\WebView]&lt;/span&gt;&lt;br style="background-color: yellow;" /&gt;&lt;span style="background-color: yellow;"&gt;"DefaultApplied"=dword:00000001&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="background-color: white;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="background-color: white;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="background-color: white; font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Cut and paste the code above into a file with a .REG extension.&amp;nbsp; Then you can double-click the file to apply the changes.&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: white; font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;b style="background-color: yellow;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1521730673051479113-1332127563810124605?l=thingsthatmakememadandhowtofixthem.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/W_oSMqNV2WYj4tF0PIKohzB2vfs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/W_oSMqNV2WYj4tF0PIKohzB2vfs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/W_oSMqNV2WYj4tF0PIKohzB2vfs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/W_oSMqNV2WYj4tF0PIKohzB2vfs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThingsThatMakeMeMadandHowToFixThem/~4/r-Lf8YLkJ6M" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/feeds/1332127563810124605/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/quick-registry-tweaks.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/1332127563810124605?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/1332127563810124605?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThingsThatMakeMeMadandHowToFixThem/~3/r-Lf8YLkJ6M/quick-registry-tweaks.html" title="Quick Registry Tweaks" /><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S2hqX1FhH6I/AAAAAAAADqw/J1vTMam5aZA/S220/bmo.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/quick-registry-tweaks.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkANQXo4cCp7ImA9WxFRFUk.&quot;"><id>tag:blogger.com,1999:blog-1521730673051479113.post-2370373174775321853</id><published>2010-02-06T08:08:00.000-08:00</published><updated>2010-04-29T05:39:50.438-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-29T05:39:50.438-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ANDROID" /><category scheme="http://www.blogger.com/atom/ns#" term="DEVELOPMENT" /><title>SUBST, Java and Beer ...</title><content type="html">I've recently picked up the coding bug again.&amp;nbsp; I had started going through some C# material and then my girlfriend bought me an Android based phone for Christmas.&amp;nbsp; Android development is done in Java.&amp;nbsp; Here was my first experience and a crafty DOS trick that solved my problem.&lt;br /&gt;
&lt;br /&gt;
The "&lt;b&gt;&lt;i&gt;Head First Java&lt;/i&gt;&lt;/b&gt;" book discourages the use of an IDE while you're learning Java.&amp;nbsp; The thought is learn the language then learn the tool.&amp;nbsp; I'm on board so I fired up Notepad++ and entered my code (see below).&amp;nbsp; I have a shared Dropbox folder setup for Android development.&amp;nbsp; Nice way to get full versioning and I have it shared with a group of developers for collaboration/help if required.&lt;br /&gt;
&lt;br /&gt;
The book claims their BeerSong.java code will compile and run.&amp;nbsp; Taking nothing for granted I typed the code in and tried to compile it.&amp;nbsp; It compiled.&amp;nbsp; Well, it compiled after I changed "While" to "while."&amp;nbsp; I've been using M$ stuff too long ;)&lt;br /&gt;
&lt;br /&gt;
Now I had a BeerSong.class file, but it would not run.&amp;nbsp; My first error was this:&lt;br /&gt;
&lt;br /&gt;
&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;&lt;span style="font-size: small;"&gt;Exception in thread "main" java.lang.NoClassDefFoundError: BeerSong&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;
There were 2 issues.&amp;nbsp; I made the rookie mistake of trying to execute the code with:&lt;br /&gt;
&lt;br /&gt;
&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;java BeerSong.class&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;
As any old Java salt will be glad to point out, "You don't execute the .class file.&amp;nbsp; You execute the BeerSong bytecode and it will find the .class file!" &amp;nbsp;At least it's a common mistake ;)&lt;br /&gt;
&lt;br /&gt;
Mine still did not run.&amp;nbsp; *sigh*&amp;nbsp; Turns out I needed a CLASSPATH statement in my environment variables to tell Java where to find my .class files.&lt;br /&gt;
&lt;br /&gt;
That's easy enough, but this is ugly:&lt;br /&gt;
&lt;br /&gt;
&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;set CLASSPATH=C:\Users\bill.mote\Documents\My Dropbox\_AYDABTU.Development\PROJECT.target\BILL\HeadFirstJava\Chapter1&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;
Enter our old friend SUBST.&amp;nbsp; If you're an old timer you probably remember using that command back in the early 90's to point 1 drive to another.&amp;nbsp; You can also point a directory to a drive letter!&amp;nbsp; Try this:&lt;br /&gt;
&lt;br /&gt;
&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;subst b:\ "C:\Users\bill.mote\Documents\My Dropbox\_AYDABTU.Development\PROJECT.target\BILL\HeadFirstJava\Chapter1"&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;
Now you have a drive letter, B, mapped to your path.&amp;nbsp; Set your CLASSPATH ...&lt;br /&gt;
&lt;br /&gt;
&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;set CLASSPATH=b:\&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;
Now try to run java BeerSong.&amp;nbsp; Worky!&lt;br /&gt;
&lt;br /&gt;
Just for fun, here's the BeerSong code:&lt;br /&gt;
&lt;br /&gt;
&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;b&gt;public class BeerSong {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public static void main (String[] args) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; int beerNum = 99;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; String word = "bottles";&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; while (beerNum &amp;gt; 0) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; if (beerNum == 1) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; word = "bottle"; // singular, as in ONE bottle.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println(beerNum + " " + word + " of beer on the wall");&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println(beerNum + " " + word + " of beer.");&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println("Take one down.");&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println("Pass it around.");&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; beerNum = beerNum -1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; if (beerNum &amp;gt; 0) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println(beerNum + " " + word + " of beer on the wall\n");&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; } else {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println("No more bottles of beer on the wall");&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
}&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_BOqaHmdhJDs/S22TvUZFSqI/AAAAAAAADsc/qDLQ5atKIlY/s1600-h/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_BOqaHmdhJDs/S22TvUZFSqI/AAAAAAAADsc/qDLQ5atKIlY/s320/Capture.PNG" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;b style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;And, the output.&amp;nbsp; Notice the grammar problem in the output? :)&lt;/b&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1521730673051479113-2370373174775321853?l=thingsthatmakememadandhowtofixthem.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/RKERAwbp1x_V5RcoiewqdO5vKU0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RKERAwbp1x_V5RcoiewqdO5vKU0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/RKERAwbp1x_V5RcoiewqdO5vKU0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RKERAwbp1x_V5RcoiewqdO5vKU0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThingsThatMakeMeMadandHowToFixThem/~4/i17ACeFhQwA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/feeds/2370373174775321853/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/subst-java-and-beer.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/2370373174775321853?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/2370373174775321853?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThingsThatMakeMeMadandHowToFixThem/~3/i17ACeFhQwA/subst-java-and-beer.html" title="SUBST, Java and Beer ..." /><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S2hqX1FhH6I/AAAAAAAADqw/J1vTMam5aZA/S220/bmo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_BOqaHmdhJDs/S22TvUZFSqI/AAAAAAAADsc/qDLQ5atKIlY/s72-c/Capture.PNG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/subst-java-and-beer.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkABSHYyeyp7ImA9WxFRFUk.&quot;"><id>tag:blogger.com,1999:blog-1521730673051479113.post-3678505184183648134</id><published>2010-02-05T04:51:00.000-08:00</published><updated>2010-04-29T05:39:19.893-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-29T05:39:19.893-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS" /><category scheme="http://www.blogger.com/atom/ns#" term="WINDOWS" /><title>Microsoft's Really, Really Hidden Folders</title><content type="html">&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Did you know there are folders on your hard drive that Windows does not reveal even when you have all the settings set to reveal everything?&amp;nbsp; It's this kind of tom-foolery that infuriates me and keeps me in a job.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Did you know that when you tell IE to clear its cache it does not cleanup all the files?&amp;nbsp; Similarly, did you know that when you delete messages in Outlook Express and empty the deleted items that it does not delete those messages either?&amp;nbsp; Okay, not that anyone is using OE any more, but still ...&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;If we've identified a number of folders that M$ works hard to hide then are there others that we haven't found?&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Don't believe me?&amp;nbsp; Try it for yourself ...&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_BOqaHmdhJDs/S2wMKWQIjyI/AAAAAAAADsE/xH8dvXBndXU/s1600-h/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_BOqaHmdhJDs/S2wMKWQIjyI/AAAAAAAADsE/xH8dvXBndXU/s320/Capture.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: center;"&gt;&lt;b&gt;Look in your IE Internet Options to determine the location of your Temporary Internet Files.&amp;nbsp; Open that folder in Explorer.&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_BOqaHmdhJDs/S2wLwrqjYlI/AAAAAAAADr8/-iMCF8dtObs/s1600-h/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_BOqaHmdhJDs/S2wLwrqjYlI/AAAAAAAADr8/-iMCF8dtObs/s320/Capture.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: center;"&gt;&lt;b&gt;Do you see a "content.IE5" folder?&amp;nbsp; Me neither. &lt;/b&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_BOqaHmdhJDs/S2wJX1qo_PI/AAAAAAAADrs/mPseRsANAOk/s1600-h/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_BOqaHmdhJDs/S2wJX1qo_PI/AAAAAAAADrs/mPseRsANAOk/s320/Capture.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: center;"&gt;&lt;b&gt;Double check your settings.&amp;nbsp; I'm set to view everything ... &lt;/b&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_BOqaHmdhJDs/S2wJneERiYI/AAAAAAAADr0/14ah1VzxMEI/s1600-h/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_BOqaHmdhJDs/S2wJneERiYI/AAAAAAAADr0/14ah1VzxMEI/s320/Capture.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: center;"&gt;&lt;b&gt;Go back to explorer and add "\content.IE5" to your address bar.&amp;nbsp; Sure enough.&amp;nbsp; There's your cached data.&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_BOqaHmdhJDs/S2wNgB8J9jI/AAAAAAAADsM/plnp1c6HdEA/s1600-h/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_BOqaHmdhJDs/S2wNgB8J9jI/AAAAAAAADsM/plnp1c6HdEA/s320/Capture.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: center;"&gt;&lt;b&gt;Alrighty then.&amp;nbsp; Lets delete our cached data in IE.&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_BOqaHmdhJDs/S2wNtpX4rVI/AAAAAAAADsU/dUAJmTItaW8/s1600-h/Capture.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_BOqaHmdhJDs/S2wNtpX4rVI/AAAAAAAADsU/dUAJmTItaW8/s320/Capture.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: center;"&gt;&lt;b&gt;Finally, lets go look in one of those folders.&amp;nbsp; It's not a monolith, but it is full of files.&amp;nbsp; Nice.&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;I found this to be true as far back as Win98 and, unfortunately, I captured all these screens on my Windows 7 machine this morning.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1521730673051479113-3678505184183648134?l=thingsthatmakememadandhowtofixthem.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xLRI6NW6GR8QdfLfwdOhaAP_fE0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xLRI6NW6GR8QdfLfwdOhaAP_fE0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xLRI6NW6GR8QdfLfwdOhaAP_fE0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xLRI6NW6GR8QdfLfwdOhaAP_fE0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThingsThatMakeMeMadandHowToFixThem/~4/R5IPTTQwmN4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/feeds/3678505184183648134/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/microsofts-really-really-hidden-folders.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/3678505184183648134?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/3678505184183648134?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThingsThatMakeMeMadandHowToFixThem/~3/R5IPTTQwmN4/microsofts-really-really-hidden-folders.html" title="Microsoft's Really, Really Hidden Folders" /><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S2hqX1FhH6I/AAAAAAAADqw/J1vTMam5aZA/S220/bmo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_BOqaHmdhJDs/S2wMKWQIjyI/AAAAAAAADsE/xH8dvXBndXU/s72-c/Capture.PNG" height="72" width="72" /><thr:total>2</thr:total><feedburner:origLink>http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/microsofts-really-really-hidden-folders.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkEMRn4yfSp7ImA9WxFRFUk.&quot;"><id>tag:blogger.com,1999:blog-1521730673051479113.post-4770469367781018933</id><published>2010-02-04T05:08:00.000-08:00</published><updated>2010-04-29T05:38:07.095-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-29T05:38:07.095-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS" /><category scheme="http://www.blogger.com/atom/ns#" term="SQL" /><title>SQL Backup Compression &amp; File Cleanup</title><content type="html">&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;SerkTools did a nice job discussing how to compress SQL backups using GZIP so I won't cover that.&amp;nbsp; The article can be found &lt;a href="http://goo.gl/fKNL"&gt;here&lt;/a&gt;.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;The problem with compressing the backups in SQL 2005 and prior is that SQL doesn't know how to clean those files up.&amp;nbsp; There are other places in my environment that I need to do housekeeping so I have scripted a .vbs application that can be scheduled with the task scheduler.&amp;nbsp; My general rule of thumb is: any server, service, application or process must clean up after itself. &lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;Here's my code:&lt;/div&gt;&lt;br /&gt;
&lt;div style="background-color: yellow; color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;dim path, interval, duration, fso, folder, x, y&lt;br /&gt;
&lt;br /&gt;
path = "D:\MSSQL\Backup"&lt;br /&gt;
interval = "H"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
duration = 25 ' 25 is intentional due to an assumed rounding issue&lt;br /&gt;
&lt;br /&gt;
set fso = CreateObject("Scripting.FileSystemObject")&lt;br /&gt;
set folder = fso.GetFolder(path)&lt;br /&gt;
for each x in folder.SubFolders&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: yellow; color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for each y in x.Files&lt;br /&gt;
&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; if DateDiff(interval, y.DateLastModified, Now) &amp;gt;= duration and Weekday(Date) = 2 then y.delete&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' This file should run only on Monday.&amp;nbsp; If it is run any other day it will&lt;/span&gt;&lt;br style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; ' not delete any files.&amp;nbsp; This is by design.&amp;nbsp; --BMO&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; next&lt;/span&gt;&lt;br style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;next&lt;/span&gt;&lt;br style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;set y = nothing&lt;/span&gt;&lt;span style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;set x = nothing&lt;/span&gt;&lt;span style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;set folder = nothing&lt;/span&gt;&lt;span style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;set fso = nothing&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;I create weekly full backups early Monday morning.&amp;nbsp; I create differential backups every other day of the week and I capture transaction log backups throughout the day.&amp;nbsp; Prior to switching from daily fulls and compressing the backup jobs they consumed ~665 GB per week.&amp;nbsp; Now they consume only 29 GB (95+ % less space).&amp;nbsp; That's why I run my cleanup job only once per week.&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;I want the job run on Monday to ensure all my backups have had an opportunity to be written off-site and to tape.&amp;nbsp; There was nothing from stopping the job from being run on the wrong day so I added the bit of code that checks the day of the week.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_BOqaHmdhJDs/S2rHuFNFMwI/AAAAAAAADrk/s7lEEGQnRr4/s1600-h/sketch2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_BOqaHmdhJDs/S2rHuFNFMwI/AAAAAAAADrk/s7lEEGQnRr4/s320/sketch2.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1521730673051479113-4770469367781018933?l=thingsthatmakememadandhowtofixthem.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/k36k8iGCRP2vI3yJHyqekthqX7g/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/k36k8iGCRP2vI3yJHyqekthqX7g/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/k36k8iGCRP2vI3yJHyqekthqX7g/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/k36k8iGCRP2vI3yJHyqekthqX7g/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThingsThatMakeMeMadandHowToFixThem/~4/h5L7TiLIlaU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/feeds/4770469367781018933/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/sql-backup-compression-file-cleanup.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/4770469367781018933?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/4770469367781018933?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThingsThatMakeMeMadandHowToFixThem/~3/h5L7TiLIlaU/sql-backup-compression-file-cleanup.html" title="SQL Backup Compression &amp; File Cleanup" /><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S2hqX1FhH6I/AAAAAAAADqw/J1vTMam5aZA/S220/bmo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_BOqaHmdhJDs/S2rHuFNFMwI/AAAAAAAADrk/s7lEEGQnRr4/s72-c/sketch2.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/sql-backup-compression-file-cleanup.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkADQ384eip7ImA9WxFRFUk.&quot;"><id>tag:blogger.com,1999:blog-1521730673051479113.post-2238599981001341844</id><published>2010-02-04T04:34:00.000-08:00</published><updated>2010-04-29T05:39:32.132-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-29T05:39:32.132-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="DOS" /><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS" /><title>DOS and DATES</title><content type="html">&lt;span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"&gt;Have you ever needed a date at the command prompt but need it in a different format?  Sometimes the date a file was created or modified just isn't what you need.  SQL, for instance, names its files with yyyymmdd date format in the name.  Well, here's how to take a date and reformat it for use in your DOS batch files:&lt;/span&gt;&lt;br /&gt;
&lt;div style="font-family: inherit;"&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="MsoNormal" style="background-color: yellow; margin: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&lt;b&gt;&lt;span style="background-color: yellow;"&gt;FOR /F "TOKENS=1* DELIMS= " %%A IN ('DATE/T') DO SET CDATE=%%B&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background-color: yellow; margin: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;b&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;FOR /F "TOKENS=1,2 eol=/ DELIMS=/ " %%A IN ('DATE/T') DO SET mm=%%B&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background-color: yellow; margin: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;b&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;FOR /F "TOKENS=1,2 DELIMS=/ eol=/" %%A IN ('echo %CDATE%') DO SET dd=%%B&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background-color: yellow; margin: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;b&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;FOR /F "TOKENS=2,3 DELIMS=/ " %%A IN ('echo %CDATE%') DO SET yyyy=%%B&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background-color: yellow; margin: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;b&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;SET DATE=%yyyy%%mm%%dd%&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class="MsoNormal" style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: inherit;"&gt;Of course you can set the DATE environment variable we created in any format you need.&amp;nbsp; Here's a practical application to copy SQL's dated backup files to a DRP location: &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'Courier New'; font-size: 10pt;"&gt;&lt;span class="il"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;b&gt;&lt;span style="font-size: 10pt;"&gt;&lt;span class="il"&gt;robocopy&lt;/span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;\\Server1\SAN_DBData d:\nightlyBACKUPS *%DATE%*.BAK /s /r:0 /w:0 /nfl /ndl /np /log+:CopyNightlyDBBackups.LOG&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;a href="http://4.bp.blogspot.com/_BOqaHmdhJDs/S2q-1CQb4hI/AAAAAAAADrc/fmb5asobTUs/s1600-h/sketch.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/_BOqaHmdhJDs/S2q-1CQb4hI/AAAAAAAADrc/fmb5asobTUs/s320/sketch.jpg" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1521730673051479113-2238599981001341844?l=thingsthatmakememadandhowtofixthem.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/v6qBKVHYkmac1aa9Ahx30cE7F4w/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/v6qBKVHYkmac1aa9Ahx30cE7F4w/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/v6qBKVHYkmac1aa9Ahx30cE7F4w/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/v6qBKVHYkmac1aa9Ahx30cE7F4w/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThingsThatMakeMeMadandHowToFixThem/~4/fBD80wDZRzU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/feeds/2238599981001341844/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/dos-and-dates.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/2238599981001341844?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/2238599981001341844?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThingsThatMakeMeMadandHowToFixThem/~3/fBD80wDZRzU/dos-and-dates.html" title="DOS and DATES" /><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S2hqX1FhH6I/AAAAAAAADqw/J1vTMam5aZA/S220/bmo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_BOqaHmdhJDs/S2q-1CQb4hI/AAAAAAAADrc/fmb5asobTUs/s72-c/sketch.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/dos-and-dates.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkAARHo7eCp7ImA9WxFRFUk.&quot;"><id>tag:blogger.com,1999:blog-1521730673051479113.post-5542271486643974389</id><published>2010-02-03T05:48:00.000-08:00</published><updated>2010-04-29T05:39:05.400-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-29T05:39:05.400-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS" /><category scheme="http://www.blogger.com/atom/ns#" term="WINDOWS" /><title>Doing Things Remotely</title><content type="html">&lt;span style="font-size: small;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;Have you ever needed to move data from one remote server to another?&amp;nbsp; There's no reason to move the data to my machine as a broker to the other server, but that's exactly what happens when you execute a copy from one network share to another -- or from one UNC patch to another.&amp;nbsp; This problem is exasperated if the link between your machine and the servers is much slower.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;There are a number of tools available from Sys Internals that are fantastic.&amp;nbsp; I'll focus on "psexec" today.&amp;nbsp; All of the tools can be downloaded in 1 archive or executed live from &lt;a href="http://live.sysinternals.com/"&gt;http://live.sysinternals.com&lt;/a&gt;&lt;a href="http://sysinternals.live.com/"&gt;&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;What is psexec?&amp;nbsp; It's an application that allows me to remotely connect to another machine and execute a command or run a script.&amp;nbsp; Given the scenario above we can actually tell Server1 to initiate a copy to Server2 without putting our machine in the middle.&amp;nbsp; Since those 2 servers are connected via gigabit Ethernet it makes no sense to drag the files, in both directions, across a 10 mbit/sec WAN connection.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;Why not just RDP to one of the servers and execute the command locally?&amp;nbsp; Maybe the job is going to take longer than a couple of minutes due to size or quantity of data pieces that must be moved.&amp;nbsp; If you log out of the RDP session your copy is stopped.&amp;nbsp; Even if you close the RDP window that doesn't stop another admin from kicking you off.&amp;nbsp; Executing the remote action from my PC gives me more control of the process.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_BOqaHmdhJDs/S2njd87ytDI/AAAAAAAADrU/z0WG9bBizfs/s1600-h/Drawing.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_BOqaHmdhJDs/S2njd87ytDI/AAAAAAAADrU/z0WG9bBizfs/s320/Drawing.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;Let's get started ...&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;Create a folder to hold the files and add that folder to your system's PATH environment variable.&amp;nbsp; Do this for the server on which you wish to execute this tool as well.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;I'm a huge fan of robocopy.&amp;nbsp; We'll use examples that utilize it, but you could as easily do the same for xcopy.&amp;nbsp; If you're going to use robocopy make sure you put the .exe in a folder that is in the PATH environment variable as well.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;The syntax can be seen by executing psexec /? at a command prompt.&amp;nbsp; Here's an example of a copy from Server1 to Server 2.&amp;nbsp; We'll copy .bak files (for no particular reason):&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style="background-color: yellow; color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse;"&gt;&lt;span class="il"&gt;psexec&lt;/span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;\\Server1 robocopy c:\somepath \\Server2\c$\somepath *.bak /s /e /w:0 /r:0&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse;"&gt;You can specify different user permissions if necessary for the psexec command.&amp;nbsp; You do so by inserting &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="background-color: yellow; border-collapse: separate; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse;"&gt;-u {domain\}username&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse;"&gt; between \\Server1 and robocopy.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse;"&gt;Since this isn't a robocopy how-to lesson I won't go in to all the options available.&amp;nbsp; Suffice it to say that it's a very robust tool and worth your effort to download it and use it.&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: inherit;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse;"&gt;What else can be done?&amp;nbsp; Of course you can execute programs you drop on the system.&amp;nbsp; We've already demonstrated that.&amp;nbsp; You can also execute anything pre-existing on the system.&amp;nbsp; For instance, you could stop &amp;amp; start a service (or restart for that matter):&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse;"&gt;&lt;span class="il"&gt;psexec&lt;/span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;\\Server2 net stop SomeServiceName&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse;"&gt;&lt;span class="il"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse;"&gt;&lt;span class="il"&gt;psexec&lt;/span&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;\\Server2 net start SomeServiceName&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: yellow;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: yellow;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: yellow;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: yellow;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: yellow;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: yellow;"&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial,sans-serif;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;If you've thought of a different use please share!&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1521730673051479113-5542271486643974389?l=thingsthatmakememadandhowtofixthem.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/_HmHisHIKWQ20kr7RXbHJwg8wp4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_HmHisHIKWQ20kr7RXbHJwg8wp4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/_HmHisHIKWQ20kr7RXbHJwg8wp4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_HmHisHIKWQ20kr7RXbHJwg8wp4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThingsThatMakeMeMadandHowToFixThem/~4/NaiSYQbss-I" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/feeds/5542271486643974389/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/doing-things-remotely.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/5542271486643974389?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/5542271486643974389?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThingsThatMakeMeMadandHowToFixThem/~3/NaiSYQbss-I/doing-things-remotely.html" title="Doing Things Remotely" /><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S2hqX1FhH6I/AAAAAAAADqw/J1vTMam5aZA/S220/bmo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_BOqaHmdhJDs/S2njd87ytDI/AAAAAAAADrU/z0WG9bBizfs/s72-c/Drawing.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/doing-things-remotely.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkAHQH8zcSp7ImA9WxFRFUk.&quot;"><id>tag:blogger.com,1999:blog-1521730673051479113.post-723784064859863219</id><published>2010-02-02T10:01:00.000-08:00</published><updated>2010-04-29T05:38:51.189-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-29T05:38:51.189-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="DOS" /><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS" /><category scheme="http://www.blogger.com/atom/ns#" term="NETWORKING" /><title>Stupid Ping Tricks</title><content type="html">&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;Is there a way to tell if a server is up with a&lt;span class="Apple-converted-space"&gt; &lt;/span&gt;&lt;span class="il"&gt;DOS&lt;/span&gt;&lt;span class="Apple-converted-space"&gt; &lt;/span&gt;bat file?  Yes!  I've used this to wait for a network resource to become available before continuing a script.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: 'courier new',monospace;"&gt;&lt;span style="background-color: #cccccc;"&gt;&lt;span style="font-weight: bold;"&gt;:&lt;span class="il"&gt;PING&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: 'courier new',monospace;"&gt;&lt;span style="background-color: #cccccc;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span class="il"&gt;ping&lt;/span&gt;&lt;span class="Apple-converted-space"&gt; &lt;/span&gt;-n 1 -w 50 192.168.11.1 &amp;gt; nul&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-size: 11pt;"&gt;&lt;span style="font-family: 'courier new',monospace;"&gt;&lt;span style="background-color: #cccccc;"&gt;&lt;span style="font-weight: bold;"&gt;if errorlevel 1 goto&lt;span class="Apple-converted-space"&gt; &lt;/span&gt;&lt;span class="il"&gt;PING&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new',monospace;"&gt;&lt;span style="background-color: #cccccc;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: Calibri; font-size: 15px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: Calibri; font-size: 15px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: Calibri; font-size: 15px;"&gt;Is there a way to tell if a server is up with a .vbs file?  Yes!  I'm using a modified version of this to return a 1 or a 0 for MRTG trending.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: Calibri; font-size: 15px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: Calibri; font-size: 15px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: 'courier new',monospace;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="background-color: #cccccc;"&gt;On Error Resume Next&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: 'courier new',monospace;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="background-color: #cccccc;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: 'courier new',monospace;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="background-color: #cccccc;"&gt;strTarget = "10.123.30.12" 'IP address or hostname&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: 'courier new',monospace;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="background-color: #cccccc;"&gt;Set objShell = CreateObject("WScript.Shell")&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: 'courier new',monospace;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="background-color: #cccccc;"&gt;Set objExec = objShell.Exec("&lt;span class="il"&gt;ping&lt;/span&gt;&lt;span class="Apple-converted-space"&gt; &lt;/span&gt;-n 1 -w 50 " &amp;amp; strTarget)&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: 'courier new',monospace;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="background-color: #cccccc;"&gt;strPingResults = LCase(objExec.StdOut.ReadAll)&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: 'courier new',monospace;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="background-color: #cccccc;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: Calibri; font-size: 15px;"&gt;&lt;span style="white-space: pre;"&gt;&lt;span style="font-family: 'courier new',monospace;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="background-color: #cccccc;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: 'courier new',monospace;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="background-color: #cccccc;"&gt;'WScript.Echo strPingResults&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: 'courier new',monospace;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="background-color: #cccccc;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: 'courier new',monospace;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="background-color: #cccccc;"&gt;if err.number &amp;gt; 0 then&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: 'courier new'; font-size: 12px; font-weight: bold;"&gt;  WScript.Echo "ERROR"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: 'courier new',monospace;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="background-color: #cccccc;"&gt;End If&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: 'courier new',monospace;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="background-color: #cccccc;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: 'courier new',monospace;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="background-color: #cccccc;"&gt;If InStr(strPingResults, "reply from " &amp;amp; strTarget) Then&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: 'courier new',monospace;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="background-color: #cccccc;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: 'courier new',monospace;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="background-color: #cccccc;"&gt;  WScript.Echo strTarget &amp;amp; " responded to&lt;span class="Apple-converted-space"&gt; &lt;/span&gt;&lt;span class="il"&gt;ping&lt;/span&gt;."&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: 'courier new',monospace;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="background-color: #cccccc;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: 'courier new',monospace;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="background-color: #cccccc;"&gt;Else&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: 'courier new',monospace;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="background-color: #cccccc;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: 'courier new',monospace;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="background-color: #cccccc;"&gt;  WScript.Echo strTarget &amp;amp; " did not respond to&lt;span class="Apple-converted-space"&gt; &lt;/span&gt;&lt;span class="il"&gt;ping&lt;/span&gt;."&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: 'courier new',monospace;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="background-color: #cccccc;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: 'courier new',monospace;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="background-color: #cccccc;"&gt;End If&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;span style="font-family: Calibri; font-size: 15px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: Calibri; font-size: 15px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1521730673051479113-723784064859863219?l=thingsthatmakememadandhowtofixthem.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/d9vY_-zosLDtwOOB4plWx4-ejSw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/d9vY_-zosLDtwOOB4plWx4-ejSw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/d9vY_-zosLDtwOOB4plWx4-ejSw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/d9vY_-zosLDtwOOB4plWx4-ejSw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/ThingsThatMakeMeMadandHowToFixThem/~4/tFu3NPCb2Qw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/feeds/723784064859863219/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/stupid-ping-tricks.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/723784064859863219?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/1521730673051479113/posts/default/723784064859863219?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/ThingsThatMakeMeMadandHowToFixThem/~3/tFu3NPCb2Qw/stupid-ping-tricks.html" title="Stupid Ping Tricks" /><author><name>Bill Mote</name><uri>http://www.blogger.com/profile/16665002727361413122</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://3.bp.blogspot.com/_BOqaHmdhJDs/S2hqX1FhH6I/AAAAAAAADqw/J1vTMam5aZA/S220/bmo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/stupid-ping-tricks.html</feedburner:origLink></entry></feed>

