<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>Scott Elkin &#187; Windows</title> <atom:link href="http://scottelkin.com/category/programming/windows/feed/" rel="self" type="application/rss+xml" /><link>http://scottelkin.com</link> <description>Tech, Love, Life</description> <lastBuildDate>Sun, 25 Apr 2010 16:29:15 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>0.0.0.0 Gateway Causing No Internet Access</title><link>http://scottelkin.com/programming/0000-gateway-causing-no-internet-access/</link> <comments>http://scottelkin.com/programming/0000-gateway-causing-no-internet-access/#comments</comments> <pubDate>Wed, 01 Aug 2007 01:41:52 +0000</pubDate> <dc:creator>Scott</dc:creator> <category><![CDATA[Programming]]></category> <category><![CDATA[Windows]]></category><guid isPermaLink="false">/archive/2007/07/31/53717.aspx</guid> <description><![CDATA[Sometime last week, I stopped being able to get access to the internet while at work.  I could get an IP address from DHCP, but couldn’t get any traffic past our firewall/gateway. I thought it was DHCP server, and was ready to buy a new one as it is 5 years old.  But then I [...]No related posts.]]></description> <content:encoded><![CDATA[<p>Sometime last week, I stopped being able to get access to the internet while at work.  I could get an IP address from DHCP, but couldn’t get any traffic past our firewall/gateway.</p><p>I thought it was DHCP server, and was ready to buy a new one as it is 5 years old.  But then I noticed in my ipconfig /all that I had two gateways:  0.0.0.0, and then on the second line, my correct gateway, 192.168.1.1.  I had never seen two gateways listed, and almost scanned right over it.</p><p>I confirmed that no matter if I set the IP manually, or dynamically, I couldn’t get rid of the 0.0.0.0 gateway.</p><p>I called my friend, the who knows all the technical nitty gritty in the TCP world.</p><p>We fired a command prompt and I printed my computer’s current route table by writing “route print”:</p><p><img src="http://scottelkin.com/images/route-print-before.gif" border="0" alt="Route Print Before" /></p><p>You can clearly see the two lines showing 0.0.0.0.  According to him, there should only be one line.  So we deleted them both:</p><p><img src="http://scottelkin.com/images/route-delete.gif" border="0" alt="Route Delete" /></p><p>This left us at:</p><p><img src="http://scottelkin.com/images/route-print-middle.gif" border="0" alt="Route Print Middle" /></p><p>So then we added the correct one back in:</p><p><img src="http://scottelkin.com/images/route-add.gif" border="0" alt="Route Add" /></p><p>I did one more “route print” to make sure it took:</p><p><img src="http://scottelkin.com/images/route-print-after.gif" border="0" alt="Route Print After" /></p><p>And viola, I have internet access!</p><div class="bjtags">Tags: <a rel="tag" href="http://technorati.com/tag/route+table">route+table</a>, <a rel="tag" href="http://technorati.com/tag/0.0.0.0">0.0.0.0</a>, <a rel="tag" href="http://technorati.com/tag/command+prompt">command+prompt</a></div><p>No related posts.</p>]]></content:encoded> <wfw:commentRss>http://scottelkin.com/programming/0000-gateway-causing-no-internet-access/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Delete Files Older Than Date Using Batch Files</title><link>http://scottelkin.com/programming/delete-files-older-than-date-using-batch-files/</link> <comments>http://scottelkin.com/programming/delete-files-older-than-date-using-batch-files/#comments</comments> <pubDate>Fri, 13 Apr 2007 21:18:15 +0000</pubDate> <dc:creator>Scott</dc:creator> <category><![CDATA[Programming]]></category> <category><![CDATA[Windows]]></category><guid isPermaLink="false">/archive/2007/04/13/Delete-Files-Older-Than-Date-Using-Batch-Files.aspx</guid> <description><![CDATA[This problem has nagged at me for years.&#160; Here is a batch command to delete files on a Windows 2003 machine. Forfiles -pC:\backup -s -m*.* -d-5 -c "cmd /c del /q @path" This will delete all files in my backup directory older than 5 days. To test it first, use this: Forfiles -pC:\backup -s -m*.* [...]No related posts.]]></description> <content:encoded><![CDATA[<p>This problem has nagged at me for years.&nbsp; Here is a batch command to delete files on a Windows 2003 machine.</p><p><code>Forfiles -pC:\backup -s -m*.* -d-5 -c "cmd /c del /q @path" </code></p><p>This will delete all files in my backup directory older than 5 days. To test it first, use this:</p><p><code>Forfiles -pC:\backup -s -m*.* -d-5 -c "cmd /C Echo 0x22@Path\@File0x22" </code></p><p>This will print out each file that you will be deleting.</p><p><strong>Now playing:</strong> <a href="http://phobos.apple.com/WebObjects/MZSearch.woa/wa/advancedSearchResults?artistTerm=Lamb Of God">Lamb Of God</a> &#8211; <a href="http://phobos.apple.com/WebObjects/MZSearch.woa/wa/advancedSearchResults?songTerm=Terror And Hubris In The House Of Frank Pollard&amp;artistTerm=Lamb Of God">Terror And Hubris In The House Of Frank Pollard</a></p><p>No related posts.</p>]]></content:encoded> <wfw:commentRss>http://scottelkin.com/programming/delete-files-older-than-date-using-batch-files/feed/</wfw:commentRss> <slash:comments>19</slash:comments> </item> <item><title>Deauthorize iTunes Before Reformatting</title><link>http://scottelkin.com/music/itunes/deauthorize-itunes-before-reformatting/</link> <comments>http://scottelkin.com/music/itunes/deauthorize-itunes-before-reformatting/#comments</comments> <pubDate>Sat, 23 Apr 2005 21:39:00 +0000</pubDate> <dc:creator>Scott</dc:creator> <category><![CDATA[Programming]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[itunes]]></category><guid isPermaLink="false">/archive/2005/04/23/Deauthorize-iTunes-Before-Reformatting.aspx</guid> <description><![CDATA[I added this to my Reinstall Windows Todo List, but felt I should devote one blog on it because of its importance. To put it simply, iTunes allows you to play or &#8220;authorize&#8221; your music on up to 5 computers. If you reformat your machine before &#8220;deauthorizing&#8221; it, you waste one of those licenses. As [...]No related posts.]]></description> <content:encoded><![CDATA[<p>I added this to my <a title="Reinstalling Windows" href="http://www.scottelkin.com/archive/2005/04/19/533.aspx">Reinstall Windows Todo List,</a> but felt I should devote one blog on it because of its importance.</p><p>To put it simply, iTunes allows you to play or &#8220;authorize&#8221; your music on up to 5 computers.  If you reformat your machine before &#8220;deauthorizing&#8221; it, you waste one of those licenses.</p><p>As a developer that wipes his two machines every 6 &#8211; 15 months, you can eat up licenses quick.  On this last install, I happened to stumble on this while looking at my account in iTunes and seeing that I had 5 computers authorized.  Being as I should only have two I knew something was up. I sent apple a support request at 11 AM on a Saturday stating:</p><blockquote><p>In my account it shows that I have 5 computers authorized on my account, however I only use two.</p><p>I am a developer, so I am wiping my machines every six months, so I am thinking that your software is counting each of my machines multiple times.</p><p>I have tried deauthorizing each machine multiple times, but it shows only one license per machine.</p><p>How can I fix this?  Also, is there a way to just wipe all of my authorizations and start over?</p></blockquote><p>In an act of fantastic customer service, at 1:45 PM they replied with:</p><blockquote><p>For security reasons we generally do not perform this service. However, in this case we have made an exception. If you plan to sell or stop using a computer, be sure to deauthorize it before you no longer have access to it.</p><p>You may authorize five computers to play music purchased using your iTunes Music Store Account.</p><p>For specific instructions on how to authorize and deauthorize a computer to play your iTunes purchases please visit http://www.info.apple.com/kbnum/n93014.</p><p>You may also find help under the Help menu in iTunes.</p><p>Please be sure to deauthorize your computer before you sell it, give it to someone else, reformat it, or have it serviced. If you do not deauthorize the computer, it will continue to have one of your five authorizations attached to it.</p><p>Sincerely,</p><p>DavidiTunes Music Store Support</p></blockquote><p>So consider yourself warned!</p><p>No related posts.</p>]]></content:encoded> <wfw:commentRss>http://scottelkin.com/music/itunes/deauthorize-itunes-before-reformatting/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Reinstalling Windows</title><link>http://scottelkin.com/programming/reinstalling-windows/</link> <comments>http://scottelkin.com/programming/reinstalling-windows/#comments</comments> <pubDate>Wed, 20 Apr 2005 00:17:00 +0000</pubDate> <dc:creator>Scott</dc:creator> <category><![CDATA[Programming]]></category> <category><![CDATA[Windows]]></category><guid isPermaLink="false">/archive/2005/04/19/Reinstalling-Windows.aspx</guid> <description><![CDATA[Something great happens when you finally succumb to the inevitable fact that you need to wipe your machine. That happened for me at 4 PM yesterday. Over the last few weeks, I tried everything to speed it up, but no amount of defrag&#8217;ing, deleting, uninstalling was doing it. But when you finally relent to what [...]No related posts.]]></description> <content:encoded><![CDATA[<p>Something great happens when you finally succumb to the inevitable fact that<br /> you need to wipe your machine. That happened for me at 4 PM yesterday. Over the<br /> last few weeks, I tried everything to speed it up, but no amount of defrag&#8217;ing,<br /> deleting, uninstalling was doing it. But when you finally relent to what you<br /> know has to be done, there is certain amount of calmness because you know your<br /> frustrations will dissipate 24 hours from then. So I started my &#8220;Reinstall<br /> Windows TODO List&#8221;:</p><ol><li>List all programs installed by looking in All Programs menu and in<br /> C:\Program Files.</li><li>List out any specialty drivers you may need</li><li>List all CD Keys for each program in #1.  I keep a master list<br /> usually up to date, so this step is pretty fast, but it is still smart just to<br /> make sure.</li><li>If not on CD, put all your installs in one place for each program in #1<br /> and #2.  I like to download everything into a C:\Installs folder. I like<br /> to download some of the files on another computer while reformating and<br /> installing my primary computer.</li><li>Back up all important folders and files.  Those folders for me are:<ol><li>Outlook Files</li><li>My Documents</li><li>My Music, My Pictures</li><li>C:\Projects</li><li>Databases</li><li>C:\Installs</li></ol></li><li>Export data, such as:<ol><li>FTP Settings</li><li>RSS feeds</li><li>Outlook contacts (Just in case)</li><li>Outlook Rules</li><li>IIS Websites</li><li>Bookmarks</li><li><strong>UPDATE:</strong> Deauthorize your iTunes account!</li><li>Specific program settings</li></ol></li></ol><p>Since I have to write them down anyway, I may as well list my programs to<br /> reinstall:</p><ol><li>Adobe Photoshop CS</li><li>Adobe Reader 7</li><li>Advanced Intellect aspNetEmail, POP3, ListNanny</li><li>ahead Nero</li><li>BitTorrent</li><li>Bluetooth drivers</li><li>Browser plugins: Flash, Shockwave, Java</li><li>C:\windows\system32\drivers\etc\hosts file</li><li>Codesmith</li><li>CuteFTP</li><li>Firefox</li><li>Franklin Covey Planplus for Outlook</li><li>GhostDoc, NDoc, NUnit, NUnitASP</li><li>Helicon ISAPI_Rewrite</li><li>InterVideo WinDVD 4</li><li>iTunes</li><li>Java 2 Runtime</li><li>Jetbrains Omea Reader</li><li>Jetbrains Resharper</li><li>JHymn</li><li>Lookout for Outlook</li><li>Microsoft Enterprise Library</li><li>Microsoft Mappoint</li><li>Microsoft Office 2003</li><li>Microsoft SQL Server</li><li>Microsoft Visio</li><li>Microsoft Visual Sourcesafe</li><li>Microsoft Visual Studio 2003</li><li>Microsoft Visual Studio 2005 Beta 2</li><li>MSDN Library 2005</li><li>MSN Messenger 7</li><li>MSN Messenger Plus</li><li>Musicmatch Jukebox 10</li><li>Mythicsoft FileLocater Pro</li><li>OpenOffice 2.0</li><li>Palm Stuff</li><li>Peters Date Package, Professional Validation &amp; More</li><li>Postxing Reflector</li><li>SnipeRight</li><li>Sound and Video Drivers</li><li>Sprint Business Connection</li><li>The Regulator</li><li><a title="TiVo" href="http://www.tivo.com/2.0.asp" target="_blank">TiVo</a> Desktop</li><li>Trillian</li><li>w.bloggar</li><li>Winamp 5</li><li>WinMerge</li><li>WinRAR</li><li>Winzip</li><li>Xingtone</li><li>XMLSpy</li></ol><p>Then I just go through my TODO list one by one. Once I have my list above, I<br /> put checkmarks next to each one as I find the installs and another for the<br /> cdkey. Once I re-install, I check next to that program again.</p><p>I have to say that I did pretty good this time around.  My only<br /> casualties were my Outlook Mail Rules.</p><p>After my install, I started remembering those issues that nag at me each time<br /> I do this. I never waste *too* much time on them, but it is annoying when I have<br /> to re-solve it each year:</p><ol><li>When installing Windows, make sure to select IIS and Front Page Server<br /> Extensions.</li><li>In order for Direct3D to be enabled, enable hardware acceleration under<br /> Display Properties. This is important for games and DVD software to function.</li><li>To get rid of having to comment on each windows shutdown, Start &gt; Run<br /> &gt; gpedit.msc &gt; Computer Config &gt; Admin Templates &gt; Windows Comp<br /> &gt; System &gt; Display Shutdown Event Tracker.  Set to False.</li><li><strong>UPDATE:</strong> Shut down and disable Index server or prevent it from scanning your code directory.  See <a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;329065" target="_blank">MS Knowledge Base 329065</a>.</li><li><strong>UPDATE 2:</strong>Install this <a href="http://scottelkin.com/controlpanel/blogs/_blank">fix</a> to allow Windows to find files with unknown extensions (which is like all of them).</li></ol><p>I must admit to being more impressed  for it. I&#8217;ve even recommended it to all my friends.<br /> Thanks!<br /> I have been using it. Outlook Express more stable and secure than other programs.</p><p>No related posts.</p>]]></content:encoded> <wfw:commentRss>http://scottelkin.com/programming/reinstalling-windows/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Windows 2003 SP1 Errors</title><link>http://scottelkin.com/programming/windows-2003-sp1-errors/</link> <comments>http://scottelkin.com/programming/windows-2003-sp1-errors/#comments</comments> <pubDate>Sun, 17 Apr 2005 22:39:00 +0000</pubDate> <dc:creator>Scott</dc:creator> <category><![CDATA[Programming]]></category> <category><![CDATA[Windows]]></category><guid isPermaLink="false">/archive/2005/04/17/Windows-2003-SP1-Errors.aspx</guid> <description><![CDATA[Since I installed SP1 here are the problems I am having: MSN Messenger gives me 4 script errors each time I sign in: Line 373, Char 2, Unspecified error, URL: http://t.msn.com/en-us/default.aspx?ver=7.0.0777&#038;did=1 MSN Messenger will prevent me from using the ENTER key when sending a message. Once I restart it, it will work for awhile before [...]No related posts.]]></description> <content:encoded><![CDATA[<p>Since I installed SP1 here are the problems I am having:</p><ol><li>MSN Messenger gives me 4 script errors each time I sign in: Line 373, Char<br /> 2, Unspecified error, URL:</p><p>http://t.msn.com/en-us/default.aspx?ver=7.0.0777&#038;did=1</p></li><li>MSN Messenger will prevent me from using the ENTER key when sending a<br /> message. Once I restart it, it will work for awhile before it does it again.</li><li>When creating a new IIS website, it will set Scripts to &#8220;None&#8221; preventing<br /> Visual Studio to inter-operate with it. This is easy enough to fix in the home<br /> directory, once you know about it.</li></ol><p>No related posts.</p>]]></content:encoded> <wfw:commentRss>http://scottelkin.com/programming/windows-2003-sp1-errors/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)

Served from: scottelkin.com @ 2010-07-30 03:48:56 -->