<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1521730673051479113</id><updated>2024-10-04T12:53:03.442-07:00</updated><category term="TIPS n TRICKS"/><category term="WINDOWS"/><category term="HOW-TO"/><category term="DEVELOPMENT"/><category term="DOS"/><category term="LINUX"/><category term="NETWORKING"/><category term="ANDROID"/><category term="DNS"/><category term="SQL"/><title type='text'>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&#39;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='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1521730673051479113/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://thingsthatmakememadandhowtofixthem.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.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'/><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='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></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><entry><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><title type='text'>Encapsulating (aka Hiding) Files Inside an Image</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&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&#39;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=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;The picture below has some Eclipse theme files embedded in it. &amp;nbsp;There&#39;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&#39;s only then that you&#39;ll see the compressed files contained within.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&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=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi55ra03GJY3sXbjNL8puHRlu7P5XDCM3DD8wcThJXJRzhu4Me3Xrr1Vs4yLv4ModHzhpcWSf-AiKhEKRZh6xc1fwasSL2Vy5bVIlJCx5A3P6GfeF9pSbtnFoiucUUksI9OBX0agdeh7Yk/s1600/HiddenThemeFiles.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;124&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi55ra03GJY3sXbjNL8puHRlu7P5XDCM3DD8wcThJXJRzhu4Me3Xrr1Vs4yLv4ModHzhpcWSf-AiKhEKRZh6xc1fwasSL2Vy5bVIlJCx5A3P6GfeF9pSbtnFoiucUUksI9OBX0agdeh7Yk/s320/HiddenThemeFiles.jpg&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&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=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow; font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;b&gt;copy /B some.jpg + archive.zip new.jpg&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;The /B tells it to do a binary copy. &amp;nbsp;This will not work without it. &amp;nbsp;You&#39;ll end up with &quot;new.jpg&quot; that contains your compressed files. &amp;nbsp;Easy-peasy!&lt;/span&gt;&lt;/div&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'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1521730673051479113/posts/default/7529851140429249330'/><link rel='alternate' type='text/html' href='http://thingsthatmakememadandhowtofixthem.blogspot.com/2011/01/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='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi55ra03GJY3sXbjNL8puHRlu7P5XDCM3DD8wcThJXJRzhu4Me3Xrr1Vs4yLv4ModHzhpcWSf-AiKhEKRZh6xc1fwasSL2Vy5bVIlJCx5A3P6GfeF9pSbtnFoiucUUksI9OBX0agdeh7Yk/s72-c/HiddenThemeFiles.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><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><title type='text'>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&#39;re given Linux servers that do not have X Windows installed on them. &amp;nbsp;&amp;gt; 99% of the time that&#39;s fine. &amp;nbsp;We have 1 product, however, that MUST be installed from a GUI even though it&#39;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&#39;ve narrowed that installation down to these packages:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&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&#39;s a RHEL 5.5 machine. &amp;nbsp;Again, that&#39;s what I&#39;ve got to work with. &amp;nbsp;Anyway, here&#39;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 &#39;telinit 5&#39; to make sure you&#39;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&#39;re good!&lt;br /&gt;
&lt;br /&gt;
And that&#39;s that. &amp;nbsp;The machine works perfectly and has only the bare minimum to get X up and running.</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'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1521730673051479113/posts/default/2098971976081829278'/><link rel='alternate' type='text/html' href='http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/10/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='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><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><title type='text'>Blogging about the obvious: Delicious and Google Docs</title><content type='html'>I&#39;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&#39;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&#39;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&#39;d heard of del.ico.us I really had no idea what the whole thing was about and couldn&#39;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&#39;m head over heals for delicious! &amp;nbsp;It&#39;s almost perfect and significantly better than Google&#39;s own offering. &amp;nbsp;That&#39;s saying something because I&#39;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&#39;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&#39;ve found most recently is it&#39;s a great cloud notepad tool. &amp;nbsp;There are always things I want to document for future reference but I don&#39;t want those documents tied to any particular machine and I definitely don&#39;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&#39;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&#39;m currently using.</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'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1521730673051479113/posts/default/4278181120786948294'/><link rel='alternate' type='text/html' href='http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/06/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='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><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><category scheme="http://www.blogger.com/atom/ns#" term="DEVELOPMENT"/><title type='text'>Dark Themes for Eclipse</title><content type='html'>&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;If you&#39;ve been following along you&#39;ll know that I&#39;m dipping my toes in the Android development waters.&amp;nbsp; My buddy Greg aka &lt;a href=&quot;http://androidcodemonkey.blogspot.com/&quot;&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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;If you&#39;ve done any development at all you&#39;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=&quot;http://stackoverflow.com/questions/96981/color-themes-for-eclipse&quot;&gt;THIS&lt;/a&gt; post which covers how-to apply ready-made color themes.&amp;nbsp; I&#39;ll keep it simple for you here ... download &lt;a href=&quot;http://dc98.2shared.com/download/7073148/25af5556/eclipse-themes.zip?tsid=20100426-141820-180964b4&quot;&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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;WINDOWS: [workspace]\.metadata\.plugins\org.eclipse.core.runtime\.settings\&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;LINUX/MAC: [workspace]/.metadata/.plugins/org.eclipse.core.runtime/.settings/&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqYgKbY7JsXHFSajtr-6BK4wHH9cqi2zVGju1CjXITJXtby7wImjgcTswzsFEWNtNuKt9KQ0NEo9P82An5aAHElCjAnDt6MBrHZOp692p_cOYiCo-rFGrtgXMbLbOcPJG_GRA5H3cVLZo/s1600/zenburn.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqYgKbY7JsXHFSajtr-6BK4wHH9cqi2zVGju1CjXITJXtby7wImjgcTswzsFEWNtNuKt9KQ0NEo9P82An5aAHElCjAnDt6MBrHZOp692p_cOYiCo-rFGrtgXMbLbOcPJG_GRA5H3cVLZo/s320/zenburn.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi55ra03GJY3sXbjNL8puHRlu7P5XDCM3DD8wcThJXJRzhu4Me3Xrr1Vs4yLv4ModHzhpcWSf-AiKhEKRZh6xc1fwasSL2Vy5bVIlJCx5A3P6GfeF9pSbtnFoiucUUksI9OBX0agdeh7Yk/s1600/HiddenThemeFiles.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;124&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi55ra03GJY3sXbjNL8puHRlu7P5XDCM3DD8wcThJXJRzhu4Me3Xrr1Vs4yLv4ModHzhpcWSf-AiKhEKRZh6xc1fwasSL2Vy5bVIlJCx5A3P6GfeF9pSbtnFoiucUUksI9OBX0agdeh7Yk/s320/HiddenThemeFiles.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
The download link for the themes no longer works. &amp;nbsp;So, I&#39;ve encapsulated the original .zip archive inside the &quot;Theme Files Hidden Inside&quot; image above. &amp;nbsp;Simply save it and open it with your favorite compression tool.&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&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'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1521730673051479113/posts/default/3792494549155326710'/><link rel='alternate' type='text/html' href='http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/04/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='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqYgKbY7JsXHFSajtr-6BK4wHH9cqi2zVGju1CjXITJXtby7wImjgcTswzsFEWNtNuKt9KQ0NEo9P82An5aAHElCjAnDt6MBrHZOp692p_cOYiCo-rFGrtgXMbLbOcPJG_GRA5H3cVLZo/s72-c/zenburn.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><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><category scheme="http://www.blogger.com/atom/ns#" term="DEVELOPMENT"/><category scheme="http://www.blogger.com/atom/ns#" term="DNS"/><category scheme="http://www.blogger.com/atom/ns#" term="NETWORKING"/><title type='text'>Enabling Local Development</title><content type='html'>&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Sometimes you&#39;ve got to take a step back from what you know and think.&amp;nbsp; We&#39;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&#39;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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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&#39;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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;That&#39;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&#39; 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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYwL6c2FN6bCGmVzOJlhES-oXHxUoQ5ad7WcX-TfY0eI5a9_3MMiBSpcEwtLoXw2w0wbX4i1c5pNMVkAVQhYRIiUc2KWPFnesYs-dYTgr5-ogeU5EtpjlPKxxz11wma_soNz1lmg6TgPU/s1600/Bill4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYwL6c2FN6bCGmVzOJlhES-oXHxUoQ5ad7WcX-TfY0eI5a9_3MMiBSpcEwtLoXw2w0wbX4i1c5pNMVkAVQhYRIiUc2KWPFnesYs-dYTgr5-ogeU5EtpjlPKxxz11wma_soNz1lmg6TgPU/s320/Bill4.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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;</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'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1521730673051479113/posts/default/3356445688311211537'/><link rel='alternate' type='text/html' href='http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/04/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='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYwL6c2FN6bCGmVzOJlhES-oXHxUoQ5ad7WcX-TfY0eI5a9_3MMiBSpcEwtLoXw2w0wbX4i1c5pNMVkAVQhYRIiUc2KWPFnesYs-dYTgr5-ogeU5EtpjlPKxxz11wma_soNz1lmg6TgPU/s72-c/Bill4.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><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><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS"/><title type='text'>Beating Microsoft&#39;s Xbox Live Payment System</title><content type='html'>&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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&#39;t always keep up with it.&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Have you ever used &lt;a href=&quot;https://billing.microsoft.com/home.aspx&quot;&gt;https://billing.microsoft.com/home.aspx&lt;/a&gt;?&amp;nbsp; It&#39;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&#39;re pretty much screwed unless they fear the HAMMER (visualize my clenched fist raised in the air).&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;I, however, have found a work around!&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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&#39;s sake make it a 1-time use card.&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Now delete your &quot;real&quot; credit card from the account.&amp;nbsp; Add your 12+1 Xbox Live card if that&#39;s what you came to do and then jump over to PayPal&#39;s site and void the new card.&amp;nbsp; Now your kids have 13 months of Xbox Live but there&#39;s no valid card on file so they can&#39;t purchase anything new without your help.&amp;nbsp; You also won&#39;t be automatically charged $7.99/mo in 14 months ;)&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;I&#39;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&#39;s really no need for a valid card on file.&amp;nbsp; You&#39;d think they&#39;d give parents tighter control, but face it; there&#39;s no upside in them fixing it.&amp;nbsp; They want your kids to buy stuff :)&lt;/div&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'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1521730673051479113/posts/default/5874044500866813422'/><link rel='alternate' type='text/html' href='http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/04/beating-microsofts-xbox-live-payment.html' title='Beating Microsoft&#39;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='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><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><category scheme="http://www.blogger.com/atom/ns#" term="HOW-TO"/><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS"/><title type='text'>Printers and Microsoft&#39;s TCP/IP Port Monitoring</title><content type='html'>&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;I found it.&amp;nbsp; This article has a lot of detail, but it does not discuss the impact(s) of turning &quot;SNMP Status Enabled&quot; off.&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;a href=&quot;http://technet.microsoft.com/en-us/library/bb457109.aspx&quot;&gt;http://technet.microsoft.com/en-us/library/bb457109.aspx&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Open your printer properties, select the port and click &quot;Configure Port.&quot;&amp;nbsp; This is the check box of which I speak:&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: Arial,Helvetica,sans-serif; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: Arial,Helvetica,sans-serif; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: Arial,Helvetica,sans-serif; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhF4VrMLX2mpd4HbbyxTHrqW_q-400dWUKerQ7zyMYai8nSw06X5qPq4GDtOwKIYL5Eh9uCbfVHJgtkh0Pn4KPq80_qCSNjTcWr6CZ9wHnnbchOOQoH1AuQ-4LYoYhJu1auhGrpY8V5xHg/s1600/Capture5.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhF4VrMLX2mpd4HbbyxTHrqW_q-400dWUKerQ7zyMYai8nSw06X5qPq4GDtOwKIYL5Eh9uCbfVHJgtkh0Pn4KPq80_qCSNjTcWr6CZ9wHnnbchOOQoH1AuQ-4LYoYhJu1auhGrpY8V5xHg/s320/Capture5.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Now I&#39;ve got some testing to do ...&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
Based on the data in this &lt;a href=&quot;http://support.microsoft.com/kb/946198&quot;&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&#39;m sure, but that&#39;s one less interrupt every 70 seconds on my PC ;)&amp;nbsp; I print once every 2 weeks or so.&amp;nbsp; I wasn&#39;t getting much return on my investment.&amp;nbsp; LOL&lt;/div&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'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1521730673051479113/posts/default/5856206210604907481'/><link rel='alternate' type='text/html' href='http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/04/printers-and-microsofts-tcpip-port.html' title='Printers and Microsoft&#39;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='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhF4VrMLX2mpd4HbbyxTHrqW_q-400dWUKerQ7zyMYai8nSw06X5qPq4GDtOwKIYL5Eh9uCbfVHJgtkh0Pn4KPq80_qCSNjTcWr6CZ9wHnnbchOOQoH1AuQ-4LYoYhJu1auhGrpY8V5xHg/s72-c/Capture5.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><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><category scheme="http://www.blogger.com/atom/ns#" term="HOW-TO"/><category scheme="http://www.blogger.com/atom/ns#" term="NETWORKING"/><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS"/><title type='text'>My PC is chatty (snmp-read)</title><content type='html'>&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;I&#39;ve been on a firewall monitoring kick lately and I&#39;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&#39;m that guy.&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;So, how do you go about running that down?&amp;nbsp; Use the firewall to your advantage.&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;The firewall will tell you not only what IP address and port you&#39;re trying to talk to, but it will also tell you what port you&#39;re talking from on your PC.&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYChtJo6oLCfAR7aDY776zqQXVX2vbtpNz2vYqDFmkuOcT6Et-XttNTWlpZvgKZbKXmVD-G9yBGZkeaWzJFOxvg4-IgcInWm-GLiXBzIkGPg9n_N8xEtxiYED2veDfPZtWih0s-vJVmP8/s1600/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;278&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYChtJo6oLCfAR7aDY776zqQXVX2vbtpNz2vYqDFmkuOcT6Et-XttNTWlpZvgKZbKXmVD-G9yBGZkeaWzJFOxvg4-IgcInWm-GLiXBzIkGPg9n_N8xEtxiYED2veDfPZtWih0s-vJVmP8/s320/Capture.PNG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs0MSj2kKg0bhwl2PpihwkwkKcrkjRzpdtXBQc2qds7L660XnLkXAOenhnMt275cwPOL9VB3vkEW6OpXnxIqW3TUsa126EAmr1SDqblCF8TeOjzCQoOiQIkWiBeihMTDKdT8A66sAqH4w/s1600/Capture2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs0MSj2kKg0bhwl2PpihwkwkKcrkjRzpdtXBQc2qds7L660XnLkXAOenhnMt275cwPOL9VB3vkEW6OpXnxIqW3TUsa126EAmr1SDqblCF8TeOjzCQoOiQIkWiBeihMTDKdT8A66sAqH4w/s320/Capture2.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCGuTtk_2XQCH1GwH2yAovRkHc_XCGYDPEfDTEw9ApifNjlz3z2BO1yulSDYzu0Zs634iUIQUv4HjndWPk6jCPnk5AoHlu-6PJzywMYeFWwrX_g0JWzg1iX5ku4w-7GzkoIeoNrVVbxNQ/s1600/Capture3.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCGuTtk_2XQCH1GwH2yAovRkHc_XCGYDPEfDTEw9ApifNjlz3z2BO1yulSDYzu0Zs634iUIQUv4HjndWPk6jCPnk5AoHlu-6PJzywMYeFWwrX_g0JWzg1iX5ku4w-7GzkoIeoNrVVbxNQ/s320/Capture3.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;The print spooler ... dang it!&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8ZlhbF5riNm25S84QTLlnG7Mz28HWIbhG8jc1C83nuH1j9svCoaDjln47fxlWlrhWCp6anIlDFvdAc3vG2FnL2PAislukFTKJy6K0NATCBZU1tyQl4-U52uYGKr2Lt1W-C9BhlsE9u5M/s1600/Capture4.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8ZlhbF5riNm25S84QTLlnG7Mz28HWIbhG8jc1C83nuH1j9svCoaDjln47fxlWlrhWCp6anIlDFvdAc3vG2FnL2PAislukFTKJy6K0NATCBZU1tyQl4-U52uYGKr2Lt1W-C9BhlsE9u5M/s320/Capture4.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;And, there you have it.&amp;nbsp; My girlfriend&#39;s printer.&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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&#39;t we just talk to the printer when we try to use it.&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;And people wonder why are PCs run so slowly ... sheesh.&lt;/div&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'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1521730673051479113/posts/default/6974886876778113861'/><link rel='alternate' type='text/html' href='http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/04/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='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYChtJo6oLCfAR7aDY776zqQXVX2vbtpNz2vYqDFmkuOcT6Et-XttNTWlpZvgKZbKXmVD-G9yBGZkeaWzJFOxvg4-IgcInWm-GLiXBzIkGPg9n_N8xEtxiYED2veDfPZtWih0s-vJVmP8/s72-c/Capture.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><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><title type='text'>1st Rule of Data-Comm ... Always Check the Connection</title><content type='html'>&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Everyone I&#39;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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;1. As simple as it sounds ... check the connection first&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;2. When it&#39;s not the connection check permissions ;)&lt;/div&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'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1521730673051479113/posts/default/326282493258365567'/><link rel='alternate' type='text/html' href='http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/04/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='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><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><category scheme="http://www.blogger.com/atom/ns#" term="HOW-TO"/><category scheme="http://www.blogger.com/atom/ns#" term="LINUX"/><title type='text'>Nokia IP330 Smoothwall Express 3.0 in practice</title><content type='html'>&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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&#39;t ask for a better solution ... and it&#39;s free -- double bonus.&lt;/span&gt;&amp;nbsp;</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'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1521730673051479113/posts/default/3301311938962766153'/><link rel='alternate' type='text/html' href='http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/04/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='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><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><category scheme="http://www.blogger.com/atom/ns#" term="HOW-TO"/><category scheme="http://www.blogger.com/atom/ns#" term="LINUX"/><title type='text'>Building a Firewall Appliance</title><content type='html'>&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Many years ago there was a post that stated you could take a&lt;a href=&quot;http://goo.gl/HXj5&quot;&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&#39;s been sitting in an unopened box ever since.&amp;nbsp; That&#39;s not a huge deal as it only cost me $50 and I didn&#39;t have any practical application for a real firewall.&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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&#39;s cache!&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;The process, simplified, goes like this:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;INITIAL INSTALLATION &lt;/span&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Download and burn Smoothwall Linux 3.0 SP1 (as of today).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Remove the HDD from the Nokia IP330&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Boot/Install&lt;/span&gt;&lt;/li&gt;

