<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>RobPlatt.com &#187; Utilities</title>
	<atom:link href="http://www.robplatt.com/index.php/category/utilities/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.robplatt.com</link>
	<description>My name is Rob. Here are the things I find useful or amusing. Enjoy.</description>
	<lastBuildDate>Fri, 18 Nov 2011 19:40:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Dynamically compiled VNC binary with repeater #2</title>
		<link>http://www.robplatt.com/index.php/2010/07/13/dynamically-compiled-vnc-binary-repeater-2/</link>
		<comments>http://www.robplatt.com/index.php/2010/07/13/dynamically-compiled-vnc-binary-repeater-2/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 18:07:56 +0000</pubDate>
		<dc:creator>robplatt</dc:creator>
				<category><![CDATA[Utilities]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[uvnc]]></category>

		<guid isPermaLink="false">http://www.robplatt.com/?p=203</guid>
		<description><![CDATA[Awhile back, we discussed generating UltraVNC viewer and single-click executables on the fly: http://www.robplatt.com/index.php/2010/03/02/dynamically-compiled-vnc-binary-repeater/ A missing feature that was requested, was the ability to add encryption to the connection. Sorry it took so long, but here you go! Please note, all changes are in reference to my original post and those files. Download the latest MSRC4Plugin.dsm: http://home.comcast.net/~msrc4plugin/msrc4plugin.html Place MSRC4Plugin.dsm in [...]]]></description>
			<content:encoded><![CDATA[<p>Awhile back, we discussed generating UltraVNC viewer and single-click executables on the fly: <a href="http://www.robplatt.com/index.php/2010/03/02/dynamically-compiled-vnc-binary-repeater/">http://www.robplatt.com/index.php/2010/03/02/dynamically-compiled-vnc-binary-repeater/</a></p>
<p>A missing feature that was requested, was the ability to add encryption to the connection. Sorry it took so long, but here you go!</p>
<p>Please note, all changes are in reference to my original post and those files.</p>
<ol>
<li>Download the latest MSRC4Plugin.dsm: <a href="http://home.comcast.net/~msrc4plugin/msrc4plugin.html">http://home.comcast.net/~msrc4plugin/msrc4plugin.html</a></li>
<li>Place MSRC4Plugin.dsm in \client</li>
<li>Place a copy of MSRC4Plugin.dsm, renamed to MSRC4Plugin_NoReg.dsm in \host</li>
<li>Download or generate rc4.key. Place in both \client and \host</li>
<li>For the client exe, change line 6 in the helpdesk.txt file to &#8220;-id $ID -plugin -connect $IP::$PORT -noregistry&#8221;</li>
<li>For the host exe, add MSRC4Plugin.dsm and rc4.key to vncviewer.7z</li>
<li>For the host exe, change line 4 to &#8220;RunProgram=&#8221;vncviewer.exe -dsmplugin MSRC4Plugin_NoReg.dsm -autoreconnect 5 $RESTRICTED -noauto -64colors -encoding tight -proxy $IP::$PORT ID:$ID&#8221;"</li>
<li>Edit support.aspx, change line 44 to &#8220;&#8221;..\7zr a sc.7z ..\winvnc.exe ..\schook.dll ..\vnchooks.dll helpdesk.txt ..\MSRC4Plugin.dsm ..\rc4.key ..\icon1.ico ..\icon2.ico&#8221; &amp; vbcrlf &amp; _&#8221;</li>
<li>That should do it!</li>
</ol>
<p>As always, I&#8217;ve included the changes for you. (You may want to generate a new rc4.key, this one is the one included from UltraVNC)</p>
<p><a href="http://www.robplatt.com/downloads/remote_support_files_encrypted.rar">Download</a></p>
<div class="google_generator">http://goo.gl/GrLB9</div>]]></content:encoded>
			<wfw:commentRss>http://www.robplatt.com/index.php/2010/07/13/dynamically-compiled-vnc-binary-repeater-2/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Incredimail Export That Works</title>
		<link>http://www.robplatt.com/index.php/2010/06/17/incredimail-export-works/</link>
		<comments>http://www.robplatt.com/index.php/2010/06/17/incredimail-export-works/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 00:50:22 +0000</pubDate>
		<dc:creator>robplatt</dc:creator>
				<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">http://www.robplatt.com/?p=172</guid>
		<description><![CDATA[I had a client that accidentally installed Incredimail. After awhile of using it, he decided he didn&#8217;t like it. Who can blame him right? I looked around online for various ways to export his mail out of Incredimail, so he could use it in Outlook, Outlook Express, or now, Windows Live Mail. No such luck. He didn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>I had a client that accidentally installed Incredimail. After awhile of using it, he decided he didn&#8217;t like it. Who can blame him right?</p>
<p>I looked around online for various ways to export his mail out of Incredimail, so he could use it in Outlook, Outlook Express, or now, Windows Live Mail. No such luck. He didn&#8217;t think it was right to have the shell out money for products that may or may not work, the free options didn&#8217;t work on the newer version of Incredimail, and of course &#8211; Incredimail won&#8217;t give you that option. So he stuck with it in hopes that some way would surface&#8230; He didn&#8217;t want to lose the email that had built up in the client.</p>
<p>This has been an on going problem for almost a year. Every few months we&#8217;ve checked to see if someone came up with a solution. Finally, someone did.</p>
<p>Thank you <a href="http://code.google.com/u/ReynardWare/">ReynardWare </a>for making <a href="http://code.google.com/p/incredimail-converter-reynardware/">incredimail-converter</a>!</p>
<p>Running the converter couldn&#8217;t be easier. It took about 20 minutes to export all of his email and attachments from Incredimail, into the Microsoft .eml format. Which we simply drug into Windows Live Mail.</p>
<p><a href="http://reynardware.blogspot.com/">Visit his blog and show him support!</a></p>
<div class="google_generator">http://goo.gl/rNSg</div>]]></content:encoded>
			<wfw:commentRss>http://www.robplatt.com/index.php/2010/06/17/incredimail-export-works/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Steel RunAs</title>
		<link>http://www.robplatt.com/index.php/2010/03/17/steel-runas/</link>
		<comments>http://www.robplatt.com/index.php/2010/03/17/steel-runas/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 22:55:43 +0000</pubDate>
		<dc:creator>robplatt</dc:creator>
				<category><![CDATA[Utilities]]></category>
		<category><![CDATA[permissions]]></category>

		<guid isPermaLink="false">http://www.robplatt.com/?p=138</guid>
		<description><![CDATA[Need to run a piece of software with another user account without having to supply that information each time? Steel RunAs has you covered. Steel RunAs helps you in executing commands or applications which run properly when run only with administrator privileges without having to give the user full rights to his machine. Steel RunAs [...]]]></description>
			<content:encoded><![CDATA[<p>Need to run a piece of software with another user account without having to supply that information each time?</p>
<p>Steel RunAs has you covered.</p>
<p>Steel RunAs helps you in executing commands or applications which run properly when run only with administrator privileges without having to give the user full rights to his machine.</p>
<p>Steel RunAs outputs a single executable (&#8220;.exe&#8221;) and does not need any installation in the target machine. Steel RunAs also doesn&#8217;t need any extension through command line. The end user can simply double click to execute the destined program with alternate credentials.</p>
<p>Strong encryption standards keep the embeded credentials safe and secure.</p>
<p><a href="http://www.steelsonic.com/steelrunas.htm">http://www.steelsonic.com/steelrunas.htm</a></p>
<div class="google_generator">http://goo.gl/RcUn</div>]]></content:encoded>
			<wfw:commentRss>http://www.robplatt.com/index.php/2010/03/17/steel-runas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Robocopy and Volume Snapshots to replicate data</title>
		<link>http://www.robplatt.com/index.php/2010/03/15/robocopy-volume-snapshots-replicate-data/</link>
		<comments>http://www.robplatt.com/index.php/2010/03/15/robocopy-volume-snapshots-replicate-data/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 19:16:55 +0000</pubDate>
		<dc:creator>robplatt</dc:creator>
				<category><![CDATA[Utilities]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[replication]]></category>

		<guid isPermaLink="false">http://www.robplatt.com/?p=131</guid>
		<description><![CDATA[Lets start out with our problem. We have many desktops here at the office, and we want the user data replicated to the server so it&#8217;s included in the backups (Desktop, Documents, Pictures, Favorites, etc). We used to use roaming profiles. Though the users were not normally allowed to roam from machine to machine. The [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.robplatt.com/wp-content/uploads/2010/03/mozy-backup-shirt.jpg"><img class="alignright size-medium wp-image-134" title="mozy-backup-shirt" src="http://www.robplatt.com/wp-content/uploads/2010/03/mozy-backup-shirt-300x225.jpg" alt="" width="168" height="126" /></a>Lets start out with our problem.</p>
<p>We have many desktops here at the office, and we want the user data replicated to the server so it&#8217;s included in the backups (Desktop, Documents, Pictures, Favorites, etc).</p>
<p>We used to use roaming profiles. Though the users were not normally allowed to roam from machine to machine. The upside was, it was easy to deploy a new machine to a user, and of course, we had a copy of their files on the server if their computer failed at any time. The downside, roaming profiles can cause logon/logoff events to take longer. Permissions can get screwed up, which will prevent the profile from synchronizing. Ever have a user complain that they deleted icons on their desktop just to have them magically reappear when they rebooted? Yea&#8230; So have we.</p>
<p>We ditched roaming profiles in favor of folder redirection in Vista/7. The upside, files are on the server and included in backup. The downside, you are now working only off the server. There are obvious delays when working with large files/projects.</p>
<p>That being said&#8230; Folder redirection with offline files works well for mobile users. As they are disconnected from the network the majority of the time. Therefore, they are working locally. When they connect, files sync, and are backed up. This was not a viable solution for desktop users on our LAN.</p>
<p>The solution? RoboCopy. It&#8217;s fast, free, simple to script, and can work with Volume Snapshots (<a href="http://msdn.microsoft.com/en-us/library/bb530725(VS.85).aspx">vshadow</a>). I tried a few others, but wanted a simple script that would mirror changed files, periodically, throughout the day.</p>
<p>This following document, I found to be a great starting point.</p>
<p><a href="http://www.eggheadcafe.com/tutorials/aspnet/f6972828-1e81-4cd4-ae0c-36196a82ed25/workstation-open-file-bac.aspx">http://www.eggheadcafe.com/tutorials/aspnet/f6972828-1e81-4cd4-ae0c-36196a82ed25/workstation-open-file-bac.aspx</a></p>
<p>I downloaded <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=9D467A69-57FF-4AE7-96EE-B18C4790CFFD&amp;displaylang=en">RoboCopy</a>, familiarized myself with the <a href="http://www.mydigitallife.info/2007/05/07/robocopy-syntax-command-line-switches-and-examples/">command line parameters</a>,  and wrote a simple script to copy some folders to my server.</p>
<p>Then I worked on implementing vshadow. It was a pain at first. Namely due to the fact that no single exe will work on all platforms. Theres one for 2003/xp, theres two for vista/7/2008 (x86/x64).</p>
<p>I downloaded the <a href="http://www.microsoft.com/downloads/details.aspx?familyid=0b4f56e4-0ccc-4626-826a-ed2c4c95c871&amp;displaylang=en">Volume Shadow Copy Service SDK 7.2</a>, and started digging into it.</p>
<p>You&#8217;ll find the files you need in \Program Files\Microsoft\VSSSDK72\TestApps\vshadow\bin\&#8230; I referenced <a href="http://compuguide.info/Blog/miscellaneous/volume-shadow-copy-service-vss_e_bad_state-0x80042301/">this article</a>, which helped.</p>
<p>I wrote a script to mount a new snapshot, call my robocopy script, then delete the mount point. It errored on &#8220;<em>&#8216;dosdev&#8217; is not recognized as an internal or external command</em>&#8220;. Seems I&#8217;m missing another file. A quick google, and I picked dosdev <a href="http://www.ltr-data.se/opencode.html">up here</a>.</p>
<p>Now I can take a snapshot, and mirror user directories to their folders on the server. =)</p>
<p><a href="http://www.robplatt.com/downloads/vss-backup-script.rar">Here are the files I used.</a></p>
<p>Hope this helps someone.</p>
<p><em>p.s. the image, top-right, is a mozy.com t-shirt. i used to use mozyhome. however a good program, it doesn&#8217;t apply to this article <img src='http://www.robplatt.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </em></p>
<div class="google_generator">http://goo.gl/LJha</div>]]></content:encoded>
			<wfw:commentRss>http://www.robplatt.com/index.php/2010/03/15/robocopy-volume-snapshots-replicate-data/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Dynamically compiled VNC binary with repeater</title>
		<link>http://www.robplatt.com/index.php/2010/03/02/dynamically-compiled-vnc-binary-repeater/</link>
		<comments>http://www.robplatt.com/index.php/2010/03/02/dynamically-compiled-vnc-binary-repeater/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 02:02:00 +0000</pubDate>
		<dc:creator>robplatt</dc:creator>
				<category><![CDATA[Utilities]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[uvnc]]></category>

		<guid isPermaLink="false">http://www.robplatt.com/?p=119</guid>
		<description><![CDATA[WebEx and GoToMeeting cost $$. Teamviewer is free, but only for personal use&#8230;. How would you like a dynamically compiled single-click VNC, with no GUI, using a repeater, for free? First off, let&#8217;s answer some questions&#8230; What is single-click? What is a repeater? UltraVNC Single-Click is a mini UltraVNC Server that can be customized and preconfigured for [...]]]></description>
			<content:encoded><![CDATA[<p>WebEx and GoToMeeting cost $$. Teamviewer is free, but only for personal use&#8230;.</p>
<p>How would you like a dynamically compiled single-click VNC, with no GUI, using a repeater, for free?</p>
<p>First off, let&#8217;s answer some questions&#8230; What is single-click? What is a repeater?</p>
<p>UltraVNC Single-Click is a mini UltraVNC Server that can be customized and preconfigured for download by a Customer. UltraVNC SC does not require installation and does not make use of the registry. The customer only have to download the little executable and Click to make a connection. The connection is initiated by the server, to allow easy access thru customers firewall.</p>
<p>Hmm, ok, and the repeater?</p>
<p><a href="http://www.uvnc.com/addons/repeater.html">http://www.uvnc.com/addons/repeater.html<br />
</a>Basically allows you to bypass firewalls using a preconfigured server.</p>
<p><span id="more-119"></span>Rather than trying to explain it. I&#8217;ll give you an example. Lets say your name is John Doe.</p>
<p>Client calls you up, needing computer help / training. You tell them sure, please visit my website. Give them the url to your support page. They are prompted for a session key. They enter the session key, and click ok. Your server compiles an executable with the session key, YOUR name and the ip of YOUR repeater (if you have more than one). Meanwhile, you visit a similar page, for the host (password protected of course). You enter the same session key. The host executeable is compiled and downloaded to your computer. You run it, it connects to the repeater with the session key, and waits for the client to connect. The client runs the executable they&#8217;re given, it says &#8220;Waiting for John Doe &#8230;&#8221;, the connection establishes to the same repeater, and now you can see their desktop. Depending on your permission, you may even be able to interact with them.</p>
<p>While this is all happening, you could have 2 or 3 or 10 other like scenarios going on at the same time. Without having to build the helpdesk.txt file, without having to map ports to computers, without users having to be at specific computer with ports mapped and software installed.</p>
<p>And yes, I did mention permissions. Depending on your configuration, Bob from level one technical support may only be able to view a clients desktop, but Fred from level two may be able to interact. Keeps your liability down.</p>
<p>FYI- My files below are setup to disable Aero and UAC on Vista/7, and re-enable after the session ends. It&#8217;s also set up for low bandwidth use.</p>
<p>Here are the steps to getting things set up: (I&#8217;ll provide the files so you don&#8217;t have to do much.)</p>
<ol>
<li>Set up a repeater &#8211; <a href="http://www.uvnc.com/addons/repeater.html">download</a><br />
The repeater can be ran as an application, or a system service. I have found it&#8217;s more reliable running as an application, but this does require a logon session to remain in memory. Run on any windows OS. Configure the ports.<br />
<a href="http://www.robplatt.com/wp-content/uploads/2010/03/repeater.png"><img class="size-medium wp-image-121 aligncenter" title="repeater" src="http://www.robplatt.com/wp-content/uploads/2010/03/repeater-300x225.png" alt="" width="300" height="225" /><br />
</a></li>
<li>Build the client executable &#8211; download my files below<br />
Take the standard VNC single-click executable. Run it through ResHacker, and make it look like this.<br />
<a href="http://www.robplatt.com/wp-content/uploads/2010/03/reshacker_winvnc.png"><img class="size-medium wp-image-122 aligncenter" title="reshacker_winvnc" src="http://www.robplatt.com/wp-content/uploads/2010/03/reshacker_winvnc-300x120.png" alt="" width="300" height="120" /><br />
</a></li>
<li>Set up client configs &#8211; download my files below<br />
Config.txt is for 7zip to know how to package and execute your executable. Helpdesk.txt needs to have some variables in it, that your other scripts will replace with the actual data, such as the ip and technicianss name. This is how the client executable knows how to connect and what to say.</li>
<li>Set up host config &#8211; download my files below<br />
Config.txt holds the information such as low bandwidth, permissions, etc.<br />
RunProgram=&#8221;vncviewer.exe -autoreconnect 5 $RESTRICTED -noauto -64colors -encoding tight -proxy $IP::$PORT ID:$ID&#8221;The variables in caps are replaced by values during compilation time. The restriction level, the ip, port, and session key / id.</li>
<li>Set up client script &#8211; download my files below in ASP.NET 2<br />
Build an asp or php page to compile the executable for the client. This script will need execute access on your web server. It will replace the variables in the text files with actual data. Compress all the files needed into one executable, push that file to the browser, then delete any temp files leftover on the server.</li>
<li>Set up host script &#8211; download my files below in ASP.NET 2<br />
This will be a lot like the script above. It will compile the host executable in a similar fashion. Here, you can set up which session keys, belong to which users, and what permissions they have.</li>
</ol>
<p>Tips:</p>
<ul>
<li>Try using port 80 for your clients. This may allow them to utilize remote assistance, if their firewalls are severely locked down. I went with the default ports myself, though I may change that if I run into problems with clients being unable to connect.</li>
<li>The host can save his executable as long as his session key doesn&#8217;t need to be changed. This will allow him to connect quicker to the repeater. Which by the way, will timeout after 5 minutes if no client connects.</li>
<li>You&#8217;ll notice my asp.net scripts allow the use of the query string. This allows shortcuts to be made to skip having to enter the session key. Just click the shortcut, and run the exe.</li>
<li>The host has the ability to create a shortcut. It will ask them where they want to save it (desktop), then future sessions, they can just click the shortcut.</li>
</ul>
<p>Here are the things I plan on implementing:</p>
<ul>
<li>Allowing users to have more than one session key, so they may connect to multiple clients at the same time.</li>
</ul>
<p>I realize this seems complicated, and its easier to just use other software out there, but hey&#8230; It&#8217;s free, and it works.</p>
<p><a href="/downloads/remote_support_files.rar">Download the files</a>: (the web scripts are in ASP.NET 2)</p>
<ul>
<li>Client Files &#8211; Place in a folder on the webserver as is. (\bin\remote-support\client\)</li>
<li>Client Script (support.aspx) &#8211; Place anywhere on the webserver, give full permission. Edit path inside for client files if different than above, add your technicians.</li>
<li>Host Files &#8211; Place in a folder on the webserver as is. Lock this folder down! (\bin\remote-support\host\)</li>
<li>Host File (support_admin.aspx) &#8211; Place anywhere on the webserver, give full permission. Lock this file down! Edit path inside for host files if different than above, add your technicians, adjust a few other things.</li>
</ul>
<p>We use this setup at work, with a few connections a day, by a few different users.  I also use it personally for friends/family/clients and have found it to be very reliable.</p>
<p>If I missed anything, or you need help, feel free to comment or email me. It should be pretty straight-forward for those of you wishing to tackle this.</p>
<p>Update: My project has been ported to PHP/Linux. Head over to <a href="http://phpremotesupport.com/">phpremotesupport.com</a> and check it out!</p>
<p>Update: PHPrs is now available for download.  Get it from <a href="http://phpremotesupport.com/">phpremotesupport.com</a> or <a href="http://www.robplatt.com/downloads/php-remote-support-v.1b.zip">download it here</a>.</p>
<p>Update: Added MSRC4 Encryption. <a href="http://www.robplatt.com/index.php/2010/07/13/dynamically-compiled-vnc-binary-repeater-2/">Read about it here</a>.</p>
<div class="google_generator">http://goo.gl/NNSQ</div>]]></content:encoded>
			<wfw:commentRss>http://www.robplatt.com/index.php/2010/03/02/dynamically-compiled-vnc-binary-repeater/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>TechTools 3.0</title>
		<link>http://www.robplatt.com/index.php/2010/02/27/techtools-3/</link>
		<comments>http://www.robplatt.com/index.php/2010/02/27/techtools-3/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 06:48:14 +0000</pubDate>
		<dc:creator>robplatt</dc:creator>
				<category><![CDATA[Utilities]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[whatsmypass]]></category>

		<guid isPermaLink="false">http://www.robplatt.com/?p=33</guid>
		<description><![CDATA["... TechTools is for techs and people who work on computers everyday,
and need updated programs to keep with them on their usb key ..."]]></description>
			<content:encoded><![CDATA[<p>WhatsMyPass has published version 3 of TechTools.</p>
<p>Tech Tools uses Ketarin, which is an application downloader that checks to see if an application has been updated and downloads it if so.</p>
<p>The genius in this tool is that we dont have to have you download all these tools at one time from our website, you’re going to be downloading each file individually from the app’s website. This helps with our bandwidth costs and some authors of the applications, while freeware, wanted the only download of their software to be at their own sites.</p>
<p>There has got to be around 100 apps listed. Go check it out!</p>
<p><a href="http://www.whatsmypass.com/techtools-3-0">http://www.whatsmypass.com/techtools-3-0</a></p>
<div class="google_generator">http://goo.gl/gcyu</div>]]></content:encoded>
			<wfw:commentRss>http://www.robplatt.com/index.php/2010/02/27/techtools-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

