<?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>blog.eddsn.com &#187; Fixes</title>
	<atom:link href="http://blog.eddsn.com/category/fixes/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.eddsn.com</link>
	<description>The whole is more than the sum of its parts - Aristotle</description>
	<lastBuildDate>Mon, 16 Jan 2012 14:13:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>&#8220;Python Version 2.7 required which was not found in the registry&#8221;</title>
		<link>http://blog.eddsn.com/2012/01/python-version-2-7-required-which-was-not-found-in-the-registry/</link>
		<comments>http://blog.eddsn.com/2012/01/python-version-2-7-required-which-was-not-found-in-the-registry/#comments</comments>
		<pubDate>Sun, 15 Jan 2012 02:35:48 +0000</pubDate>
		<dc:creator>eddsn</dc:creator>
				<category><![CDATA[Fixes]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://blog.eddsn.com/?p=1164</guid>
		<description><![CDATA[Introduction Any module installer that is created using distutils (bdist_wininst) is very likely to produce this error. The problem is that it only detects 32bit installations of Python on 64bit Windows machines. Or more technically, 32bit versions of Python create the following registry path HKEY_LOCAL_MACHINE\Software\Wow6432Node\Python\PythonCore while 64bits versions create a slightly other registry path which [...]]]></description>
			<content:encoded><![CDATA[<!-- Start LikeButtonSetTop --><!-- End LikeButtonSetTop --><p><a href="http://blog.eddsn.com/wp-content/uploads/2012/01/error.jpg"><img class="size-full wp-image-1165 aligncenter" style="margin-right: 10px; margin-left: 10px; margin-top: 2px; margin-bottom: 2px;" title="&quot;Python version 2.7 required which was not found in the registry&quot;" src="http://blog.eddsn.com/wp-content/uploads/2012/01/error.jpg" alt="" width="459" height="171" /></a><br />
<strong>Introduction</strong><br />
Any module installer that is created using distutils (bdist_wininst) is very likely to produce this <a href="http://bugs.python.org/issue6792">error</a>. The problem is that it only detects 32bit installations of Python on 64bit Windows machines. Or more technically, 32bit versions of Python create the following registry path</p>
<blockquote><p>HKEY_LOCAL_MACHINE\Software\Wow6432Node\Python\PythonCore</p></blockquote>
<p>while 64bits versions create a slightly other registry path which is</p>
<blockquote><p>HKEY_CURRENT_USER\Software\Python\PythonCore</p></blockquote>
<p>When any 32-bit module setup is started (with a Python 64-bit on your system), it first checks whether the first path exists, while instead it should check the second (which does exist).</p>
<p>There are basically three ways of solving this:</p>
<ul>
<li>You can install a 32-bit Python version</li>
<li>or install a 64-bit version of your module</li>
<li>or adjust the registry such that it really sees that a 64bit Python is installed</li>
</ul>
<p>I will of course elaborate on the last two options.</p>
<p><strong>Install a 64-bit version of your module</strong></p>
<p>You can find many module binaries <a href="http://www.lfd.uci.edu/~gohlke/pythonlibs/">here</a>. Choose a 64-bit version and install it. This is the most clean way of fixing the problem.</p>
<p>If your module is not in the list, then try the alternative below.</p>
<p><strong>Fix by adjusting the registry</strong></p>
<p>So the dirty way is to do the following adjustments in the registry:</p>
<ol>
<li>Run <em>regedit</em>.</li>
<li>Locate the path: <em>HKEY_CURRENT_USER\Software\Wow6432Node\</em></li>
<li>Create keys in this path: <em>Python\PythonCore\2.7\InstallPath</em></li>
<li>Modify the &#8220;<em>(Default)</em>&#8220;, which is initially empty, to the path where Python is located, for example &#8220;C:\Python27\&#8221;.</li>
<li>You are done. Exit and retry the setup that gave the error.</li>
</ol>
<p>You can alternatively create a <em>.reg</em> file (for example <em>fix.reg</em>) that will do the above steps automatically. Put exactly the following in it:</p>
<pre>Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python\PythonCore\2.7\InstallPath]
@="C:\\Python27\\"</pre>
<p>If you are lazy, then you can also download <a href="http://blog.eddsn.com/wp-content/uploads/2012/01/regfix.zip">this file</a>, unpack the registry file and just run it.</p>
<p>&nbsp;</p>
<div class="shr-publisher-1164"></div><!-- Start LikeButtonSetBottom --><!-- End LikeButtonSetBottom -->
]]></content:encoded>
			<wfw:commentRss>http://blog.eddsn.com/2012/01/python-version-2-7-required-which-was-not-found-in-the-registry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Unable to find vcvarsall.bat&#8221; error when trying to install lxml</title>
		<link>http://blog.eddsn.com/2012/01/unable-to-find-vcvarsall-bat-error-when-trying-to-install-lxml/</link>
		<comments>http://blog.eddsn.com/2012/01/unable-to-find-vcvarsall-bat-error-when-trying-to-install-lxml/#comments</comments>
		<pubDate>Sun, 15 Jan 2012 02:04:00 +0000</pubDate>
		<dc:creator>eddsn</dc:creator>
				<category><![CDATA[Fixes]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://blog.eddsn.com/?p=1151</guid>
		<description><![CDATA[I needed the lxml library on a machine for some python script that I coded earlier. I tried using easy_install by doing easy_install lxml but then I got the following error: Searching for lxml Reading http://pypi.python.org/simple/lxml/ Reading http://codespeak.net/lxml Best match: lxml 2.3.3 Downloading http://lxml.de/files/lxml-2.3.3.tgz Processing lxml-2.3.3.tgz Running lxml-2.3.3\setup.py -q bdist_egg --dist-dir c:\users\edin\appdata\local\ temp\easy_install-9sxhlm\lxml-2.3.3\egg-dist-tmp-pjbtkm Building lxml [...]]]></description>
			<content:encoded><![CDATA[<!-- Start LikeButtonSetTop --><!-- End LikeButtonSetTop --><p>I needed the <a href="http://lxml.de/">lxml</a> library on a machine for some python script that I coded earlier. I tried using <a href="http://peak.telecommunity.com/DevCenter/EasyInstall">easy_install</a> by doing</p>
<pre>easy_install lxml</pre>
<p>but then I got the following error:</p>
<pre>Searching for lxml
Reading http://pypi.python.org/simple/lxml/
Reading http://codespeak.net/lxml
Best match: lxml 2.3.3
Downloading http://lxml.de/files/lxml-2.3.3.tgz
Processing lxml-2.3.3.tgz
Running lxml-2.3.3\setup.py -q bdist_egg --dist-dir c:\users\edin\appdata\local\
temp\easy_install-9sxhlm\lxml-2.3.3\egg-dist-tmp-pjbtkm
Building lxml version 2.3.3.
Building without Cython.
ERROR: 'xslt-config' is not recognized as an internal or external command,
operable program or batch file.

** make sure the development packages of libxml2 and libxslt are installed **

Using build configuration of libxslt
warning: no files found matching 'lxml.etree.c' under directory 'src\lxml'
warning: no files found matching 'lxml.objectify.c' under directory 'src\lxml'
warning: no files found matching 'lxml.etree.h' under directory 'src\lxml'
warning: no files found matching 'lxml.etree_api.h' under directory 'src\lxml'
warning: no files found matching 'etree_defs.h' under directory 'src\lxml'
warning: no files found matching 'pubkey.asc' under directory 'doc'
warning: no files found matching 'tagpython*.png' under directory 'doc'
warning: no files found matching 'Makefile' under directory 'doc'
error: Setup script exited with error: Unable to find vcvarsall.bat</pre>
<p>I tried installing <a href="http://xmlsoft.org/">libxml2</a> and <a href="http://xmlsoft.org/XSLT/">libxslt</a>, but it resulted in similar errors.</p>
<blockquote><p>Searching for libxml2<br />
Reading http://pypi.python.org/simple/libxml2/<br />
Couldn&#8217;t find index page for &#8216;libxml2&#8242; (maybe misspelled?)<br />
Scanning index of all packages (this may take a while)<br />
Reading http://pypi.python.org/simple/<br />
No local packages or download links found for libxml2<br />
Best match: None<br />
Traceback (most recent call last):<br />
File &#8220;C:\Python27\Scripts\easy_install-script.py&#8221;, line 8, in<br />
load_entry_point(&#8216;setuptools==0.6c11&#8242;, &#8216;console_scripts&#8217;, &#8216;easy_install&#8217;)()<br />
File &#8220;C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\com<br />
mand\easy_install.py&#8221;, line 1712, in main<br />
File &#8220;C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\com<br />
mand\easy_install.py&#8221;, line 1700, in with_ei_usage<br />
File &#8220;C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\com<br />
mand\easy_install.py&#8221;, line 1716, in<br />
File &#8220;C:\Python27\lib\distutils\core.py&#8221;, line 152, in setup<br />
dist.run_commands()<br />
File &#8220;C:\Python27\lib\distutils\dist.py&#8221;, line 953, in run_commands<br />
self.run_command(cmd)<br />
File &#8220;C:\Python27\lib\distutils\dist.py&#8221;, line 972, in run_command<br />
cmd_obj.run()<br />
File &#8220;C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\com<br />
mand\easy_install.py&#8221;, line 211, in run<br />
File &#8220;C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\com<br />
mand\easy_install.py&#8221;, line 434, in easy_install<br />
File &#8220;C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\pac<br />
kage_index.py&#8221;, line 475, in fetch_distribution<br />
AttributeError: &#8216;NoneType&#8217; object has no attribute &#8216;clone&#8217;</p></blockquote>
<p>In one of my previous posts I pointed out how you can solve a similar problem with a missing vcvarsall.bat error, but unfortunately that <a href="http://blog.eddsn.com/2010/05/unable-to-find-vcvarsall-bat/">approach</a> did not solve my problem. Compiling the sources from the ground up was a too intensive job (which I might try to figure out in the future), so I chose the easy path.</p>
<p>The issue was solved by installing these packages from <a href="http://www.lfd.uci.edu/~gohlke/pythonlibs/">this site</a> which lists a lot of (unoffical) Windows binaries for Python. Everything suddenly started to work as it should. <img src='http://blog.eddsn.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="shr-publisher-1151"></div><!-- Start LikeButtonSetBottom --><!-- End LikeButtonSetBottom -->
]]></content:encoded>
			<wfw:commentRss>http://blog.eddsn.com/2012/01/unable-to-find-vcvarsall-bat-error-when-trying-to-install-lxml/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cannot Install Microsoft .NET Framework 3.5 SP1</title>
		<link>http://blog.eddsn.com/2012/01/cannot-install-microsoft-net-framework-3-5-sp1/</link>
		<comments>http://blog.eddsn.com/2012/01/cannot-install-microsoft-net-framework-3-5-sp1/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 12:32:05 +0000</pubDate>
		<dc:creator>eddsn</dc:creator>
				<category><![CDATA[Fixes]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.eddsn.com/?p=1101</guid>
		<description><![CDATA[There might be several reasons as to why you can&#8217;t install the .NET Framework. I had the problem while installing the framework via the Windows Update. Symptoms While trying to install Microsoft .NET Framework 3.5 SP1 Update for Windows 7 x86 (KB982526), Windows Update told me that the update was unsuccessful and gave me the following &#8220;useful&#8221; [...]]]></description>
			<content:encoded><![CDATA[<!-- Start LikeButtonSetTop --><!-- End LikeButtonSetTop --><p>There might be several reasons as to why you can&#8217;t install the <a href="http://en.wikipedia.org/wiki/.NET_Framework">.NET Framework</a>. I had the problem while installing the framework via the <em>Windows Update</em>.</p>
<p><strong>Symptoms</strong><br />
While trying to install <strong>Microsoft .NET Framework 3.5 SP1 Update for Windows 7</strong> x86 (KB982526)<em>,</em> Windows Update told me that the update was unsuccessful and gave me the following &#8220;useful&#8221; error:</p>
<blockquote><p>&#8220;WindowsUpdate_800F081F&#8221; &#8220;WindowsUpdate_dt000&#8243;</p></blockquote>
<p>You might also get several other errors similar to the following:</p>
<ul>
<li>an error of type <em>0&#215;643</em></li>
<li><em>Microsoft .NET Framework 3.5 (x64) &#8216;package&#8217;: [2] Error: Installation failed for component Microsoft .NET Framework 3.5 (x64) &#8216;package&#8217;. MSI returned error code 1601</em></li>
<li><em>Microsoft .NET Framework 3.5 (x64) &#8216;package&#8217;: [2] Error: Installation failed for component Microsoft .NET Framework 3.5 (x64) &#8216;package&#8217;. MSI returned error code 1603</em></li>
<li><em>Microsoft .NET Framework 3.0SP1 (x64) (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 3.0SP1 (x64) (CBS). MSI returned error code -2146762496<br />
</em></li>
<li><em>WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0SP1 (CBS) is not installed<br />
</em></li>
</ul>
<div>Regarding the installation via Windows Update, you might furthermore experience problems with installing <strong>Windows Internet Explorer 9 for Windows 7</strong> by getting an error similar to this:</div>
<blockquote><p>&#8220;WindowsUpdate_00009C47&#8243; &#8220;WindowsUpdate_dt000&#8243;</p></blockquote>
<p><strong>Solution(s)</strong><br />
It strongly depends on the situation and your system but you might try one of the following solutions:</p>
<ul>
<li>You can first try to install the <em>System Update Readiness Tool for Windows 7</em> which is an August 2011 release (<a href="http://www.microsoft.com/download/en/details.aspx?id=3132">KB947821</a> - 32-bit (x86)) at this moment of writing. This should solve any inconsistencies in the Windows servicing store which may prevent the successful installation of future updates, service packs, and software. There is also a <a href="http://www.microsoft.com/download/en/details.aspx?id=20858">64-bit version for Windows 7</a>. Windows Vista: <a href="http://www.microsoft.com/download/en/details.aspx?id=504">32-bit</a> (x86), <a href="http://www.microsoft.com/download/en/details.aspx?id=1540">64-bit</a> (x64).</li>
<li>If you&#8217;re not using Windows Update, then you can try to download and install the framework manually: <a href="http://www.microsoft.com/download/en/details.aspx?id=22">Microsoft .NET Framework 3.5 Service Pack 1</a>.</li>
<li>There is also a newer version of the framework which most newer applications use which might also suffice: <a href="http://www.microsoft.com/download/en/details.aspx?id=17851">Microsoft .NET Framework 4 (Web Installer)</a>.</li>
<li>Another thing that you can try on top of all the above is to first remove all the existing .NET framework versions. Do it via <em>Add or remove programs</em> from the <em>Configuration Panel.</em> You can also try the <a href="http://blogs.msdn.com/b/astebner/archive/2008/08/28/8904493.aspx">.NET Framework Cleanup Tool</a>.</li>
<li>Do the following: <em>Start</em> &gt; <em>Run</em> &gt; type &#8220;services.msc&#8221;. Now check whether the <em>Startup Type</em> of <em>Windows Installer</em> is set to <em>Manual</em>.</li>
<li>Go to <em>Start</em> &gt; <em>Control Panel</em> &gt; <em>Programs</em> &gt; <em>Turn Windows features on or off.</em> Check now that the Microsoft .NET Framework 3.5.1 is <strong>checked on</strong>.</li>
<li>Disable any security/antivirus software while trying to install. Usually this shouldn&#8217;t give problems, but it&#8217;s worth a try.</li>
</ul>
<div>If you still didn&#8217;t fix your problem, you can start a discussion in the comments below. If you fixed it in another way, then please share it and I&#8217;ll add it to the list above.</div>
<div class="shr-publisher-1101"></div><!-- Start LikeButtonSetBottom --><!-- End LikeButtonSetBottom -->
]]></content:encoded>
			<wfw:commentRss>http://blog.eddsn.com/2012/01/cannot-install-microsoft-net-framework-3-5-sp1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;LaTeX source files more than 5 years old!&#8221;</title>
		<link>http://blog.eddsn.com/2011/06/latex-source-files-more-than-5-years-old/</link>
		<comments>http://blog.eddsn.com/2011/06/latex-source-files-more-than-5-years-old/#comments</comments>
		<pubDate>Sat, 11 Jun 2011 17:22:14 +0000</pubDate>
		<dc:creator>eddsn</dc:creator>
				<category><![CDATA[Fixes]]></category>
		<category><![CDATA[LaTeX]]></category>

		<guid isPermaLink="false">http://blog.eddsn.com/?p=1062</guid>
		<description><![CDATA[Got this compile error from LaTeX today and I really don&#8217;t have any idea what is exactly going on. This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8) Running miktex-pdftex.exe... This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8) (INITEX) entering extended mode ("C:\Program Files\MiKTeX 2.8\tex\latex\config\latex.ini" (C:\Users\Edin\AppData\Roaming\MiKTeX\2.8\tex\generic\config\pdftexconfig.tex) ("C:\Program Files\MiKTeX 2.8\tex\latex\base\latex.ltx" ("C:\Program Files\MiKTeX 2.8\tex\latex\00miktex\texsys.cfg") ./texsys.aux found \@currdir set to: ./. [...]]]></description>
			<content:encoded><![CDATA[<!-- Start LikeButtonSetTop --><!-- End LikeButtonSetTop --><p>Got this compile error from LaTeX today and I really don&#8217;t have any idea what is exactly going on.</p>
<pre>This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8)
Running miktex-pdftex.exe...
This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8) (INITEX)
entering extended mode
("C:\Program Files\MiKTeX 2.8\tex\latex\config\latex.ini"
(C:\Users\Edin\AppData\Roaming\MiKTeX\2.8\tex\generic\config\pdftexconfig.tex)
("C:\Program Files\MiKTeX 2.8\tex\latex\base\latex.ltx"
("C:\Program Files\MiKTeX 2.8\tex\latex\00miktex\texsys.cfg")
./texsys.aux found

\@currdir set to: ./.

Assuming \openin and \input
have the same search path.

Defining UNIX/DOS style filename parser.

catcodes, registers, compatibility for TeX 2,  parameters,

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! You are attempting to make a LaTeX format from a source file
! That is more than five years old.
!
! If you enter &lt;return&gt; to scroll past this message then the format
! will be built, but please consider obtaining newer source files
! before continuing to build LaTeX.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

! LaTeX source files more than 5 years old!.
l.545 ...aTeX source files more than 5 years old!}

No pages of output.
Transcript written on latex.log.
miktex-makefmt: miktex-pdftex.exe failed on latex.ini.
initexmf.exe: The operation failed for some reason.
initexmf.exe: Data: C:\Program Files\MiKTeX 2.8\miktex\bin\miktex-makefmt.exe
I can't find the default format file!</pre>
<p>However, I did find a workaround that seemed to solve the problem and I decided to share it. Perform the following steps:</p>
<ol>
<li>Open &#8220;C:\Program Files\MiKTeX 2.8\tex\latex\base\<strong>latex.ltx&#8221;</strong> (or wherever your latex.ltx resides). One alternative path that is different from mine is &#8220;C:\Program Files\MiKTeX\miktex\bin\tex\latex\base&#8221;.</li>
<li>Find &#8220;\ifnum\count@<strong>65</strong>&gt;&#8221; and change it into &#8220;\ifnum\count@&gt;<strong>100</strong>&#8221; (or some number larger than 100)</li>
<li>Save the file.</li>
</ol>
<p>The real problem is not fixed, but at least you should now be able to compile your files.</p>
<p>Note that in Windows Vista and Windows 7 you&#8217;ll have to have administrator access to be able to overwrite this file since <em>Program Files</em> is a system directory. One way to accomplish this is to simply copy the file to let&#8217;s say the desktop, edit it, and then overwrite the original file with the edited file.</p>
<div class="shr-publisher-1062"></div><!-- Start LikeButtonSetBottom --><!-- End LikeButtonSetBottom -->
]]></content:encoded>
			<wfw:commentRss>http://blog.eddsn.com/2011/06/latex-source-files-more-than-5-years-old/feed/</wfw:commentRss>
		<slash:comments>43</slash:comments>
		</item>
		<item>
		<title>Restore Outlook Account Settings From Second Drive</title>
		<link>http://blog.eddsn.com/2011/02/restore-outlook-account-settings-from-second-drive/</link>
		<comments>http://blog.eddsn.com/2011/02/restore-outlook-account-settings-from-second-drive/#comments</comments>
		<pubDate>Sun, 13 Feb 2011 02:23:55 +0000</pubDate>
		<dc:creator>eddsn</dc:creator>
				<category><![CDATA[Fixes]]></category>
		<category><![CDATA[Outlook]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.eddsn.com/?p=904</guid>
		<description><![CDATA[Introduction In some strange situations it might occur that you want to recover your Outlook Account Settings from an old drive or partition on which you are unable to boot in Windows (or you just don&#8217;t want to). Unlike the Outlook mails which are stored in a PST file, the Outlook account settings are located [...]]]></description>
			<content:encoded><![CDATA[<!-- Start LikeButtonSetTop --><!-- End LikeButtonSetTop --><p><strong>Introduction</strong><br />
In some strange situations it might occur that you want to recover your <em>Outlook Account Settings</em> from an old drive or partition on which you are unable to boot in Windows (or you just don&#8217;t want to). Unlike the Outlook mails which are stored in a <a href="http://en.wikipedia.org/wiki/Personal_Storage_Table">PST file</a>, the Outlook account settings are located in the <a href="http://en.wikipedia.org/wiki/Windows_registry">Windows Registry</a>. If you haven&#8217;t deleted your Windows files it is possible to access certain registry keys so that you can export all the account settings information and import it in your current registry.</p>
<p>This tutorial applies for <em>Outlook 2007</em>, but it might also be usable for <em>Outlook 2003</em> and <em>Outlook 2010</em>.</p>
<p><span id="more-904"></span></p>
<p><strong>Warning</strong><br />
Since we&#8217;ll be playing with the registry it is wise to first create a backup of your registry before continuing. You can do this by running <em>Regedit</em> and then exporting everything to a file or you can simply make a restore point with <a href="http://en.wikipedia.org/wiki/System_Restore">System Restore</a>. <a href="http://www.google.com/search?hl=en&amp;noj=1&amp;q=create+backup+of+registry&amp;btnG=Search&amp;aq=f&amp;aqi=&amp;aql=&amp;oq=">Google</a> will also be your friend if you want to try other alternatives.</p>
<p>Note that I&#8217;m not responsible in any way for any consequences that may occur after performing the ahead mentioned steps.</p>
<p><strong>Access the registry</strong><br />
To access the from the second drive, partition or windows version you need to be able to access the <em>ntuser.dat</em> file (<a href="http://en.wikipedia.org/wiki/Windows_Registry#HKEY_CURRENT_USER_.28HKCU.29">HKEY_CURRENT_USER</a>). This file is user-account specific and is usually located in a fixed directory. Note that in the rest of the article I will assume that your system drive is &#8220;C:\&#8221; to keep notations simple.</p>
<ul>
<blockquote>
<li>In Windows XP usually:<br />
<em>%SystemDrive%</em>\Documents and Settings\<em>%UserName%</em>\<strong>NTUSER.DAT</strong></li>
</blockquote>
<blockquote>
<li>And in Windows Vista/7:<br />
<em>%SystemDrive%</em>\Users\<em>%UserName%</em>\<strong>NTUSER.DAT</strong></li>
</blockquote>
</ul>
<p>When you open<em> Regedit</em> (<em>%SystemDrive%</em><em>\Windows\<strong>regedit.exe</strong></em>) you&#8217;ll only see your local registry. To access the external registry file, we need to hive it under the hive <a href="http://en.wikipedia.org/wiki/Windows_Registry#HKEY_LOCAL_MACHINE_.28HKLM.29">HKEY_LOCAL_MACHINE</a>. This can be done by selecting the latter and then from the file menu selecting &#8220;<em>Load Hive&#8230;</em>&#8221; (see figure below).</p>
<p><a href="http://blog.eddsn.com/wp-content/uploads/2011/02/hive00.jpg"><img class="size-full wp-image-932 alignnone" title="hive00" src="http://blog.eddsn.com/wp-content/uploads/2011/02/hive00.jpg" alt="" width="249" height="278" /></a> <a href="http://blog.eddsn.com/wp-content/uploads/2011/02/hive01.jpg"><img class="alignleft size-full wp-image-933" title="hive01" src="http://blog.eddsn.com/wp-content/uploads/2011/02/hive01.jpg" alt="" width="291" height="276" /></a></p>
<p>Now we should locate the file. Try to find the <em>ntuser.dat</em> file in the locations mentioned earlier. Note that the <em>ntuser.dat</em> is a protected system file that is hidden by default. Before looking in the above folders you should first make sure to unhide protected system files (see figure below). One other way is to manually type in the ntuser.dat file while you&#8217;re in the specified folder or type the full path (eg. &#8220;<em>D:\Users\YourName\ntuser.dat</em>&#8221; or &#8220;<em>D:\Documents and Settings\YourName\ntuser.dat</em>&#8220;).</p>
<p><a href="http://blog.eddsn.com/wp-content/uploads/2011/02/unhide00.jpg"><img class="alignnone size-full wp-image-942" title="Folder and Search options" src="http://blog.eddsn.com/wp-content/uploads/2011/02/unhide00.jpg" alt="" width="311" height="228" /></a> <a href="http://blog.eddsn.com/wp-content/uploads/2011/02/unhide01.jpg"><img class="alignnone size-full wp-image-943" title="Unhide protected operating system files" src="http://blog.eddsn.com/wp-content/uploads/2011/02/unhide01.jpg" alt="" width="257" height="313" /></a></p>
<p>When opened <em>Regedit</em> will ask you to enter a &#8220;<em>Key Name</em>&#8220;. You can in principle enter any name as long as it is not used by some other key (use for example &#8220;<em>ntuser</em>&#8220;).</p>
<p>Now that you have loaded your registry file, we need to dive into the exact registry key and export the corresponding values. So now open your new key, let&#8217;s say &#8220;<em>ntuser</em>&#8220;, and then browse to</p>
<blockquote><p>HKEY_LOCAL_MACHINE\<em>ntuser</em>\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook</p></blockquote>
<p>If you open the last key <em>Outlook,</em> you&#8217;ll see various alphanumeric keys. Between these keys there is a key, usually key &#8220;<em>9375CFF0413111d3B88A00104B2A6676&#8243;</em>, that has other sub keys which contain all the values we need.</p>
<p>Open the mentioned key (or try to find a key that has some sub keys) and you should see something like in the figure below. If that&#8217;s the case, then we have successfully found the information we were looking for. <img src='http://blog.eddsn.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://blog.eddsn.com/wp-content/uploads/2011/02/keys.jpg"><img class="alignnone size-full wp-image-952" title="Showing the Outlook Account Settings keys" src="http://blog.eddsn.com/wp-content/uploads/2011/02/keys.jpg" alt="" width="596" height="507" /></a></p>
<p><strong>Exporting the registry keys and values</strong><br />
Now that you have managed to access the keys, we need to export them to a <em>.reg</em> file and import them at the right location. Right click on our &#8220;<em>9375CFF0413111d3B88A00104B2A6676&#8243;</em> key and click on <em>Export</em>. Save it to some file and open the file with some text editor, for example <a href="http://en.wikipedia.org/wiki/Notepad_(software)">Notepad</a>.</p>
<p>Since we have hived our <em>ntuser.dat</em> file under &#8220;<em>HKEY_LOCAL_MACHINE\ntuser\..</em>&#8220;, the keys are exported with the same key path. We are now concerned in changing this key path to our &#8216;real&#8217; path. This is simply done by replacing every occurence of</p>
<blockquote><p>HKEY_LOCAL_MACHINE\ntuser\</p></blockquote>
<p>with</p>
<blockquote><p>HKEY_CURRENT_USER\</p></blockquote>
<p>That way, we have ensured that our settings will be imported in the right location under our current logged in user (if you want to import the settings under a different account then you should switch over to it). Save your <em>reg file</em> and<span style="color: #ff0000;"> please make sure you have backed up your entire registry before continuing</span>! In case anything goes wrong, you will be able to revert the changes.</p>
<p><strong>Importing the registry keys and values</strong><br />
Things become easy now (make sure your Outlook is not running). After having done all the replaces in the right way and backed up the entire registry, you can now just open the <em>reg file</em> and after confirming the dialog, the settings should be imported. Open Outlook and check under <em>Tools &gt;&gt; Account Settings</em> which accounts were added. If everything went right, you should see all your accounts listed.</p>
<p><strong>Last notes</strong><br />
The imported settings do not include the password that is needed to access your mail (the password is not stored in the registry but encrypted with the <a href="http://msdn.microsoft.com/en-us/library/ms904264.aspx">Windows CryptoAPI</a>)! But if you remember your password, as you should, this will not be a problem. When connecting to the mail server with the stored settings, Outlook will ask you to type in your password for each account.</p>
<p>Hopefully you have recovered your settings now. <img src='http://blog.eddsn.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="shr-publisher-904"></div><!-- Start LikeButtonSetBottom --><!-- End LikeButtonSetBottom -->
]]></content:encoded>
			<wfw:commentRss>http://blog.eddsn.com/2011/02/restore-outlook-account-settings-from-second-drive/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Recover Lost or Deleted Partitions</title>
		<link>http://blog.eddsn.com/2011/02/how-to-recover-lost-or-deleted-partitions/</link>
		<comments>http://blog.eddsn.com/2011/02/how-to-recover-lost-or-deleted-partitions/#comments</comments>
		<pubDate>Sat, 12 Feb 2011 22:22:24 +0000</pubDate>
		<dc:creator>eddsn</dc:creator>
				<category><![CDATA[Fixes]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://blog.eddsn.com/?p=905</guid>
		<description><![CDATA[Introduction Here I will describe how to recover lost or deleted partitions with a cool tool called TestDisk that I recently found with which I successfully restored my own broken partition. The tool is OpenSource and is licensed under the terms of the GNU General Public License (GPL). Symptoms and problem description You are not able to [...]]]></description>
			<content:encoded><![CDATA[<!-- Start LikeButtonSetTop --><!-- End LikeButtonSetTop --><p><img class="alignleft size-full wp-image-919" style="margin: 20px;" title="TestDisk logo" src="http://blog.eddsn.com/wp-content/uploads/2011/02/testdisklogo-clear-100.png" alt="" width="100" height="100" /><br />
<strong>Introduction</strong><br />
Here I will describe how to recover lost or deleted partitions with a cool tool called <a href="http://www.cgsecurity.org/wiki/TestDisk">TestDisk</a> that I recently found with which</p>
<p>I successfully restored my own broken partition. The tool is OpenSource and is licensed under the terms of the <a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a> (GPL).</p>
<p><strong>Symptoms and problem description</strong><br />
You are not able to boot your hard drive because the partition is damaged or deleted and you want to recover all your files.</p>
<p><strong>Multiple recover options</strong><br />
There are a few ways to fix the problem since it depends on your specific situation and what options we have available.</p>
<p>If your lost partition is on a second drive that is also plugged in, like it was in my case, or you have a working partition on your hard drive that you can boot normally (while the damaged/deleted partition is on the same drive) , then read <em>Recover partition from a booted working partition</em>.</p>
<p>It is very possible that your only partition that you used to boot became corrupted and you don&#8217;t have a second working hard drive available. In that case you can use a <a href="http://en.wikipedia.org/wiki/Live_CD">Live CD</a> by following the steps described in the part <em>Recover partition by a Live CD</em>.</p>
<p><strong>Recover partition from a booted working partition</strong><br />
Your best way to recovery is from an already booted OS (Windows/Linux/Mac). You can download TestDisk from <a href="http://www.cgsecurity.org/wiki/TestDisk_Download">here</a>. In the following description I will use TestDisk version 6.11.3 and show the recovery steps that may include some Windows specific details. This should be analogous to other versions and OS&#8217;es.</p>
<ol>
<li>After you have extracted the <a href="http://www.cgsecurity.org/wiki/TestDisk_Download">downloaded file</a>, run TestDisk from your extracted testdisk folder (<em>win/testdisk_win.exe</em>).</li>
<li>Now follow the <a href="http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step">TestDisk Step by Step</a> instructions that are described on the TestDisk wiki page.</li>
</ol>
<p><strong>Recover partition by a Live CD</strong><br />
You might not be able to boot anything since you don&#8217;t have another working partition. In that case you can use a <em>Live CD</em> that will basically boot in memory after which you can start TestDisk without having to boot an operating system. Hence:</p>
<ol>
<li>Download and then burn the <a href="http://www.cgsecurity.org/wiki/TestDisk_Livecd">TestDisk Live CD</a> on an empty CD, insert it in your machine and boot from it. *</li>
<li>Now you can basically follow the same <a href="http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step">TestDisk Step by Step</a> instructions as if booted from an OS.</li>
</ol>
<p>* Note that you have to setup your <a href="http://en.wikipedia.org/wiki/BIOS">BIOS</a> such that your first boot option is your CD/DVD drive. In case your first boot option is your hard drive, the Live CD will not boot up!</p>
<p><strong>Keep in mind</strong><br />
Keep also in mind that you have to be careful when performing the above described operations. Don&#8217;t overwrite or fully format the partition if you want to be able to recover your partition and files. Also note that there may be various situations that you can encounter that are not covered by this tutoriol, and hence I cannot be held responsible for any consequences that might occur after you decide to use the tool. It should not get dramatic, but keep in mind anyway that you use it at your own risk.</p>
<div class="shr-publisher-905"></div><!-- Start LikeButtonSetBottom --><!-- End LikeButtonSetBottom -->
]]></content:encoded>
			<wfw:commentRss>http://blog.eddsn.com/2011/02/how-to-recover-lost-or-deleted-partitions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 Login Error &#8220;The referenced account is currently locked out and may not be logged on to&#8221;</title>
		<link>http://blog.eddsn.com/2011/02/the-referenced-account-is-currently-locked-out-and-may-not-be-logged-on-to/</link>
		<comments>http://blog.eddsn.com/2011/02/the-referenced-account-is-currently-locked-out-and-may-not-be-logged-on-to/#comments</comments>
		<pubDate>Sat, 12 Feb 2011 20:29:38 +0000</pubDate>
		<dc:creator>eddsn</dc:creator>
				<category><![CDATA[Fixes]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.eddsn.com/?p=895</guid>
		<description><![CDATA[Today I started my desktop PC and when I wanted to login I got an unexpected Windows message: &#8220;The referenced account is currently locked out and may not be logged on to.&#8221; I retyped my username and password without thinking much about it, but it showed again the same message. Even after rebooting the PC, [...]]]></description>
			<content:encoded><![CDATA[<!-- Start LikeButtonSetTop --><!-- End LikeButtonSetTop --><p>Today I started my desktop PC and when I wanted to login I got an unexpected Windows message:</p>
<p style="padding-left: 30px;">&#8220;<strong>The referenced account is currently locked out and may not be logged on to.&#8221;</strong></p>
<p>I retyped my username and password without thinking much about it, but it showed again the same message. Even after rebooting the PC, the same message was visible every time. A few minutes I sat and thought about it, but then suddenly I figured out what the real problem was.</p>
<p>Some time earlier I was testing some stuff and changed the domain and computer name of the PC to that of my laptop. So basically, both machines were connected to the network with the same name on the same domain, and that was the obvious problem.</p>
<p>So the problem was clear, and the solution simple. I just had to change the computer name and everything should be fine again, but the problem was that I was unable to login on my PC since my laptop was also running. I switched off the wireless adapter of the laptop, but it didn&#8217;t help. I had to switch off the PC wireless adapter, restart the machine and login. After changing the computer name and restarting again, the problem was resolved.</p>
<p>To summarize everything, if you get the same error, it might be the case that two machines are using the same name on the same domain, as was in my case. You should proceed as follows:</p>
<ol>
<li>If you cannot login to Windows because you are getting the above mentioned error, switch off the wireless adapter, unplug your Ethernet cable or turn off the router and then (re)start your machine and login to Windows (so the machine shouldn&#8217;t be connected to the network/internet).</li>
<li>After you have logged in, make sure to change your computer name to some unique name that is accepted by the domain (or fix some other issues if you are experiencing another similar problem).</li>
<li>Now connect again to the network/internet and restart your machine.</li>
<li>You should be able to login again as usual.</li>
</ol>
<div class="shr-publisher-895"></div><!-- Start LikeButtonSetBottom --><!-- End LikeButtonSetBottom -->
]]></content:encoded>
			<wfw:commentRss>http://blog.eddsn.com/2011/02/the-referenced-account-is-currently-locked-out-and-may-not-be-logged-on-to/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Live Essentials Uninstaller</title>
		<link>http://blog.eddsn.com/2010/12/windows-live-essentials-uninstaller/</link>
		<comments>http://blog.eddsn.com/2010/12/windows-live-essentials-uninstaller/#comments</comments>
		<pubDate>Sun, 26 Dec 2010 15:06:25 +0000</pubDate>
		<dc:creator>eddsn</dc:creator>
				<category><![CDATA[Fixes]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Windows Live Essentials]]></category>

		<guid isPermaLink="false">http://blog.eddsn.com/?p=855</guid>
		<description><![CDATA[Introduction It is now exactly a year ago since I released Windows Live Messenger Uninstaller and mentioned planning to build a &#8220;more general remover for the Windows Live series&#8220;. The time has finally come for a public release of Windows Live Essentials Uninstaller. But first, a few things I have to mention about WLMU. Windows [...]]]></description>
			<content:encoded><![CDATA[<!-- Start LikeButtonSetTop --><!-- End LikeButtonSetTop --><p><strong>Introduction</strong><br />
It is now exactly a year ago since I released <a href="http://blog.eddsn.com/2009/12/windows-live-messenger-uninstaller-v0-01/">Windows Live Messenger Uninstaller</a> and mentioned planning to build a &#8220;<em>more general remover for the Windows Live series</em>&#8220;. The time has finally come for a public release of <em>Windows Live Essentials Uninstaller</em>. But first, a few things I have to mention about WLMU.</p>
<p><em>Windows Live Messenger Uninstaller</em> was an unexpected success and showed that many people were experiencing the same stated problem and were looking for a decent and quick solution.  Almost everyone that I got a reaction from, either through mails, comments or other sites, claimed to have successfully solved the problem by removing Windows Live Messenger with WLMU.</p>
<p>Until now I have tracked some statistics about the downloads on WLMU and can proudly say that in a year time, the tool has been downloaded more than 30.000 times from my site alone! I&#8217;m very glad to see that so many people have found the tool useful. This was one of the main reasons for me to publish a follow up tool, which I will describe in some detail below.</p>
<p><strong>Windows Live Essentials Uninstaller</strong><br />
<em>Windows Live Essentials Uninstaller</em> scans the system and tries to find Windows Live Essentials products that were installed during the setup. If any products were found, it presents them in a list from which you can choose to remove or repair such a product.</p>
<p>WLEU is hereby published as a first public version 1.2.1 and is, as I mentioned earlier, a direct follow up of the tool WLMU. WLEU is built on the same principles as was the case with <a href="http://blog.eddsn.com/2009/12/windows-live-messenger-uninstaller-v0-01/">WLMU</a> and therefore again uses the product&#8217;s CLSID with Windows Installer to accomplish a clean removal. Refer to the changelog below for specific changes that were made.</p>
<p><strong>Download</strong><br />
You can download the tool from the following link:</p>
<p><a href="http://blog.eddsn.com/wp-content/uploads/2010/12/wleu-1.2.1.exe">Download Windows Live Essentials Uninstaller 1.2.1</a> (837kB)</p>
<p>MD5 hash: 1512df1cadd7c804957d2d83f380659b</p>
<p><a href="http://blog.eddsn.com/wp-content/uploads/2010/12/wleu-1.2.1.png"></a><a href="http://blog.eddsn.com/wp-content/uploads/2010/12/wleu-1.2.1.png"><img class="aligncenter size-full wp-image-888" title="Windows Live Essentials Uninstaller 1.2.1" src="http://blog.eddsn.com/wp-content/uploads/2010/12/wleu-1.2.1.png" alt="" width="582" height="422" /></a></p>
<p><strong>Usage</strong><br />
The tool is very simple to use. If it finds any WLE components it will give you a list from which you can select the component you want to uninstall/repair.  You will also get a generated command that you can use to manually remove it. When you press <strong>UNINSTALL</strong> or <strong>REPAIR</strong>, <strong> </strong>the tool will run the command automatically for you.</p>
<p>Note: This software comes with absolute no warranty! By using this  program you agree that I am not responsible for anything caused by this  software whatsoever.</p>
<p><strong>Future releases</strong><br />
If you have any comments, suggestions or bugs, please put them here in  the comments or contact me by mail. If it is useful/serious I will add/fix it in the next release.</p>
<p><strong>Changelog</strong><br />
{First public version 1.2.1}<br />
+ Added new WLE component trace scan<br />
+ Added uninstall finish confirmation<br />
+ Added Setup, Boot and Display options<br />
+ Added component information: Version, Install Date, Local Package, Install source and Product ID</p>
<div class="shr-publisher-855"></div><!-- Start LikeButtonSetBottom --><!-- End LikeButtonSetBottom -->
]]></content:encoded>
			<wfw:commentRss>http://blog.eddsn.com/2010/12/windows-live-essentials-uninstaller/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Calling external programs from Python</title>
		<link>http://blog.eddsn.com/2010/10/calling-external-programs-from-python/</link>
		<comments>http://blog.eddsn.com/2010/10/calling-external-programs-from-python/#comments</comments>
		<pubDate>Sat, 02 Oct 2010 22:51:00 +0000</pubDate>
		<dc:creator>eddsn</dc:creator>
				<category><![CDATA[Fixes]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://blog.eddsn.com/?p=705</guid>
		<description><![CDATA[The story I&#8217;m currently automating a certain process with a Python script that needs to call external programs with some specific parameters. An additional problem is with this letter s in the word parameters, for my external call requires an execution with more than one argument. I tried the os.system call but unfortunately it didn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<!-- Start LikeButtonSetTop --><!-- End LikeButtonSetTop --><p><strong>The story</strong><br />
I&#8217;m currently automating a certain process with a Python script that needs to call external programs with some specific parameters. An additional problem is with this letter <em>s</em> in the word <em>parameters</em>, for my external call requires an execution with more than one argument.</p>
<p>I tried the <em>os.system</em> call but unfortunately it didn&#8217;t work on my system because the function was apparently not present. This conclusion followed after I got the error &#8220;ImportError: No module named system&#8221;. Instead of resolving this error, I  decided to dig into google for some alternatives.  And I did succeed, when I met the lovely miss <a href="http://docs.python.org/library/subprocess.html">subproccess</a>. <img src='http://blog.eddsn.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Let subprocess do all the calls</strong><br />
To keep it short and skip the <a href="http://docs.python.org/library/subprocess.html">syntax</a> explanation, learn from the following example:</p>
<blockquote><p>import subprocess<br />
subprocess.call(&#8216;expand catalog-web.cab -F:* -r&#8217;, shell=True)</p></blockquote>
<p>As you can see, the magic only happens when you pass the string (your complete command) together with the <em>shell=True</em> option.</p>
<p>Happy Python calling. <img src='http://blog.eddsn.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="shr-publisher-705"></div><!-- Start LikeButtonSetBottom --><!-- End LikeButtonSetBottom -->
]]></content:encoded>
			<wfw:commentRss>http://blog.eddsn.com/2010/10/calling-external-programs-from-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extract Microsoft CAB Files in Windows</title>
		<link>http://blog.eddsn.com/2010/10/extract-microsoft-cab-files/</link>
		<comments>http://blog.eddsn.com/2010/10/extract-microsoft-cab-files/#comments</comments>
		<pubDate>Sat, 02 Oct 2010 22:28:25 +0000</pubDate>
		<dc:creator>eddsn</dc:creator>
				<category><![CDATA[Fixes]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://blog.eddsn.com/?p=690</guid>
		<description><![CDATA[In short To extract Microsoft CAB files, you can use the expand command in command line as follows: expand cabfile -F:* path which will extract all the files from the cabfile in the give path. For example expand en-catalog-web.cab -F:* c:\expanded Single files I experienced problems with extracting a cab file where within a single [...]]]></description>
			<content:encoded><![CDATA[<!-- Start LikeButtonSetTop --><!-- End LikeButtonSetTop --><p><strong>In short</strong><br />
To extract Microsoft CAB files, you can use the <a href="subprocess.call('expand catalog-web.cab -F:* -r', shell=True)">expand</a> command in command line as follows:</p>
<blockquote><p>expand <em>cabfile</em> -F:* <em>path</em></p></blockquote>
<p>which will extract all the files from the <em>cabfile</em> in the give <em>path</em>. For example</p>
<blockquote><p>expand en-catalog-web.cab -F:* c:\expanded</p></blockquote>
<p><strong>Single files</strong><br />
I experienced problems with extracting a cab file where within a single xml file was stored. I found out that renaming the files after extraction can solve the problem. This is done by doing the previous example with an -r option:</p>
<blockquote><p>expand en-catalog-web.cab -F:* c:\expanded -r<em></em></p></blockquote>
<p>Extracting all the files to the current working directory can be done as follows:</p>
<blockquote><p>expand <em>cabfile</em> -F:*  -r</p></blockquote>
<div class="shr-publisher-690"></div><!-- Start LikeButtonSetBottom --><!-- End LikeButtonSetBottom -->
]]></content:encoded>
			<wfw:commentRss>http://blog.eddsn.com/2010/10/extract-microsoft-cab-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