&lt;ol&gt;&lt;li&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Take the defaults until you&#39;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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;You&#39;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&#39;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&#39;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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;MAKING THE EDITS&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Because of the hard reset in the middle of the process I did not get to setup any passwords.&amp;nbsp; When you&#39;re prompted to login do so with &#39;root&#39; and no password.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Set the CONFIG_TYPE to 3 in /var/smoothwall/ethernet/settings&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Configure each of your GREEN, ORANGE and RED settings to match this:&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;GREEN_DEV=eth0&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;ORANGE_DEV=eth1&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;RED_DEV=eth2&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
[GREEN|ORANGE|RED]_DRIVER=eepro100&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;[GREEN|ORANGE|RED]_&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;DRIVER_OPTIONS=&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;[GREEN|ORANGE|RED]_&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;DISPLAYDRIVER=eepro100&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
GREEN_ADDRESS=10.123.99.254&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;GREEN_NETMASK=255.255.255.0&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;GREEN_NETADDRESS=10.123.99.0&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;GREEN_BROADCAST=10.123.99.255&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
ORANGE_ADDRESS=10.123.100.254&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;ORANGE_NETMASK=255.255.255.0&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;ORANGE_NETADDRESS=10.123.100.0&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;ORANGE_BROADCAST=10.123.100.255&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;
RED_DHCP_HOSTNAME=smoothwall&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;RED_ADDRESS=0.0.0.0&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;RED_NETMASK=0.0.0.0&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;RED_TYPE=DHCP&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;RED_NETADDRESS=0.0.0.0&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;RED_BROADCAST=255.255.255.255&lt;/span&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;forNIC in 0 1 2 3; do&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;some code=&quot;&quot;&gt;&lt;/some&gt;&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;done&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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&#39;s IPSO installed so I was able to capture my real MAC addresses:&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;ifconfig eth0 hw ether 00:a0:8e:e:50:78&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;ifconfig eth1 hw ether 00:a0:8e:e:50:7c&lt;/span&gt;&lt;br style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;ifconfig eth2 hw ether 00:a0:8e:e:50:80&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;1:2345:respawn:/sbin/agetty -h ttyS0 9600 vt100&lt;/span&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;li style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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&#39;ll need to be console connected to the device so you can run &quot;setup&quot; 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&#39;s Green IP address on port 81!&amp;nbsp; Login with admin and the password you entered during &quot;setup.&quot;&lt;br /&gt;
&lt;br /&gt;
http://10.123.99.254:81</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'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1521730673051479113/posts/default/8603769288563231996'/><link rel='alternate' type='text/html' href='http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/03/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='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><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><category scheme="http://www.blogger.com/atom/ns#" term="DOS"/><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS"/><title type='text'>Keeping Track of Files</title><content type='html'>&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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&#39;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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Here&#39;s the code ...&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;@echo off&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;cls&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;echo *****************************************************************&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&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=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&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=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;echo *****************************************************************&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;echo .&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;:PCUPDATE&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;IF EXIST &quot;c:\patches\NULL&quot; GOTO :HOSTSNT&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;cd c:\&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;mkdir PATCHES&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;cd c:\patches&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;dir &amp;gt; NULL&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;:HOSTSNT&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;IF EXIST &quot;c:\patches\hosts.20070430&quot; GOTO END&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;echo Updating Hosts file&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;cd %SYSTEMROOT%\system32\drivers\etc&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;copy hosts hosts.old /Y&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&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=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;echo Done.&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;:END&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;We create the directory if it doesn&#39;t exist as previously discussed.&amp;nbsp; Then we look for a hosts file revisioned 20070430 (yyyymmdd).&amp;nbsp; If the file doesn&#39;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;</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'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1521730673051479113/posts/default/8778856420303261319'/><link rel='alternate' type='text/html' href='http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/03/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='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><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><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS"/><category scheme="http://www.blogger.com/atom/ns#" term="WINDOWS"/><title type='text'>Hiding the Executioner Follow Up</title><content type='html'>&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;I noticed that one of my kids&#39; PCs was on in the morning.&amp;nbsp; It&#39;s usually at a WoW login screen so I decided to double check my shutdown settings.&amp;nbsp; I found a missing &quot;/f&quot; to force the shutdown.&amp;nbsp; All corrected.&amp;nbsp; It also occurred to me that Windows 7 didn&#39;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&#39;s a sample registry file:&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;b&gt;&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Windows Registry Editor Version 5.00&lt;/span&gt;&lt;br style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;br style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;[HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Winlogon \ SpecialAccounts \ UserList]&lt;/span&gt;&lt;br style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&quot;executioner&quot;=dword:00000000 &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Just make sure you change &quot;executioner&quot; 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 &quot; \ &quot; with &quot;\&quot;.&lt;/span&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'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1521730673051479113/posts/default/6647980401416519309'/><link rel='alternate' type='text/html' href='http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/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='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><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><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS"/><category scheme="http://www.blogger.com/atom/ns#" term="WINDOWS"/><title type='text'>Hiding The Executioner (job.user)</title><content type='html'>&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;It&#39;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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;You need to modify the registry.&amp;nbsp; Run regedit and navigate to the following Key:&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;0     – Hides the user just from the welcome screen&lt;br /&gt;
1     – The  user is shown&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;/div&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'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1521730673051479113/posts/default/1917992391798137658'/><link rel='alternate' type='text/html' href='http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/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='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><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><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS"/><category scheme="http://www.blogger.com/atom/ns#" term="WINDOWS"/><title type='text'>What&#39;s Greener Than S3?  Shutdown.</title><content type='html'>&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;I have a friend that started a Facebook group called, &quot;Green is just a color.&quot;&amp;nbsp; This isn&#39;t a political blog so I won&#39;t venture into Al Gore&#39;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&#39;m not so concerned about the Alaskan caribou and if you&#39;re a tree-huggin&#39; 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&#39;s a joke.&amp;nbsp; Settle down Cameron Diaz.&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Many years ago I got divorced.&amp;nbsp; Now, what I&#39;m about to tell you is not my ex&#39;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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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&#39;t rely on your kids to turn things off when they&#39;re done and as I&#39;ve previously noted with my To Do list we&#39;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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;I have a scheduled shutdown of my PC that runs every day!&amp;nbsp; It&#39;s not just a brute force, turn everything off by God!&amp;nbsp; I&#39;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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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&#39;s just a fail safe.&amp;nbsp; You&#39;ll see why.&amp;nbsp; The /f forces the shutdown.&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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&#39;re going to start the job at 9:00 PM, but we&#39;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&#39;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&#39;t have to make exceptions for President&#39;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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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 &quot;inactivity&quot; means human activity (interactivity).&amp;nbsp; Windows Update can run and finish before 10 and your PC can still shutdown.&lt;/div&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'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1521730673051479113/posts/default/257454978441593672'/><link rel='alternate' type='text/html' href='http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/whats-greener-than-s3-shutdown.html' title='What&#39;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='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><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><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS"/><category scheme="http://www.blogger.com/atom/ns#" term="WINDOWS"/><title type='text'>Automating Maintenance</title><content type='html'>&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Now that we have our job user, what else can we do?&amp;nbsp; How many times do you hear, &quot;Hey, my PC is running really slow.&amp;nbsp; Can you look at it?&quot;&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&#39;t been run since the day the machine was purchased you decide it&#39;s also prudent to do a chkdsk.&amp;nbsp; For the life of me I can&#39;t understand why these things aren&#39;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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Most of the PCs I support are still running Windows XP.&amp;nbsp; Try as I may people just don&#39;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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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&#39;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&#39;ll have to modify the command to include C: and -f (C-drive and force the defrag.)&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;i&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;c:\windows\system32\defrag.exe C: /f&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&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=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;i&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;I typically use Sat &amp;amp; Sun in my schedules because the systems can be off through the week depending on kids&#39; functions, happy hour, etc. :P&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Why early evening and weekend mornings?&amp;nbsp; In my next blog post, &quot;What&#39;s Greener Than S3?&quot; you&#39;ll find out.&amp;nbsp; Until then suffice it to say it&#39;s a good choice.&amp;nbsp; Of course, that&#39;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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Tip: I have even scheduled the defrags of our servers disks in the middle of the night.&amp;nbsp; Servers need luvin&#39; too ...&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdVrkWJEXq7tXHJNHfrh3BnjH1FaGEs4DCehsbhlguSu3GxbxRN7eq86GMByjwt5cENVM3cRtRgpJ-tf_GfrMO8dcLhpzdtQ0NH3Rxtpl7GyGwRoDsx-CKcbSWHguxxCMCLJzT4GNu8uU/s1600-h/Picture2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdVrkWJEXq7tXHJNHfrh3BnjH1FaGEs4DCehsbhlguSu3GxbxRN7eq86GMByjwt5cENVM3cRtRgpJ-tf_GfrMO8dcLhpzdtQ0NH3Rxtpl7GyGwRoDsx-CKcbSWHguxxCMCLJzT4GNu8uU/s320/Picture2.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&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'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1521730673051479113/posts/default/6919122568683676761'/><link rel='alternate' type='text/html' href='http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/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='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdVrkWJEXq7tXHJNHfrh3BnjH1FaGEs4DCehsbhlguSu3GxbxRN7eq86GMByjwt5cENVM3cRtRgpJ-tf_GfrMO8dcLhpzdtQ0NH3Rxtpl7GyGwRoDsx-CKcbSWHguxxCMCLJzT4GNu8uU/s72-c/Picture2.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><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><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS"/><category scheme="http://www.blogger.com/atom/ns#" term="WINDOWS"/><title type='text'>Who can run what, when?!</title><content type='html'>&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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 &#39;Local Administrator&#39; account. &amp;nbsp;I do this for IIS&#39; 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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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&#39;ll call that user &quot;executioner.&quot; &amp;nbsp;Go create your executioner account now and open Scheduled Tasks.&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;If you created your own .vbs file to do cleanup work as I did you&#39;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&#39;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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: Arial,Helvetica,sans-serif; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYYw_odTLHgnh9vLcK0sNBUrGpL8jLyYGV3LE23NVsBwGQCT0iFPHT3k2cva9xWsBl66Z2j5nHcszbbIW23cVvK_8wYaVFGoL7kOY11ANRAx3OPfLu7qV-D2u1M9Hr2BEy4UpxCwLoHDQ/s1600-h/Picture.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYYw_odTLHgnh9vLcK0sNBUrGpL8jLyYGV3LE23NVsBwGQCT0iFPHT3k2cva9xWsBl66Z2j5nHcszbbIW23cVvK_8wYaVFGoL7kOY11ANRAx3OPfLu7qV-D2u1M9Hr2BEy4UpxCwLoHDQ/s320/Picture.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Double click your newly scheduled task in the Scheduled Tasks window. &amp;nbsp;Change the username field from to &quot;[{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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;i&gt;&lt;b&gt;nofear\Executioner&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;And if I created a domain account it would read:&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;i&gt;&lt;b&gt;kulai.local\Executioner&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Change your schedule and click &quot;OK.&quot; &amp;nbsp;You&#39;ll be prompted to enter &quot;Executioner&#39;s&quot; password.&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;All set? &amp;nbsp;Right click on your job and choose &quot;Run.&quot; &amp;nbsp;It should fail. &amp;nbsp;:( &amp;nbsp;I guess that&#39;s no so bad. &amp;nbsp;It&#39;s what we want actually.&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;If you examine the filesystem &amp;nbsp;using filemon.exe from http://live.sysinternals.com you&#39;ll notice that Executioner is failing when trying to open cmd.exe.&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;a href=&quot;http://support.microsoft.com/kb/867466&quot;&gt;More Reading&lt;/a&gt;&lt;/div&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'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1521730673051479113/posts/default/5700768553482324696'/><link rel='alternate' type='text/html' href='http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/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='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYYw_odTLHgnh9vLcK0sNBUrGpL8jLyYGV3LE23NVsBwGQCT0iFPHT3k2cva9xWsBl66Z2j5nHcszbbIW23cVvK_8wYaVFGoL7kOY11ANRAx3OPfLu7qV-D2u1M9Hr2BEy4UpxCwLoHDQ/s72-c/Picture.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><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><category scheme="http://www.blogger.com/atom/ns#" term="LINUX"/><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS"/><category scheme="http://www.blogger.com/atom/ns#" term="WINDOWS"/><title type='text'>Redlight - Greenlight</title><content type='html'>&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;There were a couple of tweaks that were missing from yesterday&#39;s post.&amp;nbsp; One of the things I&#39;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&#39;re currently working on plays.&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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&#39;s role in Development (green), Test (yellow) or Production (red).&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhS5IxuXVeiiABgheVnBxqERgJRN5aDrgKKxY65zimjCRzAJMYV3c9asXHPtoJaEPOS2QEuSkN-M1PS2J5P9NOwvMbvvsmzRm3rvUGGBBsXP0Wrbnmk6At6l5lZg_vnrldaY7p6y0TUPkY/s1600-h/devcomp.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhS5IxuXVeiiABgheVnBxqERgJRN5aDrgKKxY65zimjCRzAJMYV3c9asXHPtoJaEPOS2QEuSkN-M1PS2J5P9NOwvMbvvsmzRm3rvUGGBBsXP0Wrbnmk6At6l5lZg_vnrldaY7p6y0TUPkY/s320/devcomp.gif&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjifIa1vPEoJnjbpo4sFd1p0fLvKaBLvkS5JjAAh89MzJCdH9Oq6W_2-wiBH394BdMdpBPCcQ92X-ZjAKXtDSJP8aRcBD7nRCxs2MHJiD8uSCfR_sxeYQBm3qNZWD6rB47sfWjrODp2E6M/s1600-h/testweb.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjifIa1vPEoJnjbpo4sFd1p0fLvKaBLvkS5JjAAh89MzJCdH9Oq6W_2-wiBH394BdMdpBPCcQ92X-ZjAKXtDSJP8aRcBD7nRCxs2MHJiD8uSCfR_sxeYQBm3qNZWD6rB47sfWjrODp2E6M/s320/testweb.gif&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsoRbJdv6hUFgxlmCPMNxj4xJbUn-ZFRjP8ppwsPrDVnz4hU-tWhnNf60WHkMHKZ053bX8PEdbI1-Y5JY6fh-WlZlmRzjjXS47bFK8T_eSJQZRKsLFqea3xpQX1sqiIkpD4NeaXYWZi5c/s1600-h/proddw2k8.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsoRbJdv6hUFgxlmCPMNxj4xJbUn-ZFRjP8ppwsPrDVnz4hU-tWhnNf60WHkMHKZ053bX8PEdbI1-Y5JY6fh-WlZlmRzjjXS47bFK8T_eSJQZRKsLFqea3xpQX1sqiIkpD4NeaXYWZi5c/s320/proddw2k8.gif&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Props to FlamingText.com for their service.&amp;nbsp; It&#39;s there that I make all my images.&amp;nbsp; &lt;a href=&quot;http://goo.gl/mKqE&quot;&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=&quot;http://goo.gl/mKqE&quot;&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=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&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;
&quot;DefaultColor&quot;=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=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj00mtHQmPoWj2qY1OpkOYRKamJ5uXkHHmzRo_pWibqEwmHa26QFOJxMIxKp2tGx0kBSkjKGHLplEMgpARWsgbq8PdUyzBnZ3xJq5L51_wR7k13lA7uYzEk2Fe8hK7-5VLznLG977kMuWE/s1600-h/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj00mtHQmPoWj2qY1OpkOYRKamJ5uXkHHmzRo_pWibqEwmHa26QFOJxMIxKp2tGx0kBSkjKGHLplEMgpARWsgbq8PdUyzBnZ3xJq5L51_wR7k13lA7uYzEk2Fe8hK7-5VLznLG977kMuWE/s320/Capture.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;You probably also noticed that each machine &quot;common name&quot; 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&#39;m doing.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-family: Arial,Helvetica,sans-serif; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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;</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'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1521730673051479113/posts/default/1618047670049974787'/><link rel='alternate' type='text/html' href='http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/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='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhS5IxuXVeiiABgheVnBxqERgJRN5aDrgKKxY65zimjCRzAJMYV3c9asXHPtoJaEPOS2QEuSkN-M1PS2J5P9NOwvMbvvsmzRm3rvUGGBBsXP0Wrbnmk6At6l5lZg_vnrldaY7p6y0TUPkY/s72-c/devcomp.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><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><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS"/><category scheme="http://www.blogger.com/atom/ns#" term="WINDOWS"/><title type='text'>Quick Registry Tweaks</title><content type='html'>&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;I&#39;m sure, if you&#39;re reading this blog you&#39;re probably the resident IT geek around your friends and family.&amp;nbsp; That means you&#39;ve probably done your fair share of system rebuilds for one reason or another.&amp;nbsp; I had my very own mother &quot;punch the monkey&quot; not long ago and spent a fair amount of time cleaning her system until she noted, &quot;you could just erase everything.&amp;nbsp; There&#39;s nothing on there I need.&quot;&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&#39;est &lt;i&gt;la vie&lt;/i&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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&#39;ll just assume they like them too because they&#39;ve never known anything different!&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Here are the things that the registry file does:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Adds an &quot;Open with Notepad&quot; option to the explorer context menu&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Adds a &quot;CMD Prompt from HERE&quot; option to the explorer context menu&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Adds &quot;Copy To&quot; and &quot;Move To&quot; options to the explorer context menu&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Turns OFF XP&#39;s search assistant making it operate like Windows 9x/2k&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Turns on the &quot;Status Bar&quot; in explorer&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Turns on Tree View by default in Explorer&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Turns off the unused Desktop Icon notification&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;&quot;&gt;&lt;i style=&quot;color: red;&quot;&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=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;Windows Registry Editor Version 5.00&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;# General Security Tweak(s)&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_LOCAL_MACHINE\SYSTEM\CurrentcontrolSet\Control\Lsa]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;RestrictAnonymous&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_LOCAL_MACHINE\SYSTEM\CurrentcontrolSet\Control\SecurePipeServers\win reg]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;# Add Copy To and Move To to the Explorer Context Menu&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Copy To]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;@=&quot;{C2FBB630-2971-11D1-A18C-00C04FD75D13}&quot;&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\Move To]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;@=&quot;{C2FBB631-2971-11D1-A18C-00C04FD75D13}&quot;&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;# Open Explorer in Folder List View&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CLASSES_ROOT\Folder]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;EditFlags&quot;=dword:000003d2&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;BrowserFlags&quot;=dword:00000008&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CLASSES_ROOT\Folder\shell]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;@=&quot;explore&quot;&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;# Add Open with Notepad to the Explorer Context Menu&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CLASSES_ROOT\*\shell]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CLASSES_ROOT\*\shell\opennotepad]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;@=&quot;Open with Notepad&quot;&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CLASSES_ROOT\*\shell\opennotepad\command]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;@=&quot;C:\\WINDOWS\\system32\\NOTEPAD.EXE %1&quot;&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;# Increase IE connections to 8&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;MaxConnectionsPerServer&quot;=dword:00000008&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;# Show the Status Bar&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;StatusBarOther&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;# Show Hidden, Very Hidden &amp;amp; Protected Operating System Files&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;# Show File Extensions&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;Hidden&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;HideFileExt&quot;=dword:00000000&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;SuperHidden&quot;=dword:00000000&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;DisableThumbnailCache&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;ShowSuperHidden&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;WebViewBarricade&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;# Show the full path in the address and title bar&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;# Turn of Clippy the Search Assistant&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;Settings&quot;=hex:0c,00,02,00,1b,01,e7,77,60,00,00,00&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;FullPath&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;FullPathAddress&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;Use Search Asst&quot;=&quot;no&quot;&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;Use Search Asst&quot;=&quot;no&quot;&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;# Turn off the unused icons on your desktop notification&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Desktop\CleanupWiz]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;NoRun&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&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=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: yellow;&quot;&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=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: yellow;&quot;&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=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;#[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Command Prompt]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;@=&quot;CMD prompt from here&quot;&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;#[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\Command Prompt\command]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;@=&quot;Cmd.exe /k pushd %L&quot;&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;# Enable Quick Edit in CMD windows&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CURRENT_USER\Console]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;QuickEdit&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_USERS\.DEFAULT\Console]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;QuickEdit&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;# Turn off visual effects to improve performance&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;VisualFXSetting&quot;=dword:00000002&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\AnimateMinMax]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;DefaultApplied&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ComboBoxAnimation]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;DefaultApplied&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\CursorShadow]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;DefaultApplied&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\DragFullWindows]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;DefaultApplied&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\DropShadow]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;DefaultValue&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;DefaultApplied&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\FontSmoothing]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;DefaultValue&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;DefaultApplied&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ListBoxSmoothScrolling]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;DefaultApplied&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ListviewAlphaSelect]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;DefaultValue&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;DefaultApplied&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ListviewShadow]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;DefaultValue&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;DefaultApplied&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\ListviewWatermark]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;DefaultValue&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;DefaultApplied&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\MenuAnimation]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;DefaultValue&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;DefaultApplied&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\SelectionFade]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;DefaultValue&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;DefaultApplied&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\TaskbarAnimations]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;DefaultValue&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;DefaultApplied&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\Themes]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\TooltipAnimation]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;DefaultValue&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;DefaultApplied&quot;=dword:00000001&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\VisualEffects\WebView]&lt;/span&gt;&lt;br style=&quot;background-color: yellow;&quot; /&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;&quot;DefaultApplied&quot;=dword:00000001&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&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=&quot;background-color: white; font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;b style=&quot;background-color: yellow;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&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'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1521730673051479113/posts/default/1332127563810124605'/><link rel='alternate' type='text/html' href='http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/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='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><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><category scheme="http://www.blogger.com/atom/ns#" term="ANDROID"/><category scheme="http://www.blogger.com/atom/ns#" term="DEVELOPMENT"/><title type='text'>SUBST, Java and Beer ...</title><content type='html'>I&#39;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 &quot;&lt;b&gt;&lt;i&gt;Head First Java&lt;/i&gt;&lt;/b&gt;&quot; book discourages the use of an IDE while you&#39;re learning Java.&amp;nbsp; The thought is learn the language then learn the tool.&amp;nbsp; I&#39;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 &quot;While&quot; to &quot;while.&quot;&amp;nbsp; I&#39;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=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Exception in thread &quot;main&quot; 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=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&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, &quot;You don&#39;t execute the .class file.&amp;nbsp; You execute the BeerSong bytecode and it will find the .class file!&quot; &amp;nbsp;At least it&#39;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&#39;s easy enough, but this is ugly:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&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&#39;re an old timer you probably remember using that command back in the early 90&#39;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=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;subst b:\ &quot;C:\Users\bill.mote\Documents\My Dropbox\_AYDABTU.Development\PROJECT.target\BILL\HeadFirstJava\Chapter1&quot;&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=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&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&#39;s the BeerSong code:&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&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 = &quot;bottles&quot;;&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 = &quot;bottle&quot;; // 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 + &quot; &quot; + word + &quot; of beer on the wall&quot;);&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 + &quot; &quot; + word + &quot; of beer.&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println(&quot;Take one down.&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println(&quot;Pass it around.&quot;);&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 + &quot; &quot; + word + &quot; of beer on the wall\n&quot;);&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(&quot;No more bottles of beer on the wall&quot;);&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=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAaMmcG9orT5b0K1ct9GEiUWQekCw4O9g_Z2wPHAPFLWvmp5RhrKfaKojfIcQzoDIhOM9kPXQQDPpnrIVY1zIN0gqi-VMsC7daue9mI4Fy8YqsQ0bdnAJzb-vtpGxVdD8woQHuOCXTh6Y/s1600-h/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAaMmcG9orT5b0K1ct9GEiUWQekCw4O9g_Z2wPHAPFLWvmp5RhrKfaKojfIcQzoDIhOM9kPXQQDPpnrIVY1zIN0gqi-VMsC7daue9mI4Fy8YqsQ0bdnAJzb-vtpGxVdD8woQHuOCXTh6Y/s320/Capture.PNG&quot; /&gt;&lt;/a&gt;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;And, the output.&amp;nbsp; Notice the grammar problem in the output? :)&lt;/b&gt; &lt;/div&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'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1521730673051479113/posts/default/2370373174775321853'/><link rel='alternate' type='text/html' href='http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/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='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAaMmcG9orT5b0K1ct9GEiUWQekCw4O9g_Z2wPHAPFLWvmp5RhrKfaKojfIcQzoDIhOM9kPXQQDPpnrIVY1zIN0gqi-VMsC7daue9mI4Fy8YqsQ0bdnAJzb-vtpGxVdD8woQHuOCXTh6Y/s72-c/Capture.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><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><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS"/><category scheme="http://www.blogger.com/atom/ns#" term="WINDOWS"/><title type='text'>Microsoft&#39;s Really, Really Hidden Folders</title><content type='html'>&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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&#39;s this kind of tom-foolery that infuriates me and keeps me in a job.&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;If we&#39;ve identified a number of folders that M$ works hard to hide then are there others that we haven&#39;t found?&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Don&#39;t believe me?&amp;nbsp; Try it for yourself ...&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzYgrpVkXyCvDJxa8duskOTs5lUiwze0ddBiVmCNT3uiplahQFK4QdmD5bW7tHiMnPcD_dLS0y9dwYsK-4eKpQtNYx9VpyGLVwcXSUe7gUG2nbjKfFG9qD5OWJAzANef5QalYnEC4m2Qo/s1600-h/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzYgrpVkXyCvDJxa8duskOTs5lUiwze0ddBiVmCNT3uiplahQFK4QdmD5bW7tHiMnPcD_dLS0y9dwYsK-4eKpQtNYx9VpyGLVwcXSUe7gUG2nbjKfFG9qD5OWJAzANef5QalYnEC4m2Qo/s320/Capture.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: center;&quot;&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=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3PGY7bybtcNcK1gZYv__waaXS6U-tyc7O22qhjY1_LlE5O7NbSflMttYmAZEDSIaca51otPOAGWwmaD_tVaZ4V1prKPxS5y1FQO5Yo9wZ9fDuvYCn3OZnJka-BMTeUQr6Tf5PsBt_gNo/s1600-h/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3PGY7bybtcNcK1gZYv__waaXS6U-tyc7O22qhjY1_LlE5O7NbSflMttYmAZEDSIaca51otPOAGWwmaD_tVaZ4V1prKPxS5y1FQO5Yo9wZ9fDuvYCn3OZnJka-BMTeUQr6Tf5PsBt_gNo/s320/Capture.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: center;&quot;&gt;&lt;b&gt;Do you see a &quot;content.IE5&quot; folder?&amp;nbsp; Me neither. &lt;/b&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmLlP8ZksOJJ3dXCgXLBWm7w6nd-yGGN5RREhbuKnLTPDhKlzLj7XB-ps-xrpFbfqQQkjHj63veIm_OjfHudIEXDSnHAzdLcVzDWfGudppX1KLcBYDSLconf7WsMdizcOY4z8EKznxPDU/s1600-h/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmLlP8ZksOJJ3dXCgXLBWm7w6nd-yGGN5RREhbuKnLTPDhKlzLj7XB-ps-xrpFbfqQQkjHj63veIm_OjfHudIEXDSnHAzdLcVzDWfGudppX1KLcBYDSLconf7WsMdizcOY4z8EKznxPDU/s320/Capture.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: center;&quot;&gt;&lt;b&gt;Double check your settings.&amp;nbsp; I&#39;m set to view everything ... &lt;/b&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlUO4F3daXb9Opm1OL3LDpFQh1vAQLMe7r59I3RSXAsgckIyl9cNPDEHS4K7Ug3GRHKFVB9Q03LyocdA9YVIthAQQIaXUZsgA5Gt1A7TIRgTO6OizqZy8ybQ2Et1DqSBEVX9AEPVToCNc/s1600-h/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlUO4F3daXb9Opm1OL3LDpFQh1vAQLMe7r59I3RSXAsgckIyl9cNPDEHS4K7Ug3GRHKFVB9Q03LyocdA9YVIthAQQIaXUZsgA5Gt1A7TIRgTO6OizqZy8ybQ2Et1DqSBEVX9AEPVToCNc/s320/Capture.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: center;&quot;&gt;&lt;b&gt;Go back to explorer and add &quot;\content.IE5&quot; to your address bar.&amp;nbsp; Sure enough.&amp;nbsp; There&#39;s your cached data.&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj41aDbK6hyphenhyphen05u81Rkww4Oe94wVseKZToKsfzVmINAqIJ_GM9zYEZ91cyTkU4TBvqwXtl-0zIPdCOq8q2z1I6xFFtRYo3znGpG1DXzmhD7tP6ATS952scIHJ_VMgO7lH-ipjVIsqijHTlw/s1600-h/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj41aDbK6hyphenhyphen05u81Rkww4Oe94wVseKZToKsfzVmINAqIJ_GM9zYEZ91cyTkU4TBvqwXtl-0zIPdCOq8q2z1I6xFFtRYo3znGpG1DXzmhD7tP6ATS952scIHJ_VMgO7lH-ipjVIsqijHTlw/s320/Capture.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: center;&quot;&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=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzVwTmTx4pWcrZuh2CjCuGZmwfWVROltHh9y37BlAoSAixEpgYpWawy1E1ka_d2cI9_KcvuRrWEj-aLnvau8rqKd35Bhr8Ld3gQQUwHBinoigFyINUwjJfv-XGB4He4dd2WNa0lagx6q8/s1600-h/Capture.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzVwTmTx4pWcrZuh2CjCuGZmwfWVROltHh9y37BlAoSAixEpgYpWawy1E1ka_d2cI9_KcvuRrWEj-aLnvau8rqKd35Bhr8Ld3gQQUwHBinoigFyINUwjJfv-XGB4He4dd2WNa0lagx6q8/s320/Capture.PNG&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: center;&quot;&gt;&lt;b&gt;Finally, lets go look in one of those folders.&amp;nbsp; It&#39;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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&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'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1521730673051479113/posts/default/3678505184183648134'/><link rel='alternate' type='text/html' href='http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/microsofts-really-really-hidden-folders.html' title='Microsoft&#39;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='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzYgrpVkXyCvDJxa8duskOTs5lUiwze0ddBiVmCNT3uiplahQFK4QdmD5bW7tHiMnPcD_dLS0y9dwYsK-4eKpQtNYx9VpyGLVwcXSUe7gUG2nbjKfFG9qD5OWJAzANef5QalYnEC4m2Qo/s72-c/Capture.PNG" height="72" width="72"/><thr:total>2</thr:total></entry><entry><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><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS"/><title type='text'>SQL Backup Compression &amp; File Cleanup</title><content type='html'>&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;SerkTools did a nice job discussing how to compress SQL backups using GZIP so I won&#39;t cover that.&amp;nbsp; The article can be found &lt;a href=&quot;http://goo.gl/fKNL&quot;&gt;here&lt;/a&gt;.&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;The problem with compressing the backups in SQL 2005 and prior is that SQL doesn&#39;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=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;Here&#39;s my code:&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: yellow; color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;dim path, interval, duration, fso, folder, x, y&lt;br /&gt;
&lt;br /&gt;
path = &quot;D:\MSSQL\Backup&quot;&lt;br /&gt;
interval = &quot;H&quot;&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 &#39; 25 is intentional due to an assumed rounding issue&lt;br /&gt;
&lt;br /&gt;
set fso = CreateObject(&quot;Scripting.FileSystemObject&quot;)&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=&quot;background-color: yellow; color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&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=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&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=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &#39; This file should run only on Monday.&amp;nbsp; If it is run any other day it will&lt;/span&gt;&lt;br style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &#39; 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=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; next&lt;/span&gt;&lt;br style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;next&lt;/span&gt;&lt;br style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot; /&gt;&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;set y = nothing&lt;/span&gt;&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;set x = nothing&lt;/span&gt;&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;set folder = nothing&lt;/span&gt;&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;set fso = nothing&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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&#39;s why I run my cleanup job only once per week.&lt;/div&gt;&lt;div style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif;&quot;&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=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqaZmbHUccqYtEtjPGGuSC2_UjlzZSvyMEep_mb-w6SaeMUaQUM85YNTi45HP-tnM7r7niVcV5zcrC8KdvFr9bgTkjtPfiFAnkZvSwI8nqnhhN9zzhUijVrUEmRUz-XVAfLxZnYgio9cU/s1600-h/sketch2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqaZmbHUccqYtEtjPGGuSC2_UjlzZSvyMEep_mb-w6SaeMUaQUM85YNTi45HP-tnM7r7niVcV5zcrC8KdvFr9bgTkjtPfiFAnkZvSwI8nqnhhN9zzhUijVrUEmRUz-XVAfLxZnYgio9cU/s320/sketch2.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&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'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1521730673051479113/posts/default/4770469367781018933'/><link rel='alternate' type='text/html' href='http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/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='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqaZmbHUccqYtEtjPGGuSC2_UjlzZSvyMEep_mb-w6SaeMUaQUM85YNTi45HP-tnM7r7niVcV5zcrC8KdvFr9bgTkjtPfiFAnkZvSwI8nqnhhN9zzhUijVrUEmRUz-XVAfLxZnYgio9cU/s72-c/sketch2.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><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><category scheme="http://www.blogger.com/atom/ns#" term="DOS"/><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS"/><title type='text'>DOS and DATES</title><content type='html'>&lt;span style=&quot;font-family: Arial,Helvetica,sans-serif; font-size: small;&quot;&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&#39;t what you need.  SQL, for instance, names its files with yyyymmdd date format in the name.  Well, here&#39;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=&quot;font-family: inherit;&quot;&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: yellow; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;FOR /F &quot;TOKENS=1* DELIMS= &quot; %%A IN (&#39;DATE/T&#39;) DO SET CDATE=%%B&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: yellow; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;FOR /F &quot;TOKENS=1,2 eol=/ DELIMS=/ &quot; %%A IN (&#39;DATE/T&#39;) DO SET mm=%%B&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: yellow; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;FOR /F &quot;TOKENS=1,2 DELIMS=/ eol=/&quot; %%A IN (&#39;echo %CDATE%&#39;) DO SET dd=%%B&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: yellow; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;FOR /F &quot;TOKENS=2,3 DELIMS=/ &quot; %%A IN (&#39;echo %CDATE%&#39;) DO SET yyyy=%%B&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: yellow; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;SET DATE=%yyyy%%mm%%dd%&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Of course you can set the DATE environment variable we created in any format you need.&amp;nbsp; Here&#39;s a practical application to copy SQL&#39;s dated backup files to a DRP location: &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 10pt;&quot;&gt;&lt;span class=&quot;il&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span class=&quot;il&quot;&gt;robocopy&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&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=&quot;MsoNormal&quot; style=&quot;margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjcI__UfSiAWBJ5Mt3EG8iKb1jo6l0xEWlTnI4qxeKBYKcWOiD_RHN9AovNTfl3a3CzhgWWZXx1AL-4DyH2u1rIrlposvFEihRijYURCNHj5y79VDMCtiOC65pMKhx6uruqoDugZCMz2c/s1600-h/sketch.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjcI__UfSiAWBJ5Mt3EG8iKb1jo6l0xEWlTnI4qxeKBYKcWOiD_RHN9AovNTfl3a3CzhgWWZXx1AL-4DyH2u1rIrlposvFEihRijYURCNHj5y79VDMCtiOC65pMKhx6uruqoDugZCMz2c/s320/sketch.jpg&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;/span&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'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1521730673051479113/posts/default/2238599981001341844'/><link rel='alternate' type='text/html' href='http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/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='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjcI__UfSiAWBJ5Mt3EG8iKb1jo6l0xEWlTnI4qxeKBYKcWOiD_RHN9AovNTfl3a3CzhgWWZXx1AL-4DyH2u1rIrlposvFEihRijYURCNHj5y79VDMCtiOC65pMKhx6uruqoDugZCMz2c/s72-c/sketch.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><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><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS"/><category scheme="http://www.blogger.com/atom/ns#" term="WINDOWS"/><title type='text'>Doing Things Remotely</title><content type='html'>&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Have you ever needed to move data from one remote server to another?&amp;nbsp; There&#39;s no reason to move the data to my machine as a broker to the other server, but that&#39;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=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;There are a number of tools available from Sys Internals that are fantastic.&amp;nbsp; I&#39;ll focus on &quot;psexec&quot; today.&amp;nbsp; All of the tools can be downloaded in 1 archive or executed live from &lt;a href=&quot;http://live.sysinternals.com/&quot;&gt;http://live.sysinternals.com&lt;/a&gt;&lt;a href=&quot;http://sysinternals.live.com/&quot;&gt;&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;What is psexec?&amp;nbsp; It&#39;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=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&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&#39;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=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhodzXM-quPIe1pioqH3_9RXZ6h9KG_9K2qHajRkuwo7syYvIiYj3SHfedWVb956hGVltDwFiMf3WbYlb8Xz7RuQ-hcOcoRXLqW4M26hTGXKVpstr6NqFFSwD4fQ6lAEHRvMcJc_mXURsA/s1600-h/Drawing.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhodzXM-quPIe1pioqH3_9RXZ6h9KG_9K2qHajRkuwo7syYvIiYj3SHfedWVb956hGVltDwFiMf3WbYlb8Xz7RuQ-hcOcoRXLqW4M26hTGXKVpstr6NqFFSwD4fQ6lAEHRvMcJc_mXURsA/s320/Drawing.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Let&#39;s get started ...&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Create a folder to hold the files and add that folder to your system&#39;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=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;I&#39;m a huge fan of robocopy.&amp;nbsp; We&#39;ll use examples that utilize it, but you could as easily do the same for xcopy.&amp;nbsp; If you&#39;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=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The syntax can be seen by executing psexec /? at a command prompt.&amp;nbsp; Here&#39;s an example of a copy from Server1 to Server 2.&amp;nbsp; We&#39;ll copy .bak files (for no particular reason):&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: yellow; color: black; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse;&quot;&gt;&lt;span class=&quot;il&quot;&gt;psexec&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&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=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial,sans-serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse;&quot;&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=&quot;Apple-style-span&quot; style=&quot;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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse;&quot;&gt;-u {domain\}username&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse;&quot;&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=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse;&quot;&gt;Since this isn&#39;t a robocopy how-to lesson I won&#39;t go in to all the options available.&amp;nbsp; Suffice it to say that it&#39;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=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse;&quot;&gt;What else can be done?&amp;nbsp; Of course you can execute programs you drop on the system.&amp;nbsp; We&#39;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=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial,sans-serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse;&quot;&gt;&lt;span class=&quot;il&quot;&gt;psexec&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;\\Server2 net stop SomeServiceName&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse;&quot;&gt;&lt;span class=&quot;il&quot;&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=&quot;background-color: yellow; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse;&quot;&gt;&lt;span class=&quot;il&quot;&gt;psexec&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&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=&quot;background-color: yellow;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial,sans-serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial,sans-serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial,sans-serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial,sans-serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial,sans-serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: yellow;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial,sans-serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;If you&#39;ve thought of a different use please share!&lt;/span&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'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1521730673051479113/posts/default/5542271486643974389'/><link rel='alternate' type='text/html' href='http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/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='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhodzXM-quPIe1pioqH3_9RXZ6h9KG_9K2qHajRkuwo7syYvIiYj3SHfedWVb956hGVltDwFiMf3WbYlb8Xz7RuQ-hcOcoRXLqW4M26hTGXKVpstr6NqFFSwD4fQ6lAEHRvMcJc_mXURsA/s72-c/Drawing.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><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><category scheme="http://www.blogger.com/atom/ns#" term="DOS"/><category scheme="http://www.blogger.com/atom/ns#" term="NETWORKING"/><category scheme="http://www.blogger.com/atom/ns#" term="TIPS n TRICKS"/><title type='text'>Stupid Ping Tricks</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;Is there a way to tell if a server is up with a&lt;span class=&quot;Apple-converted-space&quot;&gt; &lt;/span&gt;&lt;span class=&quot;il&quot;&gt;DOS&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt; &lt;/span&gt;bat file?  Yes!  I&#39;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=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;:&lt;span class=&quot;il&quot;&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=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span class=&quot;il&quot;&gt;ping&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&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=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;if errorlevel 1 goto&lt;span class=&quot;Apple-converted-space&quot;&gt; &lt;/span&gt;&lt;span class=&quot;il&quot;&gt;PING&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&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=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 15px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 15px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 15px;&quot;&gt;Is there a way to tell if a server is up with a .vbs file?  Yes!  I&#39;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=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 15px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 15px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&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=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&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=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;strTarget = &quot;10.123.30.12&quot; &#39;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=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;Set objShell = CreateObject(&quot;WScript.Shell&quot;)&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=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;Set objExec = objShell.Exec(&quot;&lt;span class=&quot;il&quot;&gt;ping&lt;/span&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt; &lt;/span&gt;-n 1 -w 50 &quot; &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=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&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=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&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=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&#39;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=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&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=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&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=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;; font-size: 12px; font-weight: bold;&quot;&gt;  WScript.Echo &quot;ERROR&quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&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=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&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=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;If InStr(strPingResults, &quot;reply from &quot; &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=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&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=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;  WScript.Echo strTarget &amp;amp; &quot; responded to&lt;span class=&quot;Apple-converted-space&quot;&gt; &lt;/span&gt;&lt;span class=&quot;il&quot;&gt;ping&lt;/span&gt;.&quot;&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=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&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=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&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=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&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=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;  WScript.Echo strTarget &amp;amp; &quot; did not respond to&lt;span class=&quot;Apple-converted-space&quot;&gt; &lt;/span&gt;&lt;span class=&quot;il&quot;&gt;ping&lt;/span&gt;.&quot;&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=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&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=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: &#39;courier new&#39;,monospace;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&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=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: 15px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: separate; color: black; font-family: &#39;Times New Roman&#39;; 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;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: Calibri; font-size: 15px;&quot;&gt;&lt;/span&gt;&lt;/span&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'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1521730673051479113/posts/default/723784064859863219'/><link rel='alternate' type='text/html' href='http://thingsthatmakememadandhowtofixthem.blogspot.com/2010/02/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='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>