<?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: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-7091472558752624519</id><updated>2011-11-27T16:37:40.464-08:00</updated><category term='r300'/><category term='dell'/><category term='NEW P2P IDEA'/><category term='clone'/><category term='snmp snmputil windows uptime extract MRTG netsnmp'/><category term='OpenSUSE VMware upgrade'/><category term='boot'/><category term='P2P FILTERING'/><category term='squid acl proxy access.log logrotate sysklogd cron'/><category term='barts pe'/><category term='wsus sus ghost clone'/><category term='eum surfcontrol'/><category term='Citrix web client PersistentPathCache PersistentPath'/><category term='acitve directory'/><category term='fw1 firewall-1 checkpoint r65 windows 2003 r2 tuning'/><category term='mplayer mencoder axis cctv wget batch vlc'/><category term='event id 1006'/><category term='BANDWIDTH'/><category term='Axis camera time lapse video wget snapshot mencoder irfanview'/><category term='IrfanView Multipage TIF to PDF resize crop border overlay watermark'/><category term='ghost'/><category term='P2P'/><category term='Group Policy'/><title type='text'>PCGrind</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://pcgrind.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://pcgrind.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Edwin</name><uri>http://www.blogger.com/profile/06724577005304650681</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://farm1.static.flickr.com/37/92239178_34fc620bfa_t.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>27</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7091472558752624519.post-4652334759191799159</id><published>2011-04-05T15:22:00.000-07:00</published><updated>2011-04-05T15:29:14.278-07:00</updated><title type='text'>Why Microsoft Window gets in the way, why it sucks.</title><content type='html'>Example #1: I want to go home for the night so I right click CLOSE on the group of Notepads I have open, as well as paintbrush, etc. Windows just blinks the icon in the tray. Nothing else. WTF? How lame. I have to then go to each and every instance of Notepad and Paintbrush I have open and pull up the "SAVE?" option. But can I see what I am saying Yes or No to? Of course not, who in their right mind would want to be able to SEE what they are selecting to save or discard. I have to cancel out of every single one of them and then pull them up. This means that to close down I have to spend a lot of time saying YES I AM SURE I WANT TO CLOSE DOWN! If I have a lot of notepad and paintbrush scratch pads up, it can take 10 minutes just to close them all. &lt;br&gt;&lt;br&gt;Example #2: Program blows up. Dr Watson fires off. Locks up the program for 10 minutes. Dr Watson locks up in doing dumprep, launches anothe Dr Watson and performs a dump prep of the first Dr. Watson. This goes on until the NIC become unresponsive and the PC drops off the network. &lt;br&gt;&lt;br&gt;WTF? How can an OS be so lame? Switch to Mac software writers. Those of us in the enterprise are ready to ditch Windows XP, Vista, and 7 for OS X. We want your software to work on OS X. Just look at the Apple Stores!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7091472558752624519-4652334759191799159?l=pcgrind.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pcgrind.blogspot.com/feeds/4652334759191799159/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7091472558752624519&amp;postID=4652334759191799159' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/4652334759191799159'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/4652334759191799159'/><link rel='alternate' type='text/html' href='http://pcgrind.blogspot.com/2011/04/why-microsoft-window-gets-in-way-why-it.html' title='Why Microsoft Window gets in the way, why it sucks.'/><author><name>Edwin</name><uri>http://www.blogger.com/profile/06724577005304650681</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://farm1.static.flickr.com/37/92239178_34fc620bfa_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7091472558752624519.post-713311437598476386</id><published>2009-12-22T10:41:00.000-08:00</published><updated>2009-12-22T10:54:13.638-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Citrix web client PersistentPathCache PersistentPath'/><title type='text'>Optimize Citrix Web Client for WAN caching</title><content type='html'>Ok, so this like really sucks because it's a catch 22.  Citrix web client by default disables caching of everything except for 8MB of RAM cache.&lt;br /&gt;&lt;br /&gt;The fix is to go into your default.ica files and add these lines;&lt;br /&gt;&lt;br /&gt;[WFClient]&lt;br /&gt;PersistentCacheEnabled=On&lt;br /&gt;PersistentCacheMinBitmap=2048&lt;br /&gt;PersistentCacheSize=64424508&lt;br /&gt;PersistentCachePath=%appdata%&lt;br /&gt;Compress=On&lt;br /&gt;MaximumCompression=On&lt;br /&gt;OutBufCountHost=118&lt;br /&gt;OutBufCountClient=118&lt;br /&gt;OutBufLength=512&lt;br /&gt;OutBufCountHost2=118&lt;br /&gt;OutBufCountClient2=118&lt;br /&gt;MouseTimer=200&lt;br /&gt;KeyboardTimer=50&lt;br /&gt;&lt;br /&gt;[Application]&lt;br /&gt;PersistentCacheEnabled=On&lt;br /&gt;PersistentCacheMinBitmap=2048&lt;br /&gt;PersistentCacheSize=64424508&lt;br /&gt;MaximumCompression=On&lt;br /&gt;PersistentCachePath=%appdata%&lt;br /&gt;Compress=On&lt;br /&gt;&lt;br /&gt;The problem is that persistentcachepath does not allow variables such as %userprofile% until the 11.2 client, and that users do not have access to the default paths.&lt;br /&gt;&lt;br /&gt;If you don't specify PersistentPathCache, then PersistentCache is disabled.&lt;br /&gt;&lt;br /&gt;And if you stick the cache in c:\temp and grant everyone full rights, it's a security issue.&lt;br /&gt;&lt;br /&gt;The 11.2 client also removes PNAgent and program neighborhood.   So it's a catch22.  If you upgrade to 11.2, you can't connect to old farms.   If you don't then Webclient bitmap caching doesn't work right.&lt;br /&gt;&lt;br /&gt;If you have bandwidth detection enabled, then these settings will be different.  In our setup, we have only low bandwidth users.  The low bandwidth ica is not combined with default.  Only the settings in the specific ICA are used.  Not merged.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7091472558752624519-713311437598476386?l=pcgrind.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pcgrind.blogspot.com/feeds/713311437598476386/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7091472558752624519&amp;postID=713311437598476386' title='40 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/713311437598476386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/713311437598476386'/><link rel='alternate' type='text/html' href='http://pcgrind.blogspot.com/2009/12/optimize-citrix-web-client-for-wan.html' title='Optimize Citrix Web Client for WAN caching'/><author><name>Edwin</name><uri>http://www.blogger.com/profile/06724577005304650681</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://farm1.static.flickr.com/37/92239178_34fc620bfa_t.jpg'/></author><thr:total>40</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7091472558752624519.post-2881356194151467085</id><published>2009-06-04T12:51:00.000-07:00</published><updated>2009-08-05T17:39:08.259-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IrfanView Multipage TIF to PDF resize crop border overlay watermark'/><title type='text'>Using IrfanView to make major image modifications.</title><content type='html'>This is posted mainly for my future reference, but it probably is helpful to others.&lt;br /&gt;&lt;br /&gt;What I am doing is taking single page TIF Files of various sizes and DPI and creating a multi page PDF with proper formatting and aspect ratios.   Below is the settings and code to do this using IrfranView.  What I'm actually doing is much more complex than this, but this is enough of the code to figure it out without trial and error like I did.   Ifranview has a lot  more power than is documented.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The source files are single page TIF files of varying sizes at 200DPI.   The destination is a PDF of same sized images which view and print nicely.&lt;br /&gt;&lt;br /&gt;The INI file i_view32.ini has the following added to it to make these transitions;&lt;br /&gt;[Batch]&lt;br /&gt;AdvCrop=0&lt;br /&gt;AdvCropX=0&lt;br /&gt;AdvCropY=0&lt;br /&gt;AdvCropW=0&lt;br /&gt;AdvCropH=0&lt;br /&gt;AdvCropC=0&lt;br /&gt;AdvResize=0&lt;br /&gt;AdvResizeOpt=0&lt;br /&gt;AdvResizeW=966.00&lt;br /&gt;AdvResizeH=1020.00&lt;br /&gt;AdvResizeL=0.00&lt;br /&gt;AdvResizeS=0.00&lt;br /&gt;AdvResample=1&lt;br /&gt;AdvResizePerc=0&lt;br /&gt;AdvResizePercW=0&lt;br /&gt;AdvResizePercH=0&lt;br /&gt;AdvDPI=120&lt;br /&gt;AdvResizeUnit=0&lt;br /&gt;AdvResizeRatio=0&lt;br /&gt;AdvNoEnlarge=0&lt;br /&gt;AdvCanvas=1&lt;br /&gt;AdvAddText=1&lt;br /&gt;AdvUseBPP=0&lt;br /&gt;AdvBPP=0&lt;br /&gt;AdvUseFSDither=1&lt;br /&gt;AdvAutoRGB=0&lt;br /&gt;AdvHFlip=0&lt;br /&gt;AdvVFlip=0&lt;br /&gt;AdvRLeft=0&lt;br /&gt;AdvRRight=0&lt;br /&gt;AdvGray=0&lt;br /&gt;AdvInvert=0&lt;br /&gt;AdvSharpen=0&lt;br /&gt;AdvGamma=0&lt;br /&gt;AdvContrast=0&lt;br /&gt;AdvBrightness=0&lt;br /&gt;AdvSaturation=0&lt;br /&gt;AdvColR=0&lt;br /&gt;AdvColG=0&lt;br /&gt;AdvColB=0&lt;br /&gt;AdvSharpenVal=1&lt;br /&gt;AdvGammaVal=0.00&lt;br /&gt;AdvContrastVal=0&lt;br /&gt;AdvBrightnessVal=0&lt;br /&gt;AdvSaturationVal=0&lt;br /&gt;AdvColRVal=0&lt;br /&gt;AdvColGVal=0&lt;br /&gt;AdvColBVal=0&lt;br /&gt;AdvDelOrg=0&lt;br /&gt;AdvOverwrite=1&lt;br /&gt;AdvSubdirs=0&lt;br /&gt;AdvSaveOldDate=0&lt;br /&gt;AdvAllPages=1&lt;br /&gt;AdvFineR=0&lt;br /&gt;AdvFineRVal=0.00&lt;br /&gt;AdvBlur=0&lt;br /&gt;AdvBlurVal=1&lt;br /&gt;AdvMedian=0&lt;br /&gt;AdvMedianVal=3&lt;br /&gt;AdvRbg=0&lt;br /&gt;AdvBgr=0&lt;br /&gt;AdvBrg=0&lt;br /&gt;AdvGrb=0&lt;br /&gt;AdvGbr=0&lt;br /&gt;AdvAutoCrop=0&lt;br /&gt;SaveExtension=tif&lt;br /&gt;Work=0&lt;br /&gt;RenamePattern=image###&lt;br /&gt;UseAdvanced=1&lt;br /&gt;OpenIndex=1&lt;br /&gt;UseAdvanced=1&lt;br /&gt;OpenIndex=1&lt;br /&gt;[Effects]&lt;br /&gt;UseResample=0&lt;br /&gt;CanvB=1110&lt;br /&gt;CanvW=1110&lt;br /&gt;CanvColor=16777215&lt;br /&gt;OilPaint=0&lt;br /&gt;RotateDegrees=0&lt;br /&gt;CanvL=0&lt;br /&gt;CanvR=966&lt;br /&gt;CanvT=0&lt;br /&gt;[BatchText]&lt;br /&gt;AddText=www.YourWebsite.com&lt;br /&gt;TextCoord=830;1050;960;1100;&lt;br /&gt;Corner=0&lt;br /&gt;Orientation=2&lt;br /&gt;TranspText=0&lt;br /&gt;FontColor=0&lt;br /&gt;TxtBgkr=16777215&lt;br /&gt;FontParam=-13|0|0|0|400|0|0|0|0|3|2|1|34|&lt;br /&gt;Font=Arial&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The code below is VBScript for applications which makes this change.&lt;br /&gt;&lt;br /&gt;This is a subsection of code.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;for looper = 1 to cnt2&lt;br /&gt;       WriteInfo "mailfile:" &amp;amp; PDFFileName, TIFFilename&lt;br /&gt;   'Convert all the TIFs in the owerns folder to 120 DPI for printing to look right;&lt;br /&gt;   Shellto = "C:\Progra~1\IrfanView\i_view32.exe " + chr(34) + "c:\temp\stm\" &amp;amp; OWNERCLEAN &amp;amp; "\" &amp;amp; Cstr(looper) &amp;amp; ".tif" + chr(34) + " /advancedbatch /silent /dpi=(120,120) /crop=(0,0,966,1110) /append=" + chr(34) + "c:\temp\stm\" &amp;amp; OWNERCLEAN &amp;amp; "aaaa.tif" + chr(34)    &amp;amp; " /convert"&lt;br /&gt;   WriteInfo "Shellto:" &amp;amp;  Shellto&lt;br /&gt;   Set oShell = CreateObject("WScript.Shell")&lt;br /&gt;         rc = oShell.Run(ShellTo,4,false)&lt;br /&gt;         'need to add code to wait until shell is complete&lt;br /&gt;       set svc=getobject("winmgmts:root\cimv2")&lt;br /&gt;       sQuery="select * from win32_process where name='i_view32.exe'"&lt;br /&gt;       set cproc=svc.execquery(sQuery)&lt;br /&gt;       iniproc=cproc.count    'it can be more than 1&lt;br /&gt;       Do While iniproc &lt;&gt; 0&lt;br /&gt;         &lt;br /&gt;           set svc=getobject("winmgmts:root\cimv2")&lt;br /&gt;           sQuery="select * from win32_process where name='i_view32.exe'"&lt;br /&gt;           set cproc=svc.execquery(sQuery)&lt;br /&gt;           iniproc=cproc.count&lt;br /&gt;       Loop&lt;br /&gt;       set cproc=nothing&lt;br /&gt;       set svc=nothing&lt;br /&gt;next&lt;br /&gt;     &lt;br /&gt;'Take the TIF&lt;br /&gt;   'Shellto = "C:\Progra~1\IrfanView\i_view32.exe " + chr(34) + TIFFileName + chr(34) + " /silent /dpi=(120,120) /convert=" + chr(34) + PDFFileName + chr(34)  &lt;br /&gt;   Shellto = "C:\Progra~1\IrfanView\i_view32.exe " + chr(34) + "c:\temp\stm\" &amp;amp; OWNERCLEAN &amp;amp; "aaaa.tif"  + chr(34) + " /silent /dpi=(120,120) /convert=" + chr(34) + PDFFileName + chr(34)        &amp;amp; " /convert"&lt;br /&gt;   WriteInfo "Shellto:" &amp;amp;  Shellto&lt;br /&gt;     'Dim oShell&lt;br /&gt;     Set oShell = CreateObject("WScript.Shell")&lt;br /&gt;     rc = oShell.Run(ShellTo,4,false)&lt;br /&gt;     'need to add code to wait until shell is complete&lt;br /&gt;   set svc=getobject("winmgmts:root\cimv2")&lt;br /&gt;   sQuery="select * from win32_process where name='i_view32.exe'"&lt;br /&gt;   set cproc=svc.execquery(sQuery)&lt;br /&gt;   iniproc=cproc.count    'it can be more than 1&lt;br /&gt;   Do While iniproc &lt;&gt; 0&lt;br /&gt;     &lt;br /&gt;       set svc=getobject("winmgmts:root\cimv2")&lt;br /&gt;       sQuery="select * from win32_process where name='i_view32.exe'"&lt;br /&gt;       set cproc=svc.execquery(sQuery)&lt;br /&gt;       iniproc=cproc.count&lt;br /&gt;   Loop&lt;br /&gt;   set cproc=nothing&lt;br /&gt;   set svc=nothing&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Understanding it.   The INI addes a white border to the right at bottom of the image.  It is X and Y are the page width and lenght of the largest page.  Think of it this way.  If you get a TIF image which is 1x1 then this will add a border to make it a full page.   If it's already a full page, you have a huge image.   But that is ok at this point.  I specify white for this border as this is a text image.  This is the settings CanvR CanvW CanvH.&lt;br /&gt;&lt;br /&gt;The INI also puts a watermark in an X Y position which in this case will be the lower right corner of the page.   www.Yourwebsite.com.&lt;br /&gt;&lt;br /&gt;i_view32.exe " + chr(34) + "c:\temp\stm\" &amp;amp; OWNERCLEAN &amp;amp; "\" &amp;amp; Cstr(looper) &amp;amp; ".tif" + chr(34) + " /advancedbatch /silent /dpi=(120,120) /crop=(0,0,966,1110) /append=" + chr(34) + "c:\temp\stm\" &amp;amp; OWNERCLEAN &amp;amp; "aaaa.tif" + chr(34)    &amp;amp; " /convert"&lt;br /&gt;&lt;br /&gt;So this says take a source TIF, run it through the advanced batch conversion settings explained above, do this silently if there is an error (don't stop), modify the print DPI to 120x120, then crop that result down to 966x1110 and append that to a multipage TIF.  /convert at the end tells Irfanview to close after all of this is done.&lt;br /&gt;&lt;br /&gt;C:\Progra~1\IrfanView\i_view32.exe " + chr(34) + TIFFileName + chr(34) + " /silent /dpi=(120,120) /convert=" + chr(34) + PDFFileName + chr(34)  &lt;br /&gt;   Shellto = "C:\Progra~1\IrfanView\i_view32.exe " + chr(34) + "c:\temp\stm\" &amp;amp; OWNERCLEAN &amp;amp; "aaaa.tif"  + chr(34) + " /silent /dpi=(120,120) /convert=" + chr(34) + PDFFileName + chr(34)        &amp;amp; " /convert"&lt;br /&gt;&lt;br /&gt;This takes the resulting multipage TIF file and converts it to a multipage PDF using the Alternatif PDF Pluging (You have to have the addon plugins.) &lt;br /&gt;&lt;br /&gt;This is the result of several weeks of discovery.  Many of these features of Irfanview seem poorly documented.  Once you discover the true power of the program, it is an amazing piece of software.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7091472558752624519-2881356194151467085?l=pcgrind.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pcgrind.blogspot.com/feeds/2881356194151467085/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7091472558752624519&amp;postID=2881356194151467085' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/2881356194151467085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/2881356194151467085'/><link rel='alternate' type='text/html' href='http://pcgrind.blogspot.com/2009/06/using-irfanview-to-make-major-image.html' title='Using IrfanView to make major image modifications.'/><author><name>Edwin</name><uri>http://www.blogger.com/profile/06724577005304650681</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://farm1.static.flickr.com/37/92239178_34fc620bfa_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7091472558752624519.post-6311517019942902225</id><published>2009-04-20T12:02:00.000-07:00</published><updated>2009-04-20T12:07:58.382-07:00</updated><title type='text'>DL320 G3 drivers for non 2000/2003</title><content type='html'>The IDE is a Mega Raid IDE 100 from LSI; http://www.lsi.com/obsolete/megaraid_ide_100_2567.html?remote=1&amp;amp;locale=EN&lt;br /&gt;&lt;br /&gt;The NICs are Broadcom nc7761 which are BCM5704.  Find the BCM57xx series NIC drivers and you are set.&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7091472558752624519-6311517019942902225?l=pcgrind.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pcgrind.blogspot.com/feeds/6311517019942902225/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7091472558752624519&amp;postID=6311517019942902225' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/6311517019942902225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/6311517019942902225'/><link rel='alternate' type='text/html' href='http://pcgrind.blogspot.com/2009/04/dl320-g3-drivers-for-non-20002003.html' title='DL320 G3 drivers for non 2000/2003'/><author><name>Edwin</name><uri>http://www.blogger.com/profile/06724577005304650681</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://farm1.static.flickr.com/37/92239178_34fc620bfa_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7091472558752624519.post-8710114796575048915</id><published>2009-01-02T10:38:00.000-08:00</published><updated>2009-01-02T11:07:17.943-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='P2P FILTERING'/><category scheme='http://www.blogger.com/atom/ns#' term='NEW P2P IDEA'/><category scheme='http://www.blogger.com/atom/ns#' term='P2P'/><category scheme='http://www.blogger.com/atom/ns#' term='BANDWIDTH'/><title type='text'>Bypassing P2P restrictions by utilizing SMTP/POP3</title><content type='html'>I'm on the other end of the blocking side here. I actively try to block and or rate limit P2P traffic on my company LANs. We pay for bandwidth and it is many thousands of dollars extra a month to allow this, as we have over 100Mb/s worth of connectivity to the Internet.&lt;br /&gt;&lt;br /&gt;I see the battles being played out. First it's a port range, now it can be any port. Then we were able to detect based on signatures in the unencrypted traffic so p2p was switched to SSL. Then we found out we could rate limit anything on a port other than 443 that was SSL but had an invalid certificate (with some exceptions.) So protocol obfuscation was added so we can't tell what protocol it is. But that has a pattern too. Some use bursting limits to detect this, some use packet counts to remote IP's.&lt;br /&gt;&lt;br /&gt;There is a thought that this can be moved to UDP to bypass these restrictions due to the lack of SYN control. Plus with UDP and a remote "server", one can poke holes into any firewall and bypass inbound restrictions. But this counts on UDP being opened up outbound. While serving DNS from a local server, we could easily block UDP with a few exception sites.&lt;br /&gt;&lt;br /&gt;My idea is to use SMTP and POP3 as additional protocols, not replacement. Using a dedicated real e-mail address for this. If I detect a very tight network such as what I have (eMule gets 1kb/s, Gnutella about 10kb/s on the open network, completely blocked on the closed network) then send my "p2p" e-mail address out to peers, and ask for theirs.&lt;br /&gt;&lt;br /&gt;Do an initial exchange setup verify. A remote peer sends my e-mail address an e-mail to verify it can talk to me, and I send one to it. If the software verifies connectivity then packets are sent out via SMTP and downloaded via POP3. This can been over SSL if needed. This is done to prevent some innocent from getting bombarded with these mails.&lt;br /&gt;&lt;br /&gt;The e-mails would have nothing in the headers to do pattern matching against. They would generate a very basic envelope. The subject would be completely random set of words. The body would also include a random set of words or phrases. The math behind this would be ever changing to prevent Bayesian filtering. The e-mail body (not attachment) would contain the “packet” to be transferred in lines that are between 5 and 70 characters in length. These lines would be SMTP RFC character set compliant. Each e-mail would be no more than 1Mbit in size. This would be data that is encrypted using something like AES or TwoFish and then mime encoded.&lt;br /&gt;&lt;br /&gt;The peer I am requesting data from would send this to it's SMTP server, which would end up making it to my POP3 server. My P2P client would download the e-mail and decode it. I would send back an ACK to the peers e-mail address and await the next packet via POP3.&lt;br /&gt;&lt;br /&gt;This would place a huge load on ISP mail servers. Most ISPs block outbound port 25, mandating the use of their SMTP servers though. If we used any other port, then packet shaping would work again.&lt;br /&gt;&lt;br /&gt;The idea is that this would be just one of many ways to transfer data. The P2P client would try and figure out which was was the fastest by trying each method. If it finds one method is much faster than another, then it would prefer that for a period of time. If the ISP has their bandwidth shaping between the Internet and their own networks it is possible that this could bypass those filters. If you are on ISP#1 and 20 other peers are too, and you are using their mail servers, all such transfers are local and would not pass by such a bandwidth filter.&lt;br /&gt;&lt;br /&gt;An example of an exchange;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;From:&lt;br /&gt;To:&lt;br /&gt;Subject: One was fast not enough more time&lt;br /&gt;Date: Tue, 22 Apr 2008 00:53:11 -0700&lt;br /&gt;Message-ID: &lt;12394@ru.dot&gt;&lt;br /&gt;MIME-Version: 1.0&lt;br /&gt;Importance: normal&lt;br /&gt;Priority: normal&lt;br /&gt;&lt;br /&gt;This time once fast was enough blow down sky tonight. Lost ever more not as such. Could be nice review this.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ADSK3K39VK2KJN3LKC0A9DFLKJ23LKNL2K3N4K3909DFALDFK&lt;br /&gt;ASLKFJ2LK3J4L2K3L2K3J490GBLAK1JH2LH509BUASDLKFJASED&lt;br /&gt;9A99DLKD988323JHLKBN2LK3HJLKB09ASDFL23KHL5908GKLAA&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7091472558752624519-8710114796575048915?l=pcgrind.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pcgrind.blogspot.com/feeds/8710114796575048915/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7091472558752624519&amp;postID=8710114796575048915' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/8710114796575048915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/8710114796575048915'/><link rel='alternate' type='text/html' href='http://pcgrind.blogspot.com/2009/01/bypassing-p2p-restrictions-by-utilizing.html' title='Bypassing P2P restrictions by utilizing SMTP/POP3'/><author><name>Edwin</name><uri>http://www.blogger.com/profile/06724577005304650681</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://farm1.static.flickr.com/37/92239178_34fc620bfa_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7091472558752624519.post-3906203381202513740</id><published>2008-11-03T08:50:00.000-08:00</published><updated>2008-11-03T08:53:07.893-08:00</updated><title type='text'>Why cloning sucks</title><content type='html'>First and foremost, I am against cloning.  I do it because I am told to.e&lt;br /&gt;&lt;br /&gt;We ordered a batch of HP DC5750's.   We made a clone doing sysprep et al.   Life was good.  But then after the PC's were installed 1000 miles away we discovered that we built the clone from a dual core system and most of the PC's are single core.&lt;br /&gt;&lt;br /&gt;Now every time we lauch notepad, control panel, my computer - the system freezes for up to 2 or 3 minutes.  The PC's are also reporting hard drive errors.&lt;br /&gt;&lt;br /&gt;The fix is to go in and hardware manager and swap the dual processor APIC driver for a single processor.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7091472558752624519-3906203381202513740?l=pcgrind.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pcgrind.blogspot.com/feeds/3906203381202513740/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7091472558752624519&amp;postID=3906203381202513740' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/3906203381202513740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/3906203381202513740'/><link rel='alternate' type='text/html' href='http://pcgrind.blogspot.com/2008/11/why-cloning-sucks.html' title='Why cloning sucks'/><author><name>Edwin</name><uri>http://www.blogger.com/profile/06724577005304650681</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://farm1.static.flickr.com/37/92239178_34fc620bfa_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7091472558752624519.post-5128131313893062498</id><published>2008-09-23T08:56:00.000-07:00</published><updated>2008-09-23T09:10:35.488-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Group Policy'/><category scheme='http://www.blogger.com/atom/ns#' term='event id 1006'/><category scheme='http://www.blogger.com/atom/ns#' term='acitve directory'/><title type='text'>Windows Active Directory issues with Binding</title><content type='html'>These are the errors;&lt;br /&gt;&lt;br /&gt;Windows cannot bind to  domain. (Local Error). Group Policy processing aborted.&lt;br /&gt;&lt;br /&gt;Windows cannot query for the list of Group Policy objects. A message that describes the reason for this was previously logged by the policy engine.&lt;br /&gt;&lt;br /&gt;Ends up that one of our network guys installed a new server and it was running Computer Browser, and causing constant elections.  So the Computer Browser service was down as much as it was up.&lt;br /&gt;&lt;br /&gt;We run 3 Computer Browser servers on our LAN to prevent these elections and the guy forgot to disable the service on the new server.  Once he disabled the service, I was able to run gpupdate without errors.&lt;br /&gt;&lt;br /&gt;This was causing slow logins / logons as well.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7091472558752624519-5128131313893062498?l=pcgrind.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pcgrind.blogspot.com/feeds/5128131313893062498/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7091472558752624519&amp;postID=5128131313893062498' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/5128131313893062498'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/5128131313893062498'/><link rel='alternate' type='text/html' href='http://pcgrind.blogspot.com/2008/09/windows-active-directory-issues-with.html' title='Windows Active Directory issues with Binding'/><author><name>Edwin</name><uri>http://www.blogger.com/profile/06724577005304650681</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://farm1.static.flickr.com/37/92239178_34fc620bfa_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7091472558752624519.post-3369344463282534331</id><published>2008-09-19T08:06:00.001-07:00</published><updated>2008-09-19T08:17:02.876-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ghost'/><category scheme='http://www.blogger.com/atom/ns#' term='r300'/><category scheme='http://www.blogger.com/atom/ns#' term='dell'/><category scheme='http://www.blogger.com/atom/ns#' term='barts pe'/><category scheme='http://www.blogger.com/atom/ns#' term='clone'/><category scheme='http://www.blogger.com/atom/ns#' term='boot'/><title type='text'>Making a Ghost 8.2 clone of my Dell R300 server.</title><content type='html'>I have historically used Compaq/HP Proliant servers with Intel NICs and chipsets that I have boot disks for.   I typically use an older version of the Ultimate Boot Disk which contains Bart's Network Boot Disk, the Microsoft DOS version.   I boot to the network in DOS, map a drive, and run ghost.exe to back up the SCSI drives to the LAN.&lt;br /&gt;&lt;br /&gt;This doesn't work on my Dell R300.   It has too much memory so I run into that issue.  Plus there are nasty problems with B57.sys in this environment.  &lt;br /&gt;&lt;br /&gt;The solution was to download from NU2.com Bart's PE Builder.  I installed that and pointed it to my XP SP3 CD (or the parent of the i386 Directory on a network.)  Then I took the B57 drivers from Broadcom's site.  The drivers are the small K ones, unsigned.  The Zip has win_xp_2k3_32 and in that it has b57win32.inf 03/19/2008,10.78.0.0 for the 5700 series.  This Dell has 5722 NIC's.&lt;br /&gt;&lt;br /&gt;Then I went to LSI's site and did a search for the XP drivers for the SAS controller.   The ZIP file has symmpi_xp_x86 and in that lsipseud.inf driver version 06/03/2008,6.5.0.  The link is http://www.lsi.com/storage_home/products_home/standard_product_ics/sas_ics/lsisas1068/index.html and click on downloads.  The driver is the XP one which is 1.28.03.00.  I did not use the WHQL one.  I tried the Windows 2003 one from Dell, but that doesn't work in a WINXP OS.&lt;br /&gt;&lt;br /&gt;So those are downloaded and put in the C:\pebuilder3110a\drivers\ directories.&lt;br /&gt;&lt;br /&gt;I then went into addons and added the Ghost 8.2 files.&lt;br /&gt;&lt;br /&gt;Then I created a bootable DVD using the PE builder interface.&lt;br /&gt;&lt;br /&gt;I booted up off the DVD and started up the NIC's.   Once started, I mapped a drive and ghosted to the network.   I was able to see speeds over 1GB/min writing and over 2GB/min on verify.  Much quicker than I ever got in DOS.&lt;br /&gt;&lt;br /&gt;Anyway, this is how you can GHOST 8.2 a Dell R300 server for disaster recovery.   I'm sure you could use this for DD or any other disk cloaning software.  I have yet to try restoring the GHOST yet.  Hopefully I never will have to try that.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7091472558752624519-3369344463282534331?l=pcgrind.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pcgrind.blogspot.com/feeds/3369344463282534331/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7091472558752624519&amp;postID=3369344463282534331' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/3369344463282534331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/3369344463282534331'/><link rel='alternate' type='text/html' href='http://pcgrind.blogspot.com/2008/09/making-ghost-82-clone-of-my-dell-r300.html' title='Making a Ghost 8.2 clone of my Dell R300 server.'/><author><name>Edwin</name><uri>http://www.blogger.com/profile/06724577005304650681</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://farm1.static.flickr.com/37/92239178_34fc620bfa_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7091472558752624519.post-4717431280090537836</id><published>2008-05-16T08:43:00.000-07:00</published><updated>2009-08-05T17:42:21.022-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Axis camera time lapse video wget snapshot mencoder irfanview'/><title type='text'>How to grab still images off AXIS cameras and generate time lapse movies from them.</title><content type='html'>This depends on several free programs.  mencoder which comes with mplayer2, sleep from Microsoft resource kit, and Irfanview 4.10 or better.&lt;br /&gt;&lt;br /&gt;The first batch file grabs the images and looks like this;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;e:&lt;br /&gt;cd \&lt;br /&gt;md xvid&lt;br /&gt;cd\xvid&lt;br /&gt;md 8080&lt;br /&gt;md 8081&lt;br /&gt;&lt;br /&gt;:top&lt;br /&gt;wget -O8081.jpg --tries=1 --timeout=5 "http://user:pwd@domain.dyndns.org:8081/jpg/1/image.jpg"&lt;br /&gt;wget -O8080.jpg --tries=1 --timeout=5 "http://user:pwd@domain.dyndns.org:8080/axis-cgi/jpg/image.cgi?camera=1&amp;amp;resolution=1024x800&amp;amp;compression=50"&lt;br /&gt;&lt;br /&gt;rem If you want an e-mail of the image, use this;&lt;br /&gt;rem E:\Blat250\Blat250\full\blat.exe - -body "8081" -serversmtp gmail-smtp-in.l.google.com -f fromuser@domain.com -subject "8081" -to user@gmail.com -attach 8081.jpg -noh2 -alttext Camera&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;setlocal&lt;br /&gt;&lt;br /&gt;call :GETDATEPARTS "%date%"&lt;br /&gt;call :GETTIMEPARTS&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ren 8081.jpg "8081-%yy%%mm%%dd%_%h%%m%%RANDOM%.jpg"&lt;br /&gt;ren 8080.jpg "8080-%yy%%mm%%dd%_%h%%m%%RANDOM%.jpg"&lt;br /&gt;&lt;br /&gt;move 8081*.jpg 8081\.&lt;br /&gt;move 8080*.jpg 8080\.&lt;br /&gt;sleep 10&lt;br /&gt;goto top&lt;br /&gt;&lt;br /&gt;:GETTIMEPARTS&lt;br /&gt;&lt;br /&gt;for /f "tokens=1-3 delims=:." %%a in ('echo %time%') do call :SETTIMEPART h %%a&amp;amp;call :SETTIMEPART m %%b&amp;amp;call :SETTIMEPART s %%c&lt;br /&gt;&lt;br /&gt;goto :EOF&lt;br /&gt;&lt;br /&gt;:SETTIMEPART&lt;br /&gt;&lt;br /&gt;set %1=%2&lt;br /&gt;&lt;br /&gt;if 1%2 LSS 100 set %1=0%2&lt;br /&gt;&lt;br /&gt;goto :EOF&lt;br /&gt;&lt;br /&gt;REM ***************************************************&lt;br /&gt;&lt;br /&gt;:GETDATEPARTS&lt;br /&gt;&lt;br /&gt;set dt=%~1&lt;br /&gt;set tok=1-3&lt;br /&gt;&lt;br /&gt;if "%dt:~0,1%" GTR "9" set tok=2-4&lt;br /&gt;&lt;br /&gt;set yyyy=&lt;br /&gt;&lt;br /&gt;for /f "tokens=%tok% delims=.:/-, " %%a in ('echo %~1') do (&lt;br /&gt; for /f "skip=1 tokens=2-4 delims=/-,()." %%x in ('echo.^|date') do set %%x=%%a&amp;amp;set %%y=%%b&amp;amp;set %%z=%%c&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;if not "%yyyy%"=="" set yy=%yyyy%&lt;br /&gt;&lt;br /&gt;if 1%yy% LSS 1000 (if %yy% LSS 70 (set yy=20%yy%) else (set yy=19%yy%))&lt;br /&gt;if 1%mm% LSS 100 set mm=0%mm%&lt;br /&gt;if 1%dd% LSS 100 set dd=0%dd%&lt;br /&gt;&lt;br /&gt;goto :EOF&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;====  That is the end of the first batch file.  It will grab an image from two cameras and save them with a date and time stamp in separate directories.  Obviously you must change this as is appropriate for your hard drive and LAN.&lt;br /&gt;&lt;br /&gt;The next batch file is below;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&lt;br /&gt;md e:\xvid\8080\old2&lt;br /&gt;md e:\xvid\8080\old3&lt;br /&gt;md e:\xvid\8081\old2&lt;br /&gt;md e:\xvid\8081\old3&lt;br /&gt;del e:\xvid\8081\old3\*.jpg /q/s&lt;br /&gt;del e:\xvid\8080\old3\*.jpg /q/s&lt;br /&gt;&lt;br /&gt;e:&lt;br /&gt;cd\xvid&lt;br /&gt;cd 8080&lt;br /&gt;move *.jpg old2\.&lt;br /&gt;cd old2&lt;br /&gt;&lt;br /&gt;rem cd "C:\Program Files\IrfanView"&lt;br /&gt;rem c:&lt;br /&gt;rem fails&lt;br /&gt;rem start /wait i_view32.exe "e:\xvid\8080\old2\*.jpg" /resize=(600,480) /resample /bpp=24 /aspectratio /jpgq=99 /convert="e:\xvid\8080\old3\*.jpg" /silent&lt;br /&gt;&lt;br /&gt;dir /b *.jpg &gt; proc.txt&lt;br /&gt;@for /f "delims=| tokens=1,2,3,4,5,6,7,8,9,10" %%i in (proc.txt) do (&lt;br /&gt;@echo %%i&lt;br /&gt;@echo %%j&lt;br /&gt;@C:\zentemp\unsecure\screenc\i_view32 "e:\xvid\8080\old2\%%i" /resample /bpp=24 /aspectratio /jpgq=99 /convert="e:\xvid\8080\old3\%%i" /silent&lt;br /&gt;)&lt;br /&gt;cd "C:\Program Files\IrfanView"&lt;br /&gt;c:&lt;br /&gt;@start /wait i_view32.exe "e:\xvid\8080\old3\*.jpg" /resize=(600,480) /resample /aspectratio /convert="e:\xvid\8080\old3\*.jpg" /silent&lt;br /&gt;&lt;br /&gt;@e:&lt;br /&gt;&lt;br /&gt;@e:&lt;br /&gt;@cd e:\xvid\8080\old3&lt;br /&gt;&lt;br /&gt;@mencoder mf://*.jpg  -mf fps=5:type=jpg -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=1800:vbitrate=500:keyint=15:vstrict=0:acodec=ac3:abitrate=64:aspect=4/3 -ofps 25 -o "c:\temp\8080-%DATE:/=%%TIME::=%.mpg"&lt;br /&gt;rem remove ,harddup from the line above to make this remove&lt;br /&gt;rem duplicate frames.  Resulting file is MUCH smaller, however quality does suffer.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;:try2&lt;br /&gt;@rem o now cam 8081&lt;br /&gt;&lt;br /&gt;e:&lt;br /&gt;cd\xvid&lt;br /&gt;cd 8081&lt;br /&gt;move *.jpg old2\.&lt;br /&gt;cd old2&lt;br /&gt;&lt;br /&gt;dir /b *.jpg &gt; proc.txt&lt;br /&gt;@for /f "delims=| tokens=1,2,3,4,5,6,7,8,9,10" %%i in (proc.txt) do (&lt;br /&gt;@echo %%i&lt;br /&gt;@echo %%j&lt;br /&gt;&lt;br /&gt;@C:\zentemp\unsecure\screenc\i_view32 "e:\xvid\8081\old2\%%i" /resample /bpp=24 /aspectratio /jpgq=99 /convert="e:\xvid\8081\old3\%%i" /silent&lt;br /&gt;)&lt;br /&gt;@cd "C:\Program Files\IrfanView"&lt;br /&gt;@c:&lt;br /&gt;@start /wait i_view32.exe "e:\xvid\8081\old3\*.jpg" /resize=(600,480) /resample /aspectratio /convert="e:\xvid\8081\old3\*.jpg" /silent&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;@e:&lt;br /&gt;@cd e:\xvid\8081\old3&lt;br /&gt;&lt;br /&gt;@mencoder mf://*.jpg  -mf fps=5:type=jpg -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=1800:vbitrate=500:keyint=15:vstrict=0:acodec=ac3:abitrate=64:aspect=4/3 -ofps 25 -o "c:\temp\8081-%DATE:/=%%TIME::=%.mpg"&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;That's a pretty big batch file.  What it does is take all of the JPG's and normalizes them using Irfan view.  Irfan view has some bugs, so we can't batch convert except for the resize.   AXIS sometimes returns back color images, sometimes black and white.  The encoding changes.  If we don't specify the size on the wget, then sometimes the size can change.   mencoder doesn't like any of this.  To make a movie, the images must all be the same.   Irfan view fills this role.&lt;br /&gt;&lt;br /&gt;The mencoder settings are set for high quality, not much compression.  You can adjust as needed.  This file plays very well in VideoLan (VLC player) if you have problems with codec's in your default media player.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7091472558752624519-4717431280090537836?l=pcgrind.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pcgrind.blogspot.com/feeds/4717431280090537836/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7091472558752624519&amp;postID=4717431280090537836' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/4717431280090537836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/4717431280090537836'/><link rel='alternate' type='text/html' href='http://pcgrind.blogspot.com/2008/05/how-to-grab-still-images-off-axis.html' title='How to grab still images off AXIS cameras and generate time lapse movies from them.'/><author><name>Edwin</name><uri>http://www.blogger.com/profile/06724577005304650681</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://farm1.static.flickr.com/37/92239178_34fc620bfa_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7091472558752624519.post-5778157156501928086</id><published>2008-04-16T14:59:00.000-07:00</published><updated>2008-04-16T15:02:51.008-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='eum surfcontrol'/><title type='text'>Surfcontrol EUM issue</title><content type='html'>There is a post "Surfcontrol EUM issue" in another site, which I have the answer to but can't reply - so here it is in case you do a Google search on this;&lt;br /&gt;&lt;br /&gt;--- The question on that site ---&lt;br /&gt;The problem is this:&lt;br /&gt;1. Windows user logs onto our domain.&lt;br /&gt;2. The EUM logon agent sends their domain\username and IP information to WebFilter.&lt;br /&gt;3. User shuts down and leaves office.&lt;br /&gt;4. MAC user boots up some time later and is DHCP'd the same IP (as the lease has since expired) 5. WebFilter incorrectly tracks/reports the browsing activities of the MAC user against the cached domain\username of the Windows user!!!&lt;br /&gt;&lt;br /&gt;Right now, we don't have a solution for the MAC situation however, for the momentI'd be more than happy if MAC activity was simply tracked by IP - but certainly not in the name of the previous Windows holder of the IP addresses.&lt;br /&gt;&lt;br /&gt;It seems to me that we need a way to regularly flush the EUM information that Webfilter stores.&lt;br /&gt;&lt;br /&gt;Please advise, as this problem completely voids the integrity of the data reported.&lt;br /&gt;&lt;br /&gt;-- The solution ---&lt;br /&gt;&lt;br /&gt;There is a EUM agent that runs through logon scripts.  It it ScEumLoginAgent.exe.   What you do is launch that on your clients with the /intlogoff option which will remove that user's mapping to the IP address.&lt;br /&gt;&lt;br /&gt;You can also run a logout script ScEumLoginAgent.exe /logout which will do the same thing, though Windows logout scripts are flaky at best.&lt;br /&gt;&lt;br /&gt;I'm using the first method.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7091472558752624519-5778157156501928086?l=pcgrind.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pcgrind.blogspot.com/feeds/5778157156501928086/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7091472558752624519&amp;postID=5778157156501928086' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/5778157156501928086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/5778157156501928086'/><link rel='alternate' type='text/html' href='http://pcgrind.blogspot.com/2008/04/surfcontrol-eum-issue.html' title='Surfcontrol EUM issue'/><author><name>Edwin</name><uri>http://www.blogger.com/profile/06724577005304650681</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://farm1.static.flickr.com/37/92239178_34fc620bfa_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7091472558752624519.post-139335582764736427</id><published>2008-04-04T09:23:00.000-07:00</published><updated>2008-05-16T09:10:21.973-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='snmp snmputil windows uptime extract MRTG netsnmp'/><title type='text'>Plotting uptime MRTG in Windows the easy way</title><content type='html'>First, snmputil locks up way too often.  So I've replaced it with net-snmp.&lt;br /&gt;&lt;br /&gt;Using net-snmp batch we are able to output uptime into a format which MRTG can plot.&lt;br /&gt;&lt;br /&gt;Step #1 is to output the data into a format which MRTG can utilize;&lt;br /&gt;----BEGIN BATCH FILE snmpED.bat----&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;@echo %~1 &gt; c:\temp\snmp.%~1.debug.txt&lt;br /&gt;@if exist c:\temp\snmp.%~1.txt del c:\temp\snmp.%~1.txt&lt;br /&gt;&lt;br /&gt;@rem snmputil get %~1 %~2 .1.3.6.1.2.1.1.3.0 &gt; c:\temp\snmp.%~1.debug2.txt&lt;br /&gt;&lt;br /&gt;@rem @snmputil get %~1 %~2 .1.3.6.1.2.1.1.3.0 | find "Value" &gt; c:\temp\snmp.%~1.txt&lt;br /&gt;@g:\usr\bin\snmpget -O svt -v 1 -c %2 %~1 .1.3.6.1.2.1.1.3.0 &gt; c:\temp\snmp.%~1.txt&lt;br /&gt;@sleep 1&lt;br /&gt;@SET _substring="not found"&lt;br /&gt;@set string="not found"&lt;br /&gt;@if not exist c:\temp\snmp.%~1.txt goto end&lt;br /&gt;@rem FOR /F "tokens=1,2,3,4,5,6,7,8,9,10" %%i IN (c:\temp\snmp.%~1.txt) DO @SET string=%%l&lt;br /&gt;@FOR /F "tokens=1,2,3,4,5,6,7,8,9,10" %%i IN (c:\temp\snmp.%~1.txt) DO @SET string=%%i&lt;br /&gt;@SET _substring=%string:~0,15%&lt;br /&gt;:end&lt;br /&gt;@echo %_substring% &lt;br /&gt;@echo %_substring% &lt;br /&gt;@echo UNKNOWN&lt;br /&gt;@echo %~1&lt;br /&gt;@rem echo %date% %time%,%_substring% &gt;&gt; c:\temp\%~1.snmp&lt;br /&gt;@if exist c:\temp\snmp.%~1.txt del /q c:\temp\snmp.%~1.txt&lt;br /&gt;@if exist c:\temp\snmp.%~1.debug.txt del c:\temp\snmp.%~1.debug.txt&lt;br /&gt;@if exist c:\temp\snmp.%~1.debug2.txt del c:\temp\snmp.%~1.debug2.txt&lt;br /&gt;@rem echo %date% %time%,%_substring% &gt;&gt; c:\temp\%~1.snmp    &lt;br /&gt;@REM Code by Edwin www.Acmenews.com ACMENEWS LLC&lt;br /&gt;@rem Use the above line to export for things such as Kavachart or other charting&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;----END BATCH FILE snmpED.bat----&lt;br /&gt;So I save this as %windir%\snmpED.bat and I call it with &lt;br /&gt;snmpED 192.168.11.1&lt;br /&gt;&lt;br /&gt;I get a file 192.168.11.1.snmp which has just the uptime ticks, in an MRTG format.&lt;br /&gt;&lt;br /&gt;The next step is to plog this in MRTG.&lt;br /&gt;&lt;br /&gt;So I take an existing working MRTG cfg file and append&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;Title[^]: System:Cisco uptime by Edwin www.Acmenews.com ACMENEWS LLC&lt;br /&gt;Background[Cisco_uptime]: #e0e0e0&lt;br /&gt;Title[Cisco_uptime]:Cisco uptime&lt;br /&gt;PageTop[Cisco_uptime]: Status of Cisco&lt;br /&gt;Target[Cisco_uptime]: `c:/winnt/snmped.bat 192.168.11.1 public`&lt;br /&gt;RouterUptime[Cisco_uptime]: public@192.168.11.1&lt;br /&gt;Options[Cisco_uptime]: gauge, growright, nopercent, unknaszero&lt;br /&gt;ShortLegend[Cisco_uptime]: &amp;nbsp&lt;br /&gt;YLegend[Cisco_uptime]: uptime&lt;br /&gt;Legend1[Cisco_uptime]: uptime&lt;br /&gt;Legend2[Cisco_uptime]: uptime&lt;br /&gt;LegendI[Cisco_uptime]: uptime&lt;br /&gt;LegendO[Cisco_uptime]: uptime&lt;br /&gt;MaxBytes[Cisco_uptime]: 100000000000000&lt;br /&gt;WithPeak[Cisco_uptime]: ymwd&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;One thing to note about target.  Those are carats and not apostrophes.  That took me a few hours to grasp.  It's the character under ~  and not the character shared with the " key.&lt;br /&gt;&lt;br /&gt;With the above chart, you should end up with a saw graph showing the ever increasing uptime.  When the saw drops back to 0 and climbs up, that is when a reboot occurred.  If you couldn't query the device, you will see a saw with missing segments.   &lt;br /&gt;&lt;br /&gt;This is plotting uptime -- it is not plotting downtime.  With this you can see when reboots occurred, but you can't tell for how long you were down.  At least not with any great accuracy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7091472558752624519-139335582764736427?l=pcgrind.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pcgrind.blogspot.com/feeds/139335582764736427/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7091472558752624519&amp;postID=139335582764736427' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/139335582764736427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/139335582764736427'/><link rel='alternate' type='text/html' href='http://pcgrind.blogspot.com/2008/04/plotting-uptime-using-free-software.html' title='Plotting uptime MRTG in Windows the easy way'/><author><name>Edwin</name><uri>http://www.blogger.com/profile/06724577005304650681</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://farm1.static.flickr.com/37/92239178_34fc620bfa_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7091472558752624519.post-2018103151613736616</id><published>2008-03-27T10:24:00.000-07:00</published><updated>2008-03-27T10:32:50.041-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mplayer mencoder axis cctv wget batch vlc'/><title type='text'>How to grab images off an Axis camera and save them in a time lapse format</title><content type='html'>I have two Axis Cameras which I want to grab an image from every 10 seconds and store offsite.&lt;br /&gt;My Firewall is configured to pass traffic on ports 1081 and 1080 to the two Axis cameras.&lt;br /&gt;&lt;br /&gt;Below is a batch file to accomplish this.  It relies upon WGET and SLEEP which is free to download if you search.&lt;br /&gt;&lt;br /&gt;:top&lt;br /&gt;wget -O1081.jpg http://user:password@yourdnsname:1081/jpg/1/image.jpg&lt;br /&gt;wget -O1080.jpg http://user:password@yourdnsname:1080/jpg/1/image.jpg&lt;br /&gt;ren 1081.jpg 1081-%DATE:/=%%TIME::=%.jpg&lt;br /&gt;ren 1080.jpg 1080-%DATE:/=%%TIME::=%.jpg&lt;br /&gt;move 1081*.jpg 1081\.&lt;br /&gt;move 1080*.jpg 1080\.&lt;br /&gt;sleep 10 &lt;br /&gt;goto top&lt;br /&gt;&lt;br /&gt;Store that in a batch file in an empty directory along with WGET.   Create two directories named 1080 and 1081.&lt;br /&gt;&lt;br /&gt;Launch the batch file -- it will loop forever, storing your images in these directories.&lt;br /&gt;&lt;br /&gt;Now, turn them into a time lapse film using mplayer..&lt;br /&gt;&lt;br /&gt;Download mplayer (Search Google) and extract mencoder from the zip file.  Place that in this directory..&lt;br /&gt;&lt;br /&gt;Create another batch file with these contents;&lt;br /&gt;c:&lt;br /&gt;cd \yourdir\1080&lt;br /&gt;mencoder mf://*.jpg  -mf fps=5:type=jpg -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=1800:vbitrate=500:keyint=15:vstrict=0:acodec=ac3:abitrate=64:aspect=4/3 -ofps 25 -o c:\yourdir\1080.mpg&lt;br /&gt;&lt;br /&gt;cd \yourdir\1081&lt;br /&gt;mencoder mf://*.jpg  -mf fps=5:type=jpg -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=1800:vbitrate=500:keyint=15:vstrict=0:acodec=ac3:abitrate=64:aspect=4/3 -ofps 25 -o c:\yourdir\1081.mpg&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Of course replace c:\yourdir with the proper location.   This will generate an mpg video of all these JPG's, and it will remove any duplicate images.   Change fps from 25 to 5 for a slower view.  Change maxrate and bitrate higher to get better quality.   &lt;br /&gt;&lt;br /&gt;If you have problems playing the mpg, you can use mplayer to play it or download VLC Videolan and play it through that.  I use VLC because it can also stream directly from the AXIS camera and has it's own recording options..  But that's a different post.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7091472558752624519-2018103151613736616?l=pcgrind.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pcgrind.blogspot.com/feeds/2018103151613736616/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7091472558752624519&amp;postID=2018103151613736616' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/2018103151613736616'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/2018103151613736616'/><link rel='alternate' type='text/html' href='http://pcgrind.blogspot.com/2008/03/how-to-grab-images-off-axis-camera-and.html' title='How to grab images off an Axis camera and save them in a time lapse format'/><author><name>Edwin</name><uri>http://www.blogger.com/profile/06724577005304650681</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://farm1.static.flickr.com/37/92239178_34fc620bfa_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7091472558752624519.post-4661312540891906107</id><published>2008-02-22T11:27:00.000-08:00</published><updated>2008-02-22T11:39:07.952-08:00</updated><title type='text'>Mac OSX 10.5.x Leopard</title><content type='html'>So I've been running a Mac OS X Leopard machine from 10.5.0 to 10.50.2 and it has been a journey for this Windows user.&lt;br /&gt;&lt;br /&gt;While the OS looks pretty, and many things are dumbed down for use, there are still many issues with this OS that make me wonder why so many people praise it's tunes.&lt;br /&gt;&lt;br /&gt;Issue A, in no particular order)   Lockups.   I have had many lockups on 10.5.x.  They still continue.  Many patches have been released, but the issues still occur.  Most of the time it is while I am playing something either in iTunes, DVD Player, or Front Row.  It will often hard lock requiring a power cycle. &lt;br /&gt;&lt;br /&gt;Issue B) Bugs.  There are many plain bugs in the system.  They just released a firmware update to resolve an issue where you type a key stroke and nothing happens.  This has been a royal pain to deal with, especially on passwords.   Things are better now, but not resolve.  In Mail if I change an account from IMAP to IMAPS it will show the port 993 (usually) in the screen - but it tries to connect with port 143 per the firewall logs.   Have to mess with it over and over and finally it will take.  The Network Neighborhood seems to only check for clients at startup, and then drop them off as they sleep - but never update with new clients.   The only way to get the list back again that I've found is to drop Airport and bring it back online.   iChat bombs out during video chats.  &lt;br /&gt;&lt;br /&gt;Issue C) The thing gets very hot, especially in bootcamp.  No temperature controls in Windows.&lt;br /&gt;&lt;br /&gt;Issue D) Can't listen to unprotected WMA's in iTunes.  WTF?&lt;br /&gt;&lt;br /&gt;Issue E) Hardware.  Only two USB ports and only one providing the full mA of power.  No media buttons.  Metal case shocks the crap out of you if you have a static charge.  Plugging something into the speaker jack often kills the audio signal completely.  Especially in games.   Restarting the audio in the game will fix it, if it has that option.&lt;br /&gt;&lt;br /&gt;Issue F)  Nothing like NTBackup included.  Must purchase .Mac or some other tool to get backup software.  Time Machine hardware is expensive.  Why can't I do system recovery backup to my USB drive with out of the box software?&lt;br /&gt;&lt;br /&gt;Issue G) No NTFS read/write built in.  Again, wtf?  I'm not installing NTFS-3G et al when the projects are either dead, have known issues which say do not install in production environments, or commercial.   This should be out of the box.&lt;br /&gt;&lt;br /&gt;For the most part, I like the Mac.  But these are some rather major issues.  Especially when I paid almost twice as much for the Mac over a very similar Dell.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7091472558752624519-4661312540891906107?l=pcgrind.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pcgrind.blogspot.com/feeds/4661312540891906107/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7091472558752624519&amp;postID=4661312540891906107' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/4661312540891906107'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/4661312540891906107'/><link rel='alternate' type='text/html' href='http://pcgrind.blogspot.com/2008/02/mac-osx-105x-leopard.html' title='Mac OSX 10.5.x Leopard'/><author><name>Edwin</name><uri>http://www.blogger.com/profile/06724577005304650681</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://farm1.static.flickr.com/37/92239178_34fc620bfa_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7091472558752624519.post-1979984371999229674</id><published>2008-01-07T10:06:00.000-08:00</published><updated>2008-01-07T11:08:16.379-08:00</updated><title type='text'>IE7 IEAK upgrade causes all Internet Zones to be treated as Local Intranet</title><content type='html'>Ah, yes, this bug again.  I've seen it crop it's nasty head up a number of times all the way back to IE 4.x.&lt;br /&gt;&lt;br /&gt;After using an IEAK upgrade to upgrade my stations from IE6 to IE7, Internet Explorer treats all Internet sites as Local Intranet.  For me, this means they have additional rights to install spyware &amp; because we don't allow passwords to be saved on our Intranet via a GPO, the users can't save ANY of their passwords for any website.&lt;br /&gt;&lt;br /&gt;I've seen this times before.  So I had a hunch.  I checked my settings.  Everything seems right in the GUI.  The settings match my machine.  Mine was updated via WSUS, not through IEAK installer.   But we both run the same .INS configuration file.   We run security zones for IE as HKLM only as described in KB182569.  This allows us to set the settings once per PC and be done.&lt;br /&gt;&lt;br /&gt;So my first test was to disable "Automatically Detect Intranet settings".  And behold, the Internet zone was detected correctly now.   Go back into the settings and IE7 had reset this setting back to enabled.  But that didn't matter, the detection was working now.   I tested this on 3 machines and repeated the experience.&lt;br /&gt;&lt;br /&gt;So I found the registry location and dumped it into a .REG file&lt;br /&gt;&lt;br /&gt;REGEDIT4&lt;br /&gt;&lt;br /&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap]&lt;br /&gt;"AutoDetect"=dword:00000000&lt;br /&gt;&lt;br /&gt;Notice this is in the HKCU location and not the HKLM location, where my settings should be coming from.   However, running this via REGEDIT /s ie7fix.reg   in a login script resolved the issue on 3 machines.   So this triggers IE to fix whatever is wrong.  Since my settings come out of HKLM, the IE GUI still shows autodetect enabled.  And it detects correctly.&lt;br /&gt;&lt;br /&gt;This is obviously a bug.  IE7 must not be looking at HKLM in every case where it should when Security_HKLM_only is enabled.  My guess is that the IEAK installer couldn't access the HKCU hive of the user.  Somehow setting the AutoDetect value in HKCU triggers IE7 to fix what is wrong there.&lt;br /&gt;&lt;br /&gt;--- Correction below----&lt;br /&gt;&lt;br /&gt;This was caused by my own doing.  I followed these directions;&lt;br /&gt;http://www.msfn.org/board/index.php?showtopic=75475&amp;mode=linearplus&lt;br /&gt;&lt;br /&gt;Which had me set the runonce to 1 so that the annoying welcome to IE7 didn't appear.  Apparently it is this flag that also upgrades HKCU settings from IE6 to IE7.  So I caused the problem myself.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7091472558752624519-1979984371999229674?l=pcgrind.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pcgrind.blogspot.com/feeds/1979984371999229674/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7091472558752624519&amp;postID=1979984371999229674' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/1979984371999229674'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/1979984371999229674'/><link rel='alternate' type='text/html' href='http://pcgrind.blogspot.com/2008/01/ie7-ieak-upgrade-causes-all-internet.html' title='IE7 IEAK upgrade causes all Internet Zones to be treated as Local Intranet'/><author><name>Edwin</name><uri>http://www.blogger.com/profile/06724577005304650681</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://farm1.static.flickr.com/37/92239178_34fc620bfa_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7091472558752624519.post-5000847271994197928</id><published>2007-12-28T08:08:00.000-08:00</published><updated>2007-12-28T08:13:19.005-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='squid acl proxy access.log logrotate sysklogd cron'/><title type='text'>Ubuntu, Cron, Logrotate, and Squid</title><content type='html'>So you have that nice new Ubuntu server running.  You get Squid up and configured, and have it using an effective user and group of squid.  But each day at the same time, the squid server just stops.  The logs show that it can't write to access.log.   You take a look at /var/log/squid/access.log and find out that the file is owned by root:root.  So it's an ACL issue.&lt;br /&gt;&lt;br /&gt;You modify logrotate for squid adding chown and get squid back up.  But the next day it fails.  What gives?&lt;br /&gt;&lt;br /&gt;Ubuntu 6.0.6 runs a cron job daily /etc/cron.daily/sysklogd.   This archives your log files to save disk space and rotates them, independent of logrotate.   If you look at this, you'll see it does a chown root:adm.   Ooops.   &lt;br /&gt;&lt;br /&gt;So modify sysklogd to have this at the end;&lt;br /&gt;&lt;br /&gt;touch /var/log/squid/access.log&lt;br /&gt;chown --silent squid:squid /var/log/squid/access.log&lt;br /&gt;chown --silent -R squid:squid /var/log/squid/access*&lt;br /&gt;test ! -e /var/run/squid.pid || /usr/sbin/squid -k rotate&lt;br /&gt;&lt;br /&gt;Of course, if you use a different user:group than squid:squid, replace with what you use.  The last line gets squid to start logging into the new access.log, versus access.log.0.    &lt;br /&gt;&lt;br /&gt;Enjoy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7091472558752624519-5000847271994197928?l=pcgrind.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pcgrind.blogspot.com/feeds/5000847271994197928/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7091472558752624519&amp;postID=5000847271994197928' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/5000847271994197928'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/5000847271994197928'/><link rel='alternate' type='text/html' href='http://pcgrind.blogspot.com/2007/12/ubuntu-cron-logrotate-and-squid.html' title='Ubuntu, Cron, Logrotate, and Squid'/><author><name>Edwin</name><uri>http://www.blogger.com/profile/06724577005304650681</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://farm1.static.flickr.com/37/92239178_34fc620bfa_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7091472558752624519.post-9216436889389945011</id><published>2007-11-26T09:12:00.000-08:00</published><updated>2007-11-26T09:15:50.221-08:00</updated><title type='text'>Forcing a PC to reboot through task scheduler</title><content type='html'>So you want to schedule a PC to reboot through the task scheduler.  It works sometimes, but not every time.   Microsoft has created multiple shutdown commands.  Below is a batch file which seems to work 100% of the time in my environment.   We use the built in XP shutdown command first, then the old NT4 resource kit shutdown command, then again try the XP.   &lt;br /&gt;&lt;br /&gt;It seems that sometimes during shutdown, a program will hang the process.  These additional shutdown commands seem to get it past that. &lt;br /&gt;&lt;br /&gt;rem Reboots this PC&lt;br /&gt;&lt;br /&gt;shutdown -r -t 90 -f -c "Nightly reboot occuring in 90 seconds to apply patches"&lt;br /&gt;shutdown2 /L /R /T:160 /Y /C "Nightly reboot occuring in 90 seconds to apply patches"&lt;br /&gt;shutdown -r -t 60 -f -c "Nightly reboot occuring in 90 seconds to apply patches"&lt;br /&gt;sleep 100&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Sometimes I stick sleep commands between the shutdowns.   I don't fully understand this issue, but the above batch file works for me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7091472558752624519-9216436889389945011?l=pcgrind.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pcgrind.blogspot.com/feeds/9216436889389945011/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7091472558752624519&amp;postID=9216436889389945011' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/9216436889389945011'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/9216436889389945011'/><link rel='alternate' type='text/html' href='http://pcgrind.blogspot.com/2007/11/forcing-pc-to-reboot-through-task.html' title='Forcing a PC to reboot through task scheduler'/><author><name>Edwin</name><uri>http://www.blogger.com/profile/06724577005304650681</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://farm1.static.flickr.com/37/92239178_34fc620bfa_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7091472558752624519.post-1223544661768295585</id><published>2007-11-12T10:03:00.000-08:00</published><updated>2007-11-12T10:08:40.369-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wsus sus ghost clone'/><title type='text'>Fixing WSUS for all the various reasons.</title><content type='html'>So you cloned a PC and it has the same WSUS GUID.  Sysprep didn't help.&lt;br /&gt;Or you put a volume license onto an OEM, and now WSUS fails.&lt;br /&gt;&lt;br /&gt;Whatever the reason, here is the batch file to fix it.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;net stop wuauserv&lt;br /&gt;rem Transflo depends on BITS and must be stopped first&lt;br /&gt;net stop "TRANSFLO Client Agent Service"&lt;br /&gt;@rem one known dependent service.  Add others you know of.&lt;br /&gt;net stop "Background Intelligent Transfer Service"&lt;br /&gt;&lt;br /&gt;@rem  Make sure the proper GPOs are applied&lt;br /&gt;gpupdate&lt;br /&gt;&lt;br /&gt;@rem re register services that may be broken&lt;br /&gt;&lt;br /&gt;REGSVR32 /s WUAUENG.DLL&lt;br /&gt;REGSVR32 /s WUAUENG1.DLL&lt;br /&gt;REGSVR32 /s ATL.DLL&lt;br /&gt;REGSVR32 /s WUCLTUI.DLL&lt;br /&gt;REGSVR32 /s WUPS.DLL&lt;br /&gt;REGSVR32 /s WUPS2.DLL&lt;br /&gt;REGSVR32 /s WUWEB.DLL&lt;br /&gt;&lt;br /&gt;REGSVR32 /s ATL.DLL&lt;br /&gt;&lt;br /&gt;rem Remove the temp directories.&lt;br /&gt;&lt;br /&gt;rd %windir%\SoftwareDistribution\DataStore\logs /s /q&lt;br /&gt;rd %windir%\SoftwareDistribution\DataStore /s /q&lt;br /&gt;rd %windir%\SoftwareDistribution\Download /s /q&lt;br /&gt;rd %windir%\SoftwareDistribution\EventCache /s /q&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;rem Some machines will fail to re-install MSI 3.1 after&lt;br /&gt;rem all of this.  About 1%.  The fix is below.&lt;br /&gt;rem It is up to you to determine if you want to download&lt;br /&gt;rem and install these fixes.  Remmed out.&lt;br /&gt;&lt;br /&gt;rem call WindowsXP-KB927891-v3-x86-ENU.exe" /quiet /norestart&lt;br /&gt;rem call Windows2000-KB927891-x86-ENU.EXE" /quiet /norestart&lt;br /&gt;&lt;br /&gt;regedit /s resetGUID.reg&lt;br /&gt;&lt;br /&gt;net start wuauserv&lt;br /&gt;&lt;br /&gt;wuauclt /resetauthorization /detectnow&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;---------------------------------------------------------------&lt;br /&gt;Here is the resetGUID.reg file&lt;br /&gt;---------------------------------------------------------------&lt;br /&gt;REGEDIT4&lt;br /&gt;&lt;br /&gt;// Registry file generated by the Application Launcher.&lt;br /&gt;&lt;br /&gt;[HKEY_LOCAL_MACHINE\SOFTWARE]&lt;br /&gt;&lt;br /&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft]&lt;br /&gt;&lt;br /&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows]&lt;br /&gt;&lt;br /&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion]&lt;br /&gt;&lt;br /&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate]&lt;br /&gt;"AccountDomainSid"=-&lt;br /&gt;"PingID"=-&lt;br /&gt;"SusClientId"=-&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I've ran this on hundreds of machines with no problem.  This is provided as-is.  I provide no warranty.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7091472558752624519-1223544661768295585?l=pcgrind.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pcgrind.blogspot.com/feeds/1223544661768295585/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7091472558752624519&amp;postID=1223544661768295585' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/1223544661768295585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/1223544661768295585'/><link rel='alternate' type='text/html' href='http://pcgrind.blogspot.com/2007/11/fixing-wsus-for-all-various-reasons.html' title='Fixing WSUS for all the various reasons.'/><author><name>Edwin</name><uri>http://www.blogger.com/profile/06724577005304650681</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://farm1.static.flickr.com/37/92239178_34fc620bfa_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7091472558752624519.post-3684207257162435433</id><published>2007-11-02T11:25:00.000-07:00</published><updated>2007-11-02T11:27:04.357-07:00</updated><title type='text'>Example code in VB to set color of subitems</title><content type='html'>Here is code that rips through a file to set the color of a listview item color and subitem color.&lt;br /&gt;&lt;br /&gt;This is VB6.   I found a lot of people asking how to do this, but no real solutions.  It's not that hard after you know what the syntax is;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Do Until EOF(fnum1)&lt;br /&gt;    Line Input #fnum1, Linein&lt;br /&gt;        aRRy = Split(Linein, ",")&lt;br /&gt;            If UBound(aRRy) = 10 Then&lt;br /&gt;                SSN = Trim$(Replace(aRRy(8), Chr$(34), vbNullString))&lt;br /&gt;                Doctype = UCase(Replace(aRRy(9), Chr$(34), vbNullString))&lt;br /&gt;                TIFfile = UCase(Replace(aRRy(7), Chr$(34), vbNullString))&lt;br /&gt;                BatchID = Trim$(Replace(aRRy(10), Chr$(34), vbNullString))&lt;br /&gt;      &lt;br /&gt;                ListView.ListItems.Add , , SSN&lt;br /&gt;                ListView.ListItems.Item(ListView.ListItems.Count).SubItems(1) = Doctype&lt;br /&gt;                Debug.Print TIFfile&lt;br /&gt;            &lt;br /&gt;                ListView.ListItems.Item(ListView.ListItems.Count).SubItems(2) = TIFfile&lt;br /&gt;                If Len(SSN) &lt;&gt; 9 Then&lt;br /&gt;                    ListView.ListItems.Item(ListView.ListItems.Count).ForeColor = vbRed&lt;br /&gt;                Else&lt;br /&gt;                     ListView.ListItems.Item(ListView.ListItems.Count).ForeColor = vbBlack&lt;br /&gt;                End If&lt;br /&gt;                If EXIST(TIFfile) Then&lt;br /&gt;                       ListView.ListItems.Item(ListView.ListItems.Count).ListSubItems.Item(2).ForeColor = vbBlack&lt;br /&gt;                    Else&lt;br /&gt;                       ListView.ListItems.Item(ListView.ListItems.Count).ListSubItems.Item(2).ForeColor = vbRed&lt;br /&gt;                End If&lt;br /&gt;                &lt;br /&gt;            End If&lt;br /&gt;Loop&lt;br /&gt;Close #fnum1&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7091472558752624519-3684207257162435433?l=pcgrind.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pcgrind.blogspot.com/feeds/3684207257162435433/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7091472558752624519&amp;postID=3684207257162435433' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/3684207257162435433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/3684207257162435433'/><link rel='alternate' type='text/html' href='http://pcgrind.blogspot.com/2007/11/example-code-in-vb-to-set-color-of.html' title='Example code in VB to set color of subitems'/><author><name>Edwin</name><uri>http://www.blogger.com/profile/06724577005304650681</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://farm1.static.flickr.com/37/92239178_34fc620bfa_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7091472558752624519.post-6445908129707939561</id><published>2007-10-30T12:39:00.000-07:00</published><updated>2007-10-30T12:41:43.191-07:00</updated><title type='text'>Further work - FW1 R65 on Dell 2950</title><content type='html'>So far this install is flaky as can be.  The FW.SYS (Firewall kernel level driver) BSOD's the machine once a week and quits routing daily.  We've upgraded to HFA2, we have the latest Dell drivers, and have all services off except for those required.&lt;br /&gt;&lt;br /&gt;SmartDefense isn't the problem, that's been eliminated.  The problem with the BSOD is always processing NDIS.   Sometimes when routing stops, the fw ctl zdebug drop  shows that inbound packet queue is full.   This is getting ridiculous.  I think R65 just isn't stable at this point in time.  I have had open tickets for many weeks now.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7091472558752624519-6445908129707939561?l=pcgrind.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pcgrind.blogspot.com/feeds/6445908129707939561/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7091472558752624519&amp;postID=6445908129707939561' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/6445908129707939561'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/6445908129707939561'/><link rel='alternate' type='text/html' href='http://pcgrind.blogspot.com/2007/10/further-work-fw1-r65-on-dell-2950.html' title='Further work - FW1 R65 on Dell 2950'/><author><name>Edwin</name><uri>http://www.blogger.com/profile/06724577005304650681</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://farm1.static.flickr.com/37/92239178_34fc620bfa_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7091472558752624519.post-2580895977824037879</id><published>2007-10-12T13:20:00.000-07:00</published><updated>2007-10-12T15:12:39.998-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='fw1 firewall-1 checkpoint r65 windows 2003 r2 tuning'/><title type='text'>Firewall-1</title><content type='html'>FW1 NGX R65 install onto Windows 2003R2 on a Dell 2950 with Broadcom NICs and an Intel E1000 add on NIC.&lt;br /&gt;&lt;br /&gt;Thing's I have learned;&lt;br /&gt;&lt;br /&gt;1)  fw ctl zdebug drop  will show drops not logged in the normal log viewer&lt;br /&gt;2) They have previously had issues with Broadcom NICs, though R65 should have that fix.  They recommend N1000 type cards from Intel.&lt;br /&gt;3)  Make sure your IP addresses are setup right.&lt;br /&gt;&lt;br /&gt;4) Make sure Duplex is right.  Double check.&lt;br /&gt;&lt;br /&gt;5)  NDISWAN must not be installed.  That is your 0.0.0.0 in topology.  Windows 2003 uses this for remote access and routing.  FW1 isn't compatible with this. &lt;br /&gt;  a)  Go into device manager and look at your Network adapters. &lt;br /&gt;       Select VIEW / SHOW HIDDEN DEVICES.  Disable all the WAN MINIPORT items, including the VPN-1/Fireall miniport. &lt;br /&gt;       Disable the service Routing and Remote access.  With the WAN MINIPORT items disabled, Routing and Remote access service will fail upon boot.&lt;br /&gt;  b)  Go into the registry and go into HKLM\system\currentcontrolset\services\tcpip\parameters and make IPEnableRouter set to 1.&lt;br /&gt;       This will enable routing without the Routing and Remote access service.   This is what FW1 wants.  Reboot to get all these changes in place...  You might also add to this registry location MaxUserPort and set it to 65534.  Default in Windows 2003 is 5000 ports.  So you can only have 5000 connections at a given moment.   65534 is the maximum possible, so set it to that in decimal.  It's 0X0000FFFd in Hex.   Google search this fact and you'll find it numerous places.&lt;br /&gt;&lt;br /&gt;c)  In this same place in the registry as b, go into Interfaces and for each interface configure DontAddDefaultGatewayDefault as a dword set to 0.  This prevents the interface from ever having a 169.254.x.x address.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;d)  Instead of typing in every route table entry again, if you are moving firewalls, simply take the PersistentRoute portion of this registry and export it as a .reg and import it to your new firewall &amp;amp; then reboot.   It's also a good idea to export this for backups every now and again.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7091472558752624519-2580895977824037879?l=pcgrind.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pcgrind.blogspot.com/feeds/2580895977824037879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7091472558752624519&amp;postID=2580895977824037879' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/2580895977824037879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/2580895977824037879'/><link rel='alternate' type='text/html' href='http://pcgrind.blogspot.com/2007/10/firewall-1.html' title='Firewall-1'/><author><name>Edwin</name><uri>http://www.blogger.com/profile/06724577005304650681</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://farm1.static.flickr.com/37/92239178_34fc620bfa_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7091472558752624519.post-2223688536712582684</id><published>2007-09-21T14:55:00.001-07:00</published><updated>2007-09-21T14:59:11.003-07:00</updated><title type='text'>Office 2003 SP2 removes TIF and TIFF association</title><content type='html'>In Microsoft's infinite wisdom, they have removed program association to .TIF and .TIFF files as well as .MDI.&lt;br /&gt;&lt;br /&gt;So now hundreds of people are calling me asking why they can't view imaging.   Thanks, Bill, for making my life easier.&lt;br /&gt;&lt;br /&gt;Anyway, this is documented in http://support.microsoft.com/kb/938813 and the fix is these registry changes;&lt;br /&gt;&lt;br /&gt;Windows Registry Editor Version 5.00&lt;br /&gt;&lt;br /&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.tif]&lt;br /&gt;"Progid"="MSPaper.Document"&lt;br /&gt;&lt;br /&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.tif\OpenWithProgids]&lt;br /&gt;"MSPaper.Document"=hex(0):&lt;br /&gt;&lt;br /&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.tiff]&lt;br /&gt;"Progid"="MSPaper.Document"&lt;br /&gt;&lt;br /&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.tiff\OpenWithProgids]&lt;br /&gt;"MSPaper.Document"=hex(0):&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So it's per user, meaning you have to run this in Zen per user, or login script over and over.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7091472558752624519-2223688536712582684?l=pcgrind.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pcgrind.blogspot.com/feeds/2223688536712582684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7091472558752624519&amp;postID=2223688536712582684' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/2223688536712582684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/2223688536712582684'/><link rel='alternate' type='text/html' href='http://pcgrind.blogspot.com/2007/09/office-2003-sp2-removes-tif-and-tiff.html' title='Office 2003 SP2 removes TIF and TIFF association'/><author><name>Edwin</name><uri>http://www.blogger.com/profile/06724577005304650681</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://farm1.static.flickr.com/37/92239178_34fc620bfa_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7091472558752624519.post-1107214268383094441</id><published>2007-09-20T18:02:00.000-07:00</published><updated>2007-09-20T18:08:34.356-07:00</updated><title type='text'>Surround sound enabled in Media Player DVD playback</title><content type='html'>So I have nVidia dolby surround sound, 8 channels.  Got speakers.  When I tell media player to switch to surround sound mode (other than the old 2.1 version) It automatically switches back to Stereo mode.   &lt;br /&gt;&lt;br /&gt;Go into nVidia mixer and setup your sound to the appropriate surround sound mode.  (5.1, 7.1, etc)&lt;br /&gt;&lt;br /&gt;Download media player classic. &lt;br /&gt;&lt;br /&gt;Play a DVD with surround sound but one that isn't copy protected. &lt;br /&gt;&lt;br /&gt;Right click on the video and select FILTERS/AC3 audio decoder.  Switch the Decode to speakers from STERO to the appropriate Dobly settings.   In my case, AC3 is set to 2 front, 2 rear and DTS is set to 2 front + 2 rear.    I have PCM set to 32bit, default was 16.  I have AAC set to downmix to stereo turned off, SPDIF off -- leave on if that's what you use.   LFE off.  Dynamic Range Control OFF.  &lt;br /&gt;&lt;br /&gt;Now I'm getting Dolby 5.1.  Woo hoo.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7091472558752624519-1107214268383094441?l=pcgrind.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pcgrind.blogspot.com/feeds/1107214268383094441/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7091472558752624519&amp;postID=1107214268383094441' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/1107214268383094441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/1107214268383094441'/><link rel='alternate' type='text/html' href='http://pcgrind.blogspot.com/2007/09/surround-sound-enabled-in-media-player.html' title='Surround sound enabled in Media Player DVD playback'/><author><name>Edwin</name><uri>http://www.blogger.com/profile/06724577005304650681</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://farm1.static.flickr.com/37/92239178_34fc620bfa_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7091472558752624519.post-1534648369270598637</id><published>2007-09-05T14:03:00.000-07:00</published><updated>2007-09-05T14:13:01.074-07:00</updated><title type='text'>Acronis True Image home 10</title><content type='html'>I have had nothing but problems with Ghost here lately.  I've been using it for years, but suddenly the images we create either can not span to a 2TB drive because it's out of space for some odd reason.   We have plenty of room.   Or if I go to an older Ghost, it creates the image but then says it is corrupt when I try to restore it.&lt;br /&gt;&lt;br /&gt;We have many licenses of Ghost, but this is wasting too much time for my personal PC.   So I install it.  &lt;br /&gt;&lt;br /&gt;Issue#1)   It creates a shell add on called "Backup" which allows me to backup a file or folder by right clicking on it.   Well, this is fine for a home PC but when trying to right click across the WAN, it is a killer.   Just like Winzip, one must remove the shell entry.   Unlike Winzip, there is not a menu option to do this.&lt;br /&gt;&lt;br /&gt;So locate {C539A15A-3AF9-4c92-B771-50CB78F5C751}   under hklm/software/classes/clsid and go into InProcServer32.   Modify the string "(Default)" and make it an empty string, deleting the Acronis DLL.   No more Backup shortcut, and no more slow downs.&lt;br /&gt;&lt;br /&gt;Issue #2)  This software installs upper filters on the DVD/CDROM drive.   These conflict with existing filters.    So locate the upperfilter in registry and remove the new entry for Acronis.  I didn't write it down, but it is rather apparent.  If it's not apparent to you, then you should not be making these changes as they can cause a system to not boot if done wrong.&lt;br /&gt;&lt;br /&gt;This is pretty good software.  I'd like to have a stripped down version that doesn't have all the integration though.   This software installs services, schedulers, many new tasks, and modifies a huge chunk of the registry/system.  It also installs device drivers.&lt;br /&gt;&lt;br /&gt;I have successfully moved two computers with this software.    XP with 1 CPU to XP with 2 CPU's and more memory worked well.   XP autodetected the additional CPU, PnPed, and rebooted.    The machine that went from a P733 Dell to a P1.8 SuperMicro didn't fare as well.   System just keep rebooting.  But, as usually, you just do an in place re-install of XP and we're back in business.   Of couse, the Dell had an OEM license of XP so this causes me to have to purchase &amp; install a new license of XP and toss the old one.   It's always something, eh?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7091472558752624519-1534648369270598637?l=pcgrind.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pcgrind.blogspot.com/feeds/1534648369270598637/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7091472558752624519&amp;postID=1534648369270598637' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/1534648369270598637'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/1534648369270598637'/><link rel='alternate' type='text/html' href='http://pcgrind.blogspot.com/2007/09/acronis-true-image-home-10.html' title='Acronis True Image home 10'/><author><name>Edwin</name><uri>http://www.blogger.com/profile/06724577005304650681</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://farm1.static.flickr.com/37/92239178_34fc620bfa_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7091472558752624519.post-337103927493350168</id><published>2007-06-28T11:39:00.001-07:00</published><updated>2007-06-28T11:41:33.829-07:00</updated><title type='text'>The ultimate l33t g33k gift.</title><content type='html'>&lt;span style="font-family:Arial Rounded MT Bold;font-size:100%;color:black;"&gt;This is too cool.   A USB powered &amp; controlled missile launcher with PC control.   Call me a cynic, but I bet that you manually position and aim these and the PC only control's launching them.   But it's still too cool.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 12pt;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial Rounded MT Bold;font-size:100%;color:black;"&gt;&lt;a href="http://www.geeks.com/details.asp?invtid=USB-782&amp;cat=GDT"&gt;http://www.geeks.com/details.asp?invtid=USB-782&amp;amp;cat=GDT&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7091472558752624519-337103927493350168?l=pcgrind.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pcgrind.blogspot.com/feeds/337103927493350168/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7091472558752624519&amp;postID=337103927493350168' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/337103927493350168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/337103927493350168'/><link rel='alternate' type='text/html' href='http://pcgrind.blogspot.com/2007/06/ultimate-l33t-g33k-gift.html' title='The ultimate l33t g33k gift.'/><author><name>Edwin</name><uri>http://www.blogger.com/profile/06724577005304650681</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://farm1.static.flickr.com/37/92239178_34fc620bfa_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7091472558752624519.post-1710413219107056752</id><published>2007-06-26T20:47:00.001-07:00</published><updated>2007-06-26T20:47:24.382-07:00</updated><title type='text'>XP can't keep files from corrupting.</title><content type='html'>This has occurred on a work PC after uninstalling Symantec PCAnywhere, and on a Windows 2000 server for an unknown reason. Now, after uninstalling Weather Channel weather app, my wife's XP HOME SP2 can not boot due to corrupt \windows\system32\config\system file. This is the system portion of the registry.&lt;br /&gt;&lt;br /&gt;Of course, the only manufacture option is to nuke the hard drive, loose all data, and be back to oem. I have Mozy, sure, but after a month only 1GB of the 1.6GB of data has uploaded.&lt;br /&gt;&lt;br /&gt;So I use BART PE to get into the NTFS file system and restore an old SYSTEM file to replace the corrupt one. This is the original SYSTEM file, so it's back to the initial install of XP HOME. But at least I keep my data.&lt;br /&gt;&lt;br /&gt;After an hour, bootup ends up going into a resolution that the Laptop's LCD doesn't support. Boot into VGA mode and re-install the drivers. Set the resolution to a proper one. Reboot.&lt;br /&gt;&lt;br /&gt;Ok, so re-install the antivirus and reboot is the next step.&lt;br /&gt;&lt;br /&gt;Then activation. But what is this? Activation tries to launch IE via an HTA, and fails. This is because the re-install of XP replaced part of IE with 6.0, even though I have 7.0 installed. IE is fried. So I went into the firefox directory and launched it. God, I love programs that don't require the registry. From firefox, I re-downloaded firefox and properly installed it. The I downloaded IE7 from Google (Microsoft wouldn't let me from Mozilla) and tried to launch it. But it fails because it gets confused about having some IE6 files and some IE7 files &amp;amp; patches.&lt;br /&gt;&lt;br /&gt;So, Remove IE7 and reboot. C:\WINDOWS\ie7\spuninst\spuninst.exe uninstalls IE7. I am in the process of downloading SP2, which will take hours, so I won't know if IE6 works or not until the morning. But I was able to activate now. And apparently that is the problem with the IE7 reinstall, as it will get past the initial error. Though I don't plan on re-installing until I reboot.&lt;br /&gt;&lt;br /&gt;Automatic Updates service is no longer listed. I did the re-register to get it to appear, but it will not function because it's still not installed right. I guess that's because I have the 1.0 version from the reinstall mixed in with the 3.0 version released not long ago.&lt;br /&gt;&lt;br /&gt;Thanks, Microsoft, for a fun evening. Why can't a system restore point create alternate system.sav files and if system is corrupt, give me the option to use a previous system file?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7091472558752624519-1710413219107056752?l=pcgrind.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pcgrind.blogspot.com/feeds/1710413219107056752/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7091472558752624519&amp;postID=1710413219107056752' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/1710413219107056752'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/1710413219107056752'/><link rel='alternate' type='text/html' href='http://pcgrind.blogspot.com/2007/06/xp-cant-keep-files-from-corrupting.html' title='XP can&apos;t keep files from corrupting.'/><author><name>Edwin</name><uri>http://www.blogger.com/profile/06724577005304650681</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://farm1.static.flickr.com/37/92239178_34fc620bfa_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7091472558752624519.post-5589330399327051703</id><published>2007-06-25T15:23:00.000-07:00</published><updated>2007-06-25T15:25:50.221-07:00</updated><title type='text'>OpenSUSE 10.2 day 5</title><content type='html'>The video lockups in SUSE at the startup are normal.  It's not really locked up.  It is just so slow that it stays on that screen for a while.&lt;br /&gt;&lt;br /&gt;I ended up booting up into failsafe, running YAST, and then installing the 1.2GB of updates it desired.  I installed 5 optional add ons.&lt;br /&gt;&lt;br /&gt;After this, the video lock up still occurs, but I do get logged in and KDE is so much faster.  At least for the moment.   No lockups ever few seconds like with 10.0.   &lt;br /&gt;&lt;br /&gt;Now that the OS is usable, it is time to play around with server type services.  BIND and DHCP are next.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7091472558752624519-5589330399327051703?l=pcgrind.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pcgrind.blogspot.com/feeds/5589330399327051703/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7091472558752624519&amp;postID=5589330399327051703' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/5589330399327051703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/5589330399327051703'/><link rel='alternate' type='text/html' href='http://pcgrind.blogspot.com/2007/06/opensuse-102-day-5.html' title='OpenSUSE 10.2 day 5'/><author><name>Edwin</name><uri>http://www.blogger.com/profile/06724577005304650681</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://farm1.static.flickr.com/37/92239178_34fc620bfa_t.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7091472558752624519.post-5722695558280552957</id><published>2007-06-22T11:13:00.000-07:00</published><updated>2007-06-22T11:33:53.786-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OpenSUSE VMware upgrade'/><title type='text'>Fighting the Linux upgrades.  Suse 10.0 to OpenSuse 10.2</title><content type='html'>Today I set out to upgrade SUSE 10.0 to OpenSuse 10.2.  I began the DVD download from the WIKI link, and then proceeded to update 10.0 with the latest patches.  It always seems an upgrade works best if one is fully patched.&lt;br /&gt;&lt;br /&gt;The DVD downloaded rather quickly for a *nix ISO.   I left the computer on over night and it was downloaded the next day as I returned to the computer.   Mandriva 2007 spring took a week VIA bitorrent, for comparison.  &lt;br /&gt;&lt;br /&gt;So I began by creating a VMware snapshot of 10.0, mounted the DVD ISO as a CDRom in VMware, and rebooted.   The DVD didn't boot, so I rebooted and set the BIOS to boot to CDROM.  Another reboot, and the DVD ISO booted off the virtual CDROM.&lt;br /&gt;&lt;br /&gt;The upgrade was horribly slow.  After many hours, X locked up and the PC had to be rebooted.  I believe it was auto detecting my video card.   Much to my surprise, the install picked up where it had left off.  Many hours later, and the upgrade was complete.  It asked me to subscribe to some sort of Zen service, but  wouldn't let me.  So I canceled out of that.&lt;br /&gt;&lt;br /&gt;After rebooting, Grub launched.  Then it tried to start X.  Lockup &amp; odd graphics.  The day was over so I turned off the VM. &lt;br /&gt;&lt;br /&gt;A few days later I booted this back up and went into failsafe.  Logged in as root and mounted the VMware tools.   cd /tmp  then mount /dev/cdrom /mnt        (it wouldn't mount into /mnt/cdrom for some odd reason.)   Then I did an &lt;tt&gt;&lt;tt&gt;rpm -Uhv /mnt/VMwareTools-5.5.4-44386.i386.rpm. &lt;/tt&gt;&lt;/tt&gt;&lt;span style="font-size:100%;"&gt;&lt;/span&gt;That took a while &amp; then came back with an error about waiting for the database to unlock.   Another run at this told me the RPM was already isntalled.  Reboot.&lt;br /&gt;&lt;br /&gt;This time KDE started right up and I was able to log in.   YaST was nice enough to tell me that after never running any updates, I was fully patched.   Typical.  So many distro's tell me that I am fully patched when I have absolutely no patches at all.  Why can't they get this straight?  I right clicked on the YaST updater and did "refresh" and added myself as a privileged user.&lt;br /&gt;&lt;br /&gt;Anyway, OpenSUSE is running in VMware workstation 5.5 with VMware tools.  It doesn't lock up every 5 seconds for 1/2 a second like it was doing in 10.0.   It is still the slowest of all distro's that I've installed onto VMware.   FreeBSD being the fastest and Mandriva being in the middle.  But it is the nicest build I've worked on.  I love YaST.  Everything in one place.  I don't have to go to console nearly as much as with other distro's.  &lt;br /&gt;&lt;br /&gt;Now to install Webmin, DHCPD, and NAMED and have a test at this handling some basic server services.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;tt&gt;&lt;tt&gt; &lt;/tt&gt;&lt;/tt&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7091472558752624519-5722695558280552957?l=pcgrind.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pcgrind.blogspot.com/feeds/5722695558280552957/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7091472558752624519&amp;postID=5722695558280552957' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/5722695558280552957'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7091472558752624519/posts/default/5722695558280552957'/><link rel='alternate' type='text/html' href='http://pcgrind.blogspot.com/2007/06/fighting-linux-upgrades-suse-100-to.html' title='Fighting the Linux upgrades.  Suse 10.0 to OpenSuse 10.2'/><author><name>Edwin</name><uri>http://www.blogger.com/profile/06724577005304650681</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='21' src='http://farm1.static.flickr.com/37/92239178_34fc620bfa_t.jpg'/></author><thr:total>0</thr:total></entry></feed>
