<?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>Przemysław Łukawski&#039;s blog &#187; Operating Systems</title>
	<atom:link href="http://p-lider.lideve.eu/wordpress/?cat=3&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://p-lider.lideve.eu/wordpress</link>
	<description>Solutions for IT technical problems admins and developers may face with.</description>
	<lastBuildDate>Tue, 23 Sep 2014 18:29:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.22</generator>
	<item>
		<title>Cloning Windows 8 or Windows 8.1 on UEFI/GPT disk configuration</title>
		<link>http://p-lider.lideve.eu/wordpress/?p=183</link>
		<comments>http://p-lider.lideve.eu/wordpress/?p=183#comments</comments>
		<pubDate>Mon, 06 Jan 2014 16:12:02 +0000</pubDate>
		<dc:creator><![CDATA[p_lider]]></dc:creator>
				<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Windows 8]]></category>
		<category><![CDATA[Boot]]></category>
		<category><![CDATA[Clone]]></category>
		<category><![CDATA[Partition]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://p-lider.lideve.eu/wordpress/?p=183</guid>
		<description><![CDATA[Recently I bought a new SSD disk for my new laptop. I didn’t want to install the whole operating system from scratch so I decided to just clone an existing operating system to this new disk. In the past I never worked with GPT formatted disk, so I thought that the process of cloning disk [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Recently I bought a new SSD disk for my new laptop. I didn’t want to install the whole operating system from scratch so I decided to just clone an existing operating system to this new disk. In the past I never worked with GPT formatted disk, so I thought that the process of cloning disk will be similar – and that was a bad assumption.</p>
<p>When I looked how the existing original disk was partitioned to my surprise I saw 5 (that’s right &#8211; five) partitions. They were marked as follows:</p>
<ol>
<li><strong>OEM Partition</strong> (1023 MB in size) – now I know that such partition contains Windows Recovery Environment</li>
<li><strong>EFI System Partition called ESP</strong> (360MB in size) – it is similar to “Active Partition” known in MBR formatted disks, the UEFI looks for boot manager only on partitions of this type</li>
<li><strong>Boot, Primary partition</strong> – the first partition which is actually seen in My Computer as C: drive and it contains Windows system files</li>
<li><strong>Primary Partition</strong> – the second and biggest partition which contains my other data (seen as drive D: in My Computer)</li>
<li><strong>OEM Partition</strong> (labeled “Recovery Image”) – contains recovery image which was created by laptop manufacturer</li>
</ol>
<p>&nbsp;</p>
<p>So the biggest question was – which of those partitions should I clone to the new disk and how to do this? In the past, when working with Windows XP and MBR formatted disks the only partition I had to clone was the partition, that contained the Windows system files (in the above scenario it would be number 3). But here it was not the case. The files that are required for the system to boot lie on the partition number 2. So after checking what these all 5 partitions contain I went to conclusion, that I need to clone at least 2 partitions:</p>
<ul>
<li>EFI System Partition (partition number 2 in my case)</li>
<li>Boot, Primary Partition (partition number 3 in my case)</li>
</ul>
<p>&nbsp;</p>
<p>When I finally identified which partitions I should clone, I then needed to chose a tool to actually clone them. In the past I was using <strong><em><span style="color: #4f81bd;">SelfImage</span></em></strong> to do such work, however for some reason this program has problems with GPT disks. So then I used a good old tool, known from UNIX like systems, called DD. There is a port of this wonderful tool for Windows called “<a href="http://www.chrysocome.net/dd">DD for Windows</a>“.</p>
<p>Having all my questions answered I started to work with cloning the partitions. This is the procedure I followed to successfully clone my current system to a new SSD disk:</p>
<ol>
<li>Create 2 partitions on new disk (EFI System partition and Windows Primary partition)
<div>
<pre>		
select disk &lt;destination_disk_number&gt;
clean
convert gpt
create partition efi size=SOURCE_EFI_PARTITION_SIZE
format quick fs=fat32 label="SYSTEM"
create partition primary
format quick fs=ntfs label="Windows"
exit</pre>
</div>
</li>
<li>Using DD program (or any other partition cloning program) copy all contents of source EFI System partition and Windows Primary partition to the new, just created, partitions.
<p>WARNING: cloning of the partition which contains Windows system files must be done when the system contained on it is not running – I did that using Win7PE DVD, but you could do this using for example any live Linux distribution.</li>
<li>After cloning is complete you have to assign a letter to both cloned partitions (assume that ESP will be mounted to S, and Windows partition will be mounted to W). Although assigning a letter to cloned Windows partition is not a big deal (you can do this from Disk Management), then assigning the letter to the cloned ESP is not so easy – you cannot do this from Disk Management snap-in. To assign a drive letter to ESP partition you have to do this using DISKPART utility:
<div>
<pre>		
select disk &lt;destination_disk_number&gt;
select partition &lt;index_of_cloned_esp_partition&gt;
assign letter=s
exit</pre>
</div>
</li>
<li>Process of cloning the ESP partition makes one nasty thing to boot manager contained on it – it invalidates the “device” and “osdevice” variables stored within its configuration. So to make the cloned system bootable without BSOD, after the letter to cloned partitions are assigned, you have to edit boot manager configuration contained on ESP partition and properly set the “device” and “osdevice” variables so they point to cloned Windows partition. To do so use the BCDEDIT utility (I assumed below that you mounted cloned ESP partition under S letter and cloned Windows partition was mounted under letter W):
<div>
<pre>		
bcdedit /store s:\boot\bcd /set {default} device partition=W:
bcdedit /store s:\boot\bcd /set {default} osdevice partition=W:</pre>
</div>
<p>WARNING: It is very important to use here a cloned ESP and Windows partitions (mounted under letter S and W), not the original ones.</li>
<li>Done – you should now have a working, cloned Windows 8 system on a new disk.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://p-lider.lideve.eu/wordpress/?feed=rss2&#038;p=183</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows registry autorun locations</title>
		<link>http://p-lider.lideve.eu/wordpress/?p=159</link>
		<comments>http://p-lider.lideve.eu/wordpress/?p=159#comments</comments>
		<pubDate>Sun, 17 Nov 2013 12:14:46 +0000</pubDate>
		<dc:creator><![CDATA[p_lider]]></dc:creator>
				<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows 8]]></category>
		<category><![CDATA[Windows Explorer]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows Server 2008 and 2008 R2]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://p-lider.lideve.eu/wordpress/?p=159</guid>
		<description><![CDATA[Many times people ask me to check their computers for malware or for the reason it is working slow. The first thing I do is to check all programs that automatically start with windows. Normally I remember 4 or 5 locations in registry where to look for such programs and almost all the time I [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Many times people ask me to check their computers for malware or for the reason it is working slow. The first thing I do is to check all programs that automatically start with windows. Normally I remember 4 or 5 locations in registry where to look for such programs and almost all the time I must search the internet for another ones. That made me to write this post, which will allow me to always have the full (or almost full) list about the registry locations for auto startup purpose in one place.</p>
<p>In the below table I described all of the registry locations I know which programs are using to start automatically with Windows:</p>
<style>
.descrcell {
	border: 1px solid #000000; 
	padding-top: 0cm; padding-bottom: 0.1cm; padding-left: 0.1cm; padding-right: 0.1cm;
}
.tablecell {
	border: 1px solid #000000;
	padding-top: 0cm;
	padding-bottom: 0.1cm;
	padding-left: 0.1cm;
	padding-right: 0cm;
}
</style>
<div style="overflow: auto; height:500px;">
<table width="707" cellspacing="0" cellpadding="4">
<colgroup>
<col width="15" />
<col width="360" />
<col width="200" /></colgroup>
<tbody>
<tr valign="TOP">
<td class="tablecell" width="15">
<p lang="en-US"><b>No.</b></p>
</td>
<td class="tablecell" width="360">
<p lang="en-US"><b>Registry Location (<span style="color: #0047ff;">blue </span>ones are present in 64bit OS only)</b></p>
</td>
<td class="descrcell" width="226">
<p lang="en-US"><b>Description</b></p>
</td>
</tr>
<tr valign="TOP">
<td class="tablecell" width="15">
<p lang="en-US"><span style="">1</span></p>
</td>
<td class="tablecell" width="360">
<p lang="en-US"><span style="">HKML\Software\Microsoft\Windows\CurrentVersion\Run\</span></p>
<p lang="en-US"><span style="color: #0047ff;"><span style="">HKML\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Run\</span></span></p>
</td>
<td class="descrcell" width="226">
<p lang="en-US"><span style="">All values<br />
under this key are executed when any user logs in.</span></p>
</td>
</tr>
<tr valign="TOP">
<td class="tablecell" width="15">
<p lang="en-US"><span style="">2</span></p>
</td>
<td class="tablecell" width="360">
<p lang="en-US"><span style="">HKML\Software\Microsoft\Windows\CurrentVersion\RunOnce\</span></p>
<p lang="en-US"><span style="color: #0047ff;"><span style="">HKML\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\RunOnce\</span></span></p>
</td>
<td class="descrcell" width="226">
<p lang="en-US"><span style="">All values<br />
under this key are executed when any user logs in. After execution<br />
the values are being deleted.</span></p>
</td>
</tr>
<tr valign="TOP">
<td class="tablecell" width="15">
<p lang="en-US"><span style="">3</span></p>
</td>
<td class="tablecell" width="360">
<p lang="en-US"><span style="">HKML\Software\Microsoft\Windows\CurrentVersion\RunServices\</span></p>
<p lang="en-US"><span style="color: #0047ff;"><span style="">HKML\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\RunServices\</span></span></p>
</td>
<td class="descrcell" width="226">
<p lang="en-US"><span style="">All values<br />
under this key are executed as services when any user logs in.</span></p>
</td>
</tr>
<tr valign="TOP">
<td class="tablecell" width="15">
<p lang="en-US"><span style="">4</span></p>
</td>
<td class="tablecell" width="360">
<p lang="en-US"><span style="">HKML\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce\</span></p>
<p lang="en-US"><span style="color: #0047ff;"><span style="">HKML\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\RunServicesOnce\</span></span></p>
</td>
<td class="descrcell" width="226">
<p lang="en-US"><span style="">All values<br />
under this key are executed as services when any user logs in.<br />
After execution the values are being deleted.</span></p>
</td>
</tr>
<tr valign="TOP">
<td class="tablecell" width="15">
<p lang="en-US"><span style="">5</span></p>
</td>
<td class="tablecell" width="360">
<p lang="en-US"><span style="">HKCU\Software\Microsoft\Windows\CurrentVersion\Run\</span></p>
</td>
<td class="descrcell" width="226">
<p lang="en-US"><span style="">All values<br />
under this key are executed when current user logs in.</span></p>
</td>
</tr>
<tr valign="TOP">
<td class="tablecell" width="15">
<p lang="en-US"><span style="">6</span></p>
</td>
<td class="tablecell" width="360">
<p lang="en-US"><span style="">HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce\</span></p>
</td>
<td class="descrcell" width="226">
<p lang="en-US"><span style="">All values<br />
under this key are executed when current user logs in. After<br />
execution the values are being deleted.</span></p>
</td>
</tr>
<tr valign="TOP">
<td class="tablecell" width="15">
<p lang="en-US"><span style="">7</span></p>
</td>
<td class="tablecell" width="360">
<p lang="en-US"><span style="">HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup\</span></p>
</td>
<td class="descrcell" width="226">
<p lang="en-US"><span style="">Used only by<br />
setup. A progress bar is being displayed.</span></p>
</td>
</tr>
<tr valign="TOP">
<td class="tablecell" width="15">
<p lang="en-US"><span style="">8</span></p>
</td>
<td class="tablecell" width="360">
<p lang="en-US"><span style="">HKU\.Default\Software\Microsoft\Windows\CurrentVersion\Run\</span></p>
</td>
<td class="descrcell" width="226">
<p lang="en-US"><span style="">Same as 5 but<br />
applies to LOCAL SYSTEM user only.</span></p>
</td>
</tr>
<tr valign="TOP">
<td class="tablecell" width="15">
<p lang="en-US"><span style="">9</span></p>
</td>
<td class="tablecell" width="360">
<p lang="en-US"><span style="">HKU\.Default\Software\Microsoft\Windows\CurrentVersion\RunOnce\</span></p>
</td>
<td class="descrcell" width="226">
<p lang="en-US"><span style="">Same as 6 but<br />
applies to LOCAL SYSTEM user only.</span></p>
</td>
</tr>
<tr valign="TOP">
<td class="tablecell" width="15">
<p lang="en-US"><span style="">10</span></p>
</td>
<td class="tablecell" width="360">
<p lang="en-US"><span style="">HKLM\Software\Microsoft\Windows<br />
NT\CurrentVersion\Winlogon\</span></p>
</td>
<td class="descrcell" width="226">
<p lang="en-US">„<span style="">Shell”<br />
and „Userinit” values contain file names separated<br />
with comma which are executed when any user logs in.</span></p>
</td>
</tr>
<tr valign="TOP">
<td class="tablecell" width="15">
<p lang="en-US"><span style="">11</span></p>
</td>
<td class="tablecell" width="360">
<p lang="en-US"><span style="">HKCU\Software\Microsoft\Windows<br />
NT\CurrentVersion\Winlogon\</span></p>
</td>
<td class="descrcell" width="226">
<p lang="en-US">„<span style="">Shell”<br />
and „Userinit” values contain file names separated<br />
with comma which are executed when current user logs in.</span></p>
</td>
</tr>
<tr valign="TOP">
<td class="tablecell" width="15">
<p lang="en-US"><span style="">12</span></p>
</td>
<td class="tablecell" width="360">
<p lang="en-US"><span style="">HKLM\Software\Microsoft\Active<br />
Setup\Installed Components\</span></p>
<p lang="en-US"><span style="color: #0047ff;"><span style="">HKLM\Software\Wow6432Node\Microsoft\Active<br />
Setup\Installed Components\</span></span></p>
</td>
<td class="descrcell" width="226">
<p lang="en-US"><span style="">All subkeys<br />
are evaluated for execution when any user logs in. The “StubPath”<br />
value under each subkey describes the program being run.</span></p>
</td>
</tr>
<tr valign="TOP">
<td class="tablecell" width="15">
<p lang="en-US"><span style="">13</span></p>
</td>
<td class="tablecell" width="360">
<p lang="en-US"><span style="">HKCU\Control<br />
Panel\Desktop</span></p>
</td>
<td class="descrcell" width="226">
<p lang="en-US">„<span style="">SCRNSAVE.EXE”<br />
value is executed when screen saver is being displayed for current<br />
user.</span></p>
</td>
</tr>
<tr valign="TOP">
<td class="tablecell" width="15">
<p lang="en-US"><span style="">14</span></p>
</td>
<td class="tablecell" width="360">
<p lang="en-US"><span style="">HKLM\System\CurrentControlSet\Control\Session<br />
Manager\</span></p>
</td>
<td class="descrcell" width="226">
<p lang="en-US"><span style="">The<br />
„BootExecute” value is being executed at boot time.</span></p>
</td>
</tr>
<tr valign="TOP">
<td class="tablecell" width="15">
<p lang="en-US"><span style="">15</span></p>
</td>
<td class="tablecell" width="360">
<p lang="en-US"><span style="">HKLM\System\Control\WOW\cmdline</span></p>
</td>
<td class="descrcell" width="226">
<p lang="en-US"><span style="">Value is<br />
executed when 16 bit application is being run for all users.</span></p>
</td>
</tr>
<tr valign="TOP">
<td class="tablecell" width="15">
<p lang="en-US"><span style="">16</span></p>
</td>
<td class="tablecell" width="360">
<p lang="en-US"><span style="">HKLM\System\Control\WOW\wowcmdline</span></p>
</td>
<td class="descrcell" width="226">
<p lang="en-US"><span style="">Value is<br />
executed when 16 bit DOS application is being run for all users.</span></p>
</td>
</tr>
<tr valign="TOP">
<td class="tablecell" width="15">
<p lang="en-US"><span style="">17</span></p>
</td>
<td sclass="tablecell" width="360">
<p lang="en-US"><span style="">HKLM\Software\Microsoft\Windows\CurrentVersion\ShellServiceObjectDelayLoad\</span></p>
<p lang="en-US"><span style="color: #0047ff;"><span style="">HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\ ShellServiceObjectDelayLoad\</span></span></p>
</td>
<td class="descrcell" width="226">
<p lang="en-US"><span style="">Values<br />
contains GUID for COM library which is being run after explorer<br />
finished loading.</span></p>
</td>
</tr>
<tr valign="TOP">
<td class="tablecell" width="15">
<p lang="en-US"><span style="">18</span></p>
</td>
<td class="tablecell" width="360">
<p lang="en-US"><span style="">HKCU\Software\Microsoft\Windows<br />
NT\CurrentVersion\Windows\</span></p>
</td>
<td class="descrcell" width="226">
<p lang="en-US"><span style="">The „run”<br />
and „load” values are executed when current user logs<br />
in. </span></p>
<p lang="en-US">
</td>
</tr>
<tr valign="TOP">
<td class="tablecell" width="15">
<p lang="en-US"><span style="">19</span></p>
</td>
<td class="tablecell" width="360">
<p lang="en-US"><span style="">HKLM\Software\Microsoft\Windows<br />
NT\CurrentVersion\Windows\AppInit_DLLs</span></p>
<p lang="en-US"><span style="color: #0047ff;"><span style="">HKLM\Software\Wow6432Node\Microsoft\Windows<br />
NT\CurrentVersion\Windows\AppInit_DLLs</span></span></p>
</td>
<td class="descrcell" width="226">
<p lang="en-US"><span style="">AppInit_DLLs<br />
value contains dll file names separated with comma which are being<br />
loaded into every process being run in the system.</span></p>
<p lang="en-US"><span style=""><strong>IMPORTANT</strong>:<br />
Very dangerous entry used by many malware programs.</span></p>
</td>
</tr>
<tr valign="TOP">
<td class="tablecell" width="15">
<p lang="en-US"><span style="">20</span></p>
</td>
<td class="tablecell" width="360">
<p lang="en-US"><span style="">HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\run\</span></p>
</td>
<td class="descrcell" width="226">
<p lang="en-US"><span style="">Same as 5.<br />
Normally values are named here as numbers starting from „1”.</span></p>
</td>
</tr>
<tr valign="TOP">
<td class="tablecell" width="15">
<p lang="en-US"><span style="">21</span></p>
</td>
<td class="tablecell" width="360">
<p lang="en-US"><span style="">HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\run\</span></p>
</td>
<td class="descrcell" width="226">
<p lang="en-US"><span style="">Same as 1.<br />
Normally values are named here as numbers starting from „1”.</span></p>
</td>
</tr>
</tbody>
</table>
</div>
<p>Some information in the above table has been taken from this forum: <a href="https://forums.hak5.org/index.php?/topic/12112-registry-autostart-locations/">Registry AutoStart Locations</a></p>
]]></content:encoded>
			<wfw:commentRss>http://p-lider.lideve.eu/wordpress/?feed=rss2&#038;p=159</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AMD SB8XX RAID + Windows 8 = BSOD</title>
		<link>http://p-lider.lideve.eu/wordpress/?p=141</link>
		<comments>http://p-lider.lideve.eu/wordpress/?p=141#comments</comments>
		<pubDate>Tue, 18 Dec 2012 20:44:21 +0000</pubDate>
		<dc:creator><![CDATA[p_lider]]></dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Windows 8]]></category>

		<guid isPermaLink="false">http://p-lider.rootnode.net/wordpress/?p=141</guid>
		<description><![CDATA[If you are using RAID feature of AMD SB8XX chipsets you can encounter a lot of BSODs when using Windows 8 even during system installation. This is caused by a buggy amdsbs.sys driver which is integrated into Windows 8 distribution media. To be able to successfully install Windows 8 in such situation you must set SATA [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>If you are using RAID feature of AMD SB8XX chipsets you can encounter a lot of BSODs when using Windows 8 even during system installation. This is caused by a buggy <strong>amdsbs.sys</strong> driver which is integrated into Windows 8 distribution media.</p>
<p>To be able to successfully install Windows 8 in such situation you must set SATA controller mode of system hard disk to IDE for the time of system installation. After the system is installed first thing to do is to install the newest RAID driver from AMD site and disable the buggy <strong>amdsbs.sys</strong> driver in the registry (without disabling it you will still sporadically encounter BSODs even though the newer and bug free driver from AMD is installed). To completely disable the buggy driver you have to perform the following steps:</p>
<ol>
<li>Open Registry Editor</li>
<li>Navigate to the &#8220;<strong>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\amdsbs</strong>&#8221; key.</li>
<li>In the right pane find &#8220;Start&#8221; parameter, double click it and set its value to 4.</li>
<li>Close the Registry Editor and reboot the system.</li>
</ol>
<p>After installing the newest RAID driver and disabling the buggy one, you can set back the SATA mode of your disks to RAID and the Windows will be working stable now.</p>
]]></content:encoded>
			<wfw:commentRss>http://p-lider.lideve.eu/wordpress/?feed=rss2&#038;p=141</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to prevent reinstalling Windows after changing motherboard, disk controller or processor.</title>
		<link>http://p-lider.lideve.eu/wordpress/?p=131</link>
		<comments>http://p-lider.lideve.eu/wordpress/?p=131#comments</comments>
		<pubDate>Fri, 28 Oct 2011 12:53:56 +0000</pubDate>
		<dc:creator><![CDATA[p_lider]]></dc:creator>
				<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://p-lider.rootnode.net/wordpress/?p=131</guid>
		<description><![CDATA[In most cases, when we replace the motherboard with or without a new processor in the computer the previously installed system will not boot &#8211; probably we will end with BSOD. After that most people will go and reinstall the previously installed operating system because they think there is no other option to resurrect the [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>In most cases, when we replace the motherboard with or without a new processor in the computer the previously installed system will not boot &#8211; probably we will end with BSOD. After that most people will go and reinstall the previously installed operating system because they think there is no other option to resurrect the old one. Well, this is not true. Here I want to tell what steps (without getting to the very details) you must do to resurrect previously installed system.</p>
<p>But first let think why the old os cannot successfully boot on the new hardware. The problem lies in two places (or at least in one of them). First is the controller of the system disk &#8211; if the controller in the new motherboard comes from other vendor or is simply incompatible with the old controller (for examle the old one was Intel IDE and the new is VIA IDE), then the os does not have the right device driver for it and as the result it cannot access the hard drive during boot resulting in BSOD. The second lies in the processor architecture (but only if the new processor is from other vendor, for example the old one was from Intel and the new one comes from AMD).</p>
<p>To cope with the problem with device driver for disk controller you have to have a Live CD or bootable USB flash (with BartPE, VistaPE, etc.) in which you can access the system partition and the registry of the installed system. You will have then manually place the right driver for the new disk controller in the &#8220;%systemroot%\system32\drivers&#8221; folder and manually add or edit the registry to make the driver being loaded with the system (the drivers are being represented as services in the following registry key: HKLM\System\CurrentControlSet\Services).</p>
<p>When you will be fine with the driver for the hard disk controller, then you need to ensure that the <strong>IntelPPM</strong> service is disabled  (in the registry the <strong><em>start</em></strong> value must be set to <em><strong>4</strong></em>). Without disabling it, when the new processor comes not from Intel, you will end up with BSOD as well.</p>
<p>This is not a detailed explanation of what to do exactly but it shows the way you shall go if you don&#8217;t want to reinstall the whole operating system after changing your hardware like motherboard, disk controller or processor.</p>
]]></content:encoded>
			<wfw:commentRss>http://p-lider.lideve.eu/wordpress/?feed=rss2&#038;p=131</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Reading exit code value when executing bat file from other bat file.</title>
		<link>http://p-lider.lideve.eu/wordpress/?p=124</link>
		<comments>http://p-lider.lideve.eu/wordpress/?p=124#comments</comments>
		<pubDate>Fri, 06 May 2011 16:01:30 +0000</pubDate>
		<dc:creator><![CDATA[p_lider]]></dc:creator>
				<category><![CDATA[Windows Batch Scripting]]></category>

		<guid isPermaLink="false">http://p-lider.rootnode.net/wordpress/?p=124</guid>
		<description><![CDATA[If you have to execute a bat file from other bat file, you normally use CALL command to achieve your goal. Everything works fine until you want to retrieve exit code of called bat file (the %ERRORLEVEL% environmental variable) when you executed the CALL command within IF clause.  The problem is that that the %ERRORLEVEL% variable [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>If you have to execute a bat file from other bat file, you normally use CALL command to achieve your goal. Everything works fine until you want to retrieve exit code of called bat file (the <em>%ERRORLEVEL%</em> environmental variable) when you executed the CALL command within <strong>IF</strong> clause.  The problem is that that the <em>%ERRORLEVEL%</em> variable will not change its value after calling other bat file until we leave the <strong> IF</strong> clause!</p>
<p>So to sum up &#8211; always read <em>%ERRORLEVEL%</em> variable outside any <strong>IF</strong> clause. Not doing so will cause wrong exit code to be retrieved. This is very strange behavior which made me to spend all day searching what is wrong with my BAT files not working.</p>
]]></content:encoded>
			<wfw:commentRss>http://p-lider.lideve.eu/wordpress/?feed=rss2&#038;p=124</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Restoring Selfimage&#8217;s partition image to a greater partition</title>
		<link>http://p-lider.lideve.eu/wordpress/?p=115</link>
		<comments>http://p-lider.lideve.eu/wordpress/?p=115#comments</comments>
		<pubDate>Sun, 19 Dec 2010 12:26:06 +0000</pubDate>
		<dc:creator><![CDATA[p_lider]]></dc:creator>
				<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows Server 2008 and 2008 R2]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://p-lider.rootnode.net/wordpress/?p=115</guid>
		<description><![CDATA[Sometimes you must restore you partition images made by programs like SelfImage to a greater partitions &#8211; for example after buying new greater hard drive and setting the partitions&#8217; sizes to greater values as they were in original drive. The problem with such operation is that after restoring for example 20GB partition image to a partition which has [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Sometimes you must restore you partition images made by programs like SelfImage to a greater partitions &#8211; for example after buying new greater hard drive and setting the partitions&#8217; sizes to greater values as they were in original drive.</p>
<p>The problem with such operation is that after restoring for example 20GB partition image to a partition which has 40GB, you will see, that the file system says that there is only 20GB of total partition&#8217;s space. This is caused due to old partition size information saved inside internal filesystem&#8217;s structures, which was made during the format of the partition on the original drive. Fortunately, the DISKPART utility built in Windows XP and newer systems can fix that problem. To do that follow the following steps after you restore the image to the new, reater partition:</p>
<ol>
<li>Launch the <em>diskpart</em> command line utility.</li>
<li>Execute &#8220;select volume &lt;number&gt;&#8221; command, where &#8220;&lt;number&gt;&#8221; is a number of the volume containing the restored partition image (the list of all volumes and their numbers can be retrieved by executing &#8220;list volume&#8221; command).</li>
<li>Execute &#8220;extend filesystem&#8221; command.</li>
<li>And this is all &#8211; now exit the diskpart utility by executing &#8220;exit&#8221; command and the system will correctly see the real partition size.</li>
</ol>
<p>Thanks to this tip you can use programs like SelfImage not only for making backups but also for moving entire partitions (including system partitions) to other hard drives even, when they size do not match.</p>
]]></content:encoded>
			<wfw:commentRss>http://p-lider.lideve.eu/wordpress/?feed=rss2&#038;p=115</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HYPER-V and wrong time measurement in virtual servers</title>
		<link>http://p-lider.lideve.eu/wordpress/?p=109</link>
		<comments>http://p-lider.lideve.eu/wordpress/?p=109#comments</comments>
		<pubDate>Fri, 03 Dec 2010 14:42:12 +0000</pubDate>
		<dc:creator><![CDATA[p_lider]]></dc:creator>
				<category><![CDATA[HYPER-V]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows Server 2008 and 2008 R2]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://p-lider.rootnode.net/wordpress/?p=109</guid>
		<description><![CDATA[If you have a virtual server which has more than 1 virtual processor and is hosted by HYPER-V technology then you can face problems during time measurement. As the result you can see that login to such server can take quite long time and you can see strange errors in EventViewer saying something like “Windows cannot [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>If you have a virtual server which has more than 1 virtual processor and is hosted by HYPER-V technology then you can face problems during time measurement. As the result you can see that login to such server can take quite long time and you can see strange errors in EventViewer saying something like “Windows cannot obtain the domain controller name for your computer network” etc.</p>
<p>The solution to such problems is quite easy – you only have to add <strong><em>/usepmtimer</em></strong> switch to your server’s <em>boot.ini</em> file and restart the virtual server. This will cause a different approach during time measurement and will fix mentioned problems.</p>
]]></content:encoded>
			<wfw:commentRss>http://p-lider.lideve.eu/wordpress/?feed=rss2&#038;p=109</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VPN connection and internal DNS names</title>
		<link>http://p-lider.lideve.eu/wordpress/?p=106</link>
		<comments>http://p-lider.lideve.eu/wordpress/?p=106#comments</comments>
		<pubDate>Fri, 03 Dec 2010 14:31:57 +0000</pubDate>
		<dc:creator><![CDATA[p_lider]]></dc:creator>
				<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows Server 2008 and 2008 R2]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://p-lider.rootnode.net/wordpress/?p=106</guid>
		<description><![CDATA[Sometimes after you connect to your VPN network by means of any VPN client (CiscoVPN, OpenVPN, etc.) you are not able to access network resources using their names, however you can access them using IP addresses. This is caused by the DnsCache service, which sometimes may cache wrong IP addresses for your internal network names. [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Sometimes after you connect to your VPN network by means of any VPN client (CiscoVPN, OpenVPN, etc.) you are not able to access network resources using their names, however you can access them using IP addresses. This is caused by the DnsCache service, which sometimes may cache wrong IP addresses for your internal network names.</p>
<p>To fix this irritating behavior clearing the dnscache will not always work. The best way to cope with this problem is to stop DnsCache service – after doing that every time you try access any network resource by its name, the DNS name query will be passed directly to your DNS servers omitting your local cache.</p>
<p>EDIT:</p>
<p>After some time I noticed one more problem with DNS especially when using VPNs established using RRAS. Simply the names were not being resolved by DNS servers provided by RRAS but they were trying to be resolved by DNS servers outside of VPN. This prevented accessing VPN network resources using names. The problem can be fixed by following the following steps:</p>
<ol>
<li>Go to Network Connections in Control Panel.</li>
<li>Go to Menu: Advanced -&gt; Advanced Settings -&gt; Adapters &amp; Bindings</li>
<li>Move DialUp connections to the top of the list.</li>
<li>Save changes by clisking OK button.</li>
<li>In Windows XP &amp; 2k also follow the instructions described under the following link: <a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;311218">http://support.microsoft.com/default.aspx?scid=kb;en-us;311218</a></li>
<li>Reboot your computer.</li>
</ol>
<p>After performing the above operations you should not have any DNS issues when using VPNs on your computer.</p>
]]></content:encoded>
			<wfw:commentRss>http://p-lider.lideve.eu/wordpress/?feed=rss2&#038;p=106</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing OS using DRAC cards having damaged DVD with OS physically inserted into server&#8217;s DVD-ROM.</title>
		<link>http://p-lider.lideve.eu/wordpress/?p=102</link>
		<comments>http://p-lider.lideve.eu/wordpress/?p=102#comments</comments>
		<pubDate>Sun, 07 Nov 2010 13:54:26 +0000</pubDate>
		<dc:creator><![CDATA[p_lider]]></dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Server 2008 and 2008 R2]]></category>

		<guid isPermaLink="false">http://p-lider.rootnode.net/wordpress/?p=102</guid>
		<description><![CDATA[If your server is equipped with DRAC card and you have also a DVD with an operating system inserted into server&#8217;s DVD-ROM, installing the OS remotely is quite an easy operation. However, problems occur when the inserted DVD is damaged and makes the OS installer to stop &#8211; without physical presence in the server room, you [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>If your server is equipped with DRAC card and you have also a DVD with an operating system inserted into server&#8217;s DVD-ROM, installing the OS remotely is quite an easy operation. However, problems occur when the inserted DVD is damaged and makes the OS installer to stop &#8211; without physical presence in the server room, you will have to install the OS using Virtually mounted DVD through network. There would be no problem with that if the Windows Installer would be ignorring the inserted physical DVD &#8211; unfortunately it does not ignore it.</p>
<p>So even when you request the server to boot from Virtual media, during the installation the Windows Installer will be using the physically inserted DVD as a source. To avoid that sick behavior you have to disable any optical drives in server&#8217;s BIOS setup for the time of installation.  After disabling them, Windows Installer will look for source files only on virtual media and not on physical DVD allowing you to successfully install the OS.</p>
]]></content:encoded>
			<wfw:commentRss>http://p-lider.lideve.eu/wordpress/?feed=rss2&#038;p=102</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Double clicking the disks icons opens search window instead of their contents</title>
		<link>http://p-lider.lideve.eu/wordpress/?p=87</link>
		<comments>http://p-lider.lideve.eu/wordpress/?p=87#comments</comments>
		<pubDate>Mon, 06 Sep 2010 08:10:25 +0000</pubDate>
		<dc:creator><![CDATA[p_lider]]></dc:creator>
				<category><![CDATA[Windows Explorer]]></category>
		<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://p-lider.rootnode.net/wordpress/?p=87</guid>
		<description><![CDATA[If the default action for disk drives in &#8220;My Computer&#8221; window is &#8220;Search&#8221; instead of &#8220;Open&#8221; and you cannot change this behavior using &#8220;File Types&#8221; tab in &#8220;Folder Options&#8221; then you must set the default value for HKCR\Drive\Shell registry key to none and restart the explorer.exe process. Mentioned problem sometimes arises after some malware installation &#8211; the disinfection [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>If the default action for disk drives in &#8220;My Computer&#8221; window is &#8220;Search&#8221; instead of &#8220;Open&#8221; and you cannot change this behavior using &#8220;File Types&#8221; tab in &#8220;Folder Options&#8221; then you must set the default value for <span style="white-space: nowrap; color: #00aa66; font-size: 12px; font-weight: bold;">HKCR\Drive\Shell</span> registry key to <span style="white-space: nowrap; color: #00aa66; font-size: 12px; font-weight: bold;">none</span> and restart the <em>explorer.exe</em> process.</p>
<p>Mentioned problem sometimes arises after some malware installation &#8211; the disinfection not always repairs that problem automatically.</p>
]]></content:encoded>
			<wfw:commentRss>http://p-lider.lideve.eu/wordpress/?feed=rss2&#038;p=87</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
