<?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>JJClements.co.uk &#187; Windows XP</title>
	<atom:link href="http://www.jjclements.co.uk/category/windows-xp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jjclements.co.uk</link>
	<description>Clem&#039;s Technical Blog</description>
	<lastBuildDate>Tue, 15 Nov 2011 00:16:50 +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>vSphere convert VM IDE disk to SCSI disk</title>
		<link>http://www.jjclements.co.uk/2010/06/08/vsphere-convert-vm-ide-disk-to-scsi-disk/</link>
		<comments>http://www.jjclements.co.uk/2010/06/08/vsphere-convert-vm-ide-disk-to-scsi-disk/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 17:56:19 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[SCSI]]></category>
		<category><![CDATA[VI Client]]></category>
		<category><![CDATA[VMDK]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/?p=1027</guid>
		<description><![CDATA[I recently read a post by Duncan Epping over at Yellow Bricks where he tried to resize the VMDK of a Windows XP VM running on ESX\vSphere. When he used the VI Client to try and resize the VMDK he was actually unable to because it was ghosted out. By coincidence I had experienced the [...]]]></description>
			<content:encoded><![CDATA[<p>I recently read a <a rel="nofollow" href="http://www.yellow-bricks.com/2010/05/28/resizing-your-ide-virtual-harddisk" target="_blank">post</a> by Duncan Epping over at <a rel="nofollow" href="http://www.yellow-bricks.com" target="_blank">Yellow Bricks</a> where he tried to resize the VMDK of a Windows XP VM running on ESX\vSphere. When he used the VI Client to try and resize the VMDK he was actually unable to because it was ghosted out. By coincidence I had experienced the same problem a week before Duncan after building 5 Windows XP VMs for stress testing of a new SharePoint website. As Duncan mentioned, the only other time I had seen this happen was when a snapshot existed for the disk that needed to be resized. Quickly checking the VM's settings I noticed that by default, when you create a Virtual Machine using the 'Microsoft Windows XP Professional..." Guest Operating System container it actually attaches an IDE disk rather than a SCSI disk (Server 2003 and 2008 Guest Operating System containers use a SCSI disk by default.)</p>
<p><span id="more-1027"></span></p>
<p>Here are the default devices for the Windows XP Professional VM:</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/06/idetoscsi1.png" alt="idetoscsi1.png" /></p>
<p>Since I had built the 5 Windows XP VMs from a template I had created, I decided to find a way to convert the IDE disk to a SCSI disk and update the template incase I needed to resize the OS disk in the future. The easiest way I found to do this was as follows:-</p>
<p>Firstly I made the following assumptions:</p>
<ul>
<li> I would need to add a SCSI Controller to the VM and install the drivers before booting from the VMDK (I have <a rel="nofollow" href="http://www.jjclements.co.uk/2007/11/02/moving-an-ide-hdd-to-new-hardware" target="_blank">seen cases</a> before where moving a HD to new hardware caused a BSOD)</li>
<li> If possible I would need to change the default Controller used for new VMDKs from IDE to SCSI</li>
<li> I wanted to use the LSI Logic SCSI Controller</li>
<li> I wanted to make the VMDK the first SCSI device (0:0) attached to the Controller</li>
</ul>
<p>So, with the VM powered OFF I edited the settings for it through the VI Client and added a new SCSI Device (by default it doesn't seem possible to simply add a SCSI Controller to a VM without also attaching a SCSI Device to it):</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/06/idetoscsi2.png" alt="idetoscsi2.png" /></p>
<p>I left the SCSI Device as being a <strong>CDROM</strong> and (optionally) changed the Virtual Device Node to <strong>SCSI (0:1)</strong> so that when I converted the existing disk and added it to the SCSI Controller it would be device <strong>SCSI (0:0)</strong>. I clicked Next and Finish but I didn't click OK to commit the changes:</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/06/idetoscsi3.png" alt="idetoscsi3.png" /></p>
<p>Before clicking OK, I selected the SCSI Controller and changed it's type as appropriate. Then I clicked OK to commit the changes to the VM:</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/06/idetoscsi4.png" alt="idetoscsi4.png" /></p>
<p>I powered on the VM and noticed that the Windows Found New Hardware Wizard prompted me to install the driver for the SCSI controller. I knew that the controller used is a <strong>LSI20320-R</strong> so I downloaded it from here:</p>
<p><a rel="nofollow" href="http://www.lsi.com/storage_home/products_home/host_bus_adapters/scsi_hbas/lsi20320r/index.html" target="_blank">LSI20320-R - Driver Download</a> <em>(Click the Support and Downloads tab)</em></p>
<p>I downloaded the appropriate driver and extracted it (for Windows XP 32bit I used <strong>LSI20320-R_xp_50700_01034132IT_1201800_1005239.zip</strong> and within that <strong>symmpi_wXP_1201800.zip</strong>.) Then I used the Found New Hardware Wizard to browse for and install the driver. Once the hardware installation completed I shut down the VM. The VM now had the SCSI controller installed and I was confident I would be able to boot from it.</p>
<p>I then located the datastore where the VM resides. For example:</p>
<p>/vmfs/volumes/&lt;datastore&gt;/&lt;vm&gt;/</p>
<p>You can use the Service Console or an SSH\SCP application to open the &lt;vm&gt;.vmdk (not the &lt;vm&gt;-flat.vmdk). I edited the following line:</p>
<blockquote><p>ddb.adapterType = "ide"</p></blockquote>
<p>For the LSI SCSI Controller I changed it to:</p>
<blockquote><p>ddb.adapterType = "lsilogic"</p></blockquote>
<p>After saving the file I used the VI Client to edit the VM settings. I selected the IDE disk and removed it. I then clicked OK to commit the changes.</p>
<p><strong>NOTE: Remember to only 'Remove from virtual machine' and NOT 'Remove from virtual machine and delete files from disk'</strong>:</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/06/idetoscsi5.png" alt="idetoscsi5.png" /></p>
<p>Then I used the VI Client to edit the VM settings again and add the disk back. This time, because I had edited the .vmdk file to specify that the disk uses the LSI Logic Controller, it attaches the disk to this instead of the IDE Controller used previously:</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/06/idetoscsi6.png" alt="idetoscsi6.png" /></p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/06/idetoscsi7.png" alt="idetoscsi7.png" /></p>
<p>The disk is added as device <strong>SCSI (0:0)</strong>:</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/06/idetoscsi8.png" alt="idetoscsi8.png" /></p>
<p>I clicked Next and Finish to complete adding the disk. I then selected the CDROM (SCSI device 1) and removed it:</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/06/idetoscsi9.png" alt="idetoscsi9.png" /></p>
<p>I clicked OK to commit the changes to the VM. I now had a VM using the LSI Logic SCSI Controller with the System OS disk connected to the Controller as device SCSI (0:0).</p>
<p>Since the VM had already booted with the LSI Logic Controller installed, when I powered on the VM Windows booted normally and was immediately accessible. Subsequently, any new virtual disks created for the VM are automatically created as SCSI disks and attached using the next available Virtual Device Node.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2010/06/08/vsphere-convert-vm-ide-disk-to-scsi-disk/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>SSH SCP Hyperlink</title>
		<link>http://www.jjclements.co.uk/2010/03/13/ssh-scp-hyperlink/</link>
		<comments>http://www.jjclements.co.uk/2010/03/13/ssh-scp-hyperlink/#comments</comments>
		<pubDate>Sat, 13 Mar 2010 11:18:57 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[Zenoss]]></category>
		<category><![CDATA[.bat]]></category>
		<category><![CDATA[hyperlink]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[winscp]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/?p=646</guid>
		<description><![CDATA[Following on from a previous post about creating and using an RDP Hyperlink on a computer running Windows, I have written another two .bat files for use with SSH and SCP protocols. SSH Hyperlink The first .bat file allows for easy installation/uninstallation of the SSH hyperlink association. It is used for a hyperlink with an [...]]]></description>
			<content:encoded><![CDATA[<p>Following on from a previous post about creating and using an <a rel="nofollow" href="http://www.jjclements.co.uk/index.php/2010/02/21/rdp-hyperlink" target="_blank">RDP Hyperlink</a> on a computer running Windows, I have written another two .bat files for use with SSH and SCP protocols.</p>
<p><span id="more-646"></span></p>
<p><span style="text-decoration: underline;"><strong>SSH Hyperlink</strong></span></p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/03/sshoptions.png" alt="sshoptions.png" /></p>
<p>The first .bat file allows for easy installation/uninstallation of the SSH hyperlink association. It is used for a hyperlink with an associated prefix of ssh://. The bat file will invoke a 3rd party SSH client and establish a connection to the host.</p>
<p>To create and use a hyperlink that is prefixed by ssh:// you will first need to download the latest copy of putty.exe - <a rel="nofollow" href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html" target="_blank">HERE</a></p>
<p>Save or move putty.exe (rename to this if different) to C:\WINDOWS\System32\</p>
<p>Download ssh.bat - <a rel="nofollow" href="http://www.jjclements.co.uk/wp-content/uploads/2010/03/ssh.zip" target="_blank">HERE</a></p>
<p>Extract and run ssh.bat to create the scp:// hyperlink association on your computer.</p>
<p><span style="text-decoration: underline;"><strong>SCP Hyperlink</strong></span></p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/03/scpoptions.png" alt="scpoptions.png" /></p>
<p>The second .bat file allows for easy installation/uninstallation of the SCP hyperlink association. It is used for a hyperlink with an associated prefix of scp://. The bat file will invoke a 3rd party SCP client and establish a connection to the host.</p>
<p>To create and use a hyperlink that is prefixed by scp:// you will first need to download the latest copy of WinSCP.exe - <a rel="nofollow" href="http://winscp.net/eng/download.php" target="_blank">HERE</a> (use the link for 'Portable executables')</p>
<p>Save or move WinSCP.exe (rename to this if different) to C:\WINDOWS\System32\</p>
<p>Download scp.bat - <a rel="nofollow" href="http://www.jjclements.co.uk/wp-content/uploads/2010/03/scp.zip" target="_blank">HERE</a></p>
<p>Extract and run scp.bat to create the scp:// hyperlink association on your computer.</p>
<p><span style="text-decoration: underline;"><strong>Notes</strong></span></p>
<p>After completing the above, any hyperlinks prefixed with ssh:// and/or scp:// will automatically be opened and a connection attempt made.</p>
<p>A hyperlink of:</p>
<p>ssh://someserver</p>
<p>would run putty.exe and attempt to connect to 'someserver'.</p>
<p>For more info about using these hyperlinks on webpages and within <a rel="nofollow" href="http://www.zenoss.com" target="_blank">Zenoss</a> check:</p>
<p><a rel="nofollow" href="http://www.jjclements.co.uk/index.php/2010/02/21/rdp-hyperlink" target="_blank">RDP Hyperlink</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2010/03/13/ssh-scp-hyperlink/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>RDP Hyperlink</title>
		<link>http://www.jjclements.co.uk/2010/02/21/rdp-hyperlink/</link>
		<comments>http://www.jjclements.co.uk/2010/02/21/rdp-hyperlink/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 19:38:42 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[Zenoss]]></category>
		<category><![CDATA[.bat]]></category>
		<category><![CDATA[hyperlink]]></category>
		<category><![CDATA[RDP]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/?p=550</guid>
		<description><![CDATA[I recently started using Zenoss (an open source application, server and network management platform) to monitor servers. One of the options that can be configured for each of the devices being managed is a hyperlink that can open a website or application of some relevance. In a situation where I am informed of an issue [...]]]></description>
			<content:encoded><![CDATA[<p>I recently started using <a href="http://www.zenoss.com" target="_blank" rel="nofollow">Zenoss</a> (an open source application, server and network management platform) to monitor servers. One of the options that can be configured for each of the devices being managed is a hyperlink that can open a website or application of some relevance. In a situation where I am informed of an issue with a server/application I instinctively try to open a Windows remote desktop session to the server. This used to involve manually opening the Microsoft Terminal Services Console (mstsc.exe), keying the server name and then clicking the connect button. I wanted a way to click a hyperlink from the <a href="http://www.zenoss.com" target="_blank" rel="nofollow">Zenoss</a> web console and establish an rdp session to the relevant server.</p>
<p><span id="more-550"></span></p>
<p>Since some protocols are identified by a prefix (ftp:// http:// https://) I decided to use rdp:// as the prefix to launch mstsc.exe. I have combined the necessary registry keys and the required JScript file into a single .bat file that allows for easy installation/uninstallation of the rdp hyperlink association. When you run rdp.bat you are presented with 3 options:</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/02/rdpoptions.png" alt="rdpoptions.png" /></p>
<p><strong>Option 1.</strong> Adds registry key HKCR\rdp which contains the parameters needed to associate the rdp:// prefix with a file created in C:\Windows called hyperlink-rdp.js. The JScript file is responsible for some string manipulation that trims the rdp:// prefix and then passes the remaining string (server name) to mstsc.exe to try and establish the rdp session.</p>
<p><strong>Option 2.</strong> Removes registry key HKCR\rdp and the C:\Windows\hyperlink-rdp.js file.</p>
<p><strong>Option 3.</strong> Exits the batch file.</p>
<p>After you use rdp.bat to create the hyperlink association you can launch an rdp session by clicking any hyperlink in the form of:</p>
<p><a href="rdp://someserver">rdp://someserver</a></p>
<p>Typing rdp://someserver into your browser or windows explorer address bar will also launch the Microsoft Terminal Services Console and attempt to establish a session.</p>
<p>Note: When clicking an rdp:// hyperlink for the first time from a browser it is likely that you will receive a prompt that the browser is trying to launch a local application. You will need to allow this in order for the Microsoft Terminal Services Console to be opened and a session established.</p>
<p>After creating the rdp association on my Windows computer I added a specific link to the device in my Zenoss web console by:</p>
<p>1) Navigating to the device<br />
2) Clicking the options drop down arrow<br />
3) Selecting More --> zProperties<br />
4) Adding a HTML hyperlink to the zLinks property</p>
<p>The syntax for a standard HTML hyperlink is:</p>
<blockquote><p>
&lt;a href="rdp://someserver"&gt;rdp://someserver&lt;/a&gt;
</p></blockquote>
<p>Although the above hyperlink works, I later discovered that Zenoss makes use of TALES expressions, one of which can be substituted for the server name (someserver) in this instance. If you use TALES you would only need to set the hyperlink once globally for all Windows servers by:</p>
<p>1) Navigating to Devices --> Server --> Windows<br />
2) Clicking the zProperties tab<br />
3) Adding the Zenoss TALES hyperlink to the zLinks property</p>
<p>The syntax for the Zenoss TALES hyperlink is:</p>
<blockquote><p>
&lt;a href="rdp://${here/id}"&gt;rdp://${here/id}&lt;/a&gt;
</p></blockquote>
<p>You will then have a clickable hyperlink on the Status tab from within the Windows device (or any new devices you add if you use the Zenoss friendly hyperlink):</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/02/zenosslinks.png" alt="zenosslinks.png" /></p>
<p>Note: If you are planning to run rdp.bat on Windows Vista or Windows 7 you will need to run it with Administrator privileges. You can do this by right clicking rdp.bat and choosing 'Run as administrator':</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/02/rdpasadmin.png" alt="rdpasadmin.png" /></p>
<p>Download rdp.bat - <a href="http://www.jjclements.co.uk/wp-content/uploads/2010/02/rdp.zip">HERE</a></p>
<p>Note: Since this article I have also written another post on creating <a href="http://www.jjclements.co.uk/2010/03/13/ssh-scp-hyperlink">SSH and SCP Hyperlinks</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2010/02/21/rdp-hyperlink/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>SCCM Remote Tools firewall ports</title>
		<link>http://www.jjclements.co.uk/2010/02/16/sccm-remote-tools-firewall-ports/</link>
		<comments>http://www.jjclements.co.uk/2010/02/16/sccm-remote-tools-firewall-ports/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 18:07:07 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[SCCM]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[port]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/?p=463</guid>
		<description><![CDATA[I have been using System Center Configuration Manager to deploy software to clients for a while now but I recently had a requirement to control a client remotely. In order to control clients using the SCCM Remote Tools feature, some ports needed to be opened on the client in the Windows firewall. These were as [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using System Center Configuration Manager to deploy software to clients for a while now but I recently had a requirement to control a client remotely. In order to control clients using the SCCM Remote Tools feature, some ports needed to be opened on the client in the Windows firewall.</p>
<p><span id="more-463"></span></p>
<p>These were as follows:</p>
<p>1. TCP port 135<br />
2. TCP port 2701<br />
3. TCP port 2702</p>
<p>Of course a port/service should never be exposed unless absolutely required. The best practice to reduce the level of exposure would be to also configure the scope of the users that can connect to the above ports. This should be limited to specific computers that have the SCCM ConfigMgr Console installed.</p>
<p>To do this using Group Policy I navigated to the following location in a GPO:</p>
<p>Computer Configuration --> Administrative Templates --> Network --> Network Connections --> Windows Firewall --> Domain Profile --> Windows Firewall: Define inbound port exceptions</p>
<p>I then defined the following exceptions:</p>
<p>135:TCP:(scope):enabled:SCCM<br />
2701:TCP:(scope):enabled:SCCM<br />
2702:TCP:(scope):enabled:SCCM </p>
<p>Note: (scope) is either "*" (for all networks - although this is not advised) or a comma-separated list that contains any number or combination of these:</p>
<p>IP addresses, such as 10.0.0.1<br />
Subnet descriptions, such as 10.2.3.0/24<br />
The string "localsubnet"</p>
<p>After adding the above exceptions to clients via an existing GPO I could successfully connect to them using the Remote Tools feature in SCCM.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2010/02/16/sccm-remote-tools-firewall-ports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows XP cannot change computer name</title>
		<link>http://www.jjclements.co.uk/2010/02/15/windows-xp-cannot-change-computer-name/</link>
		<comments>http://www.jjclements.co.uk/2010/02/15/windows-xp-cannot-change-computer-name/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 21:07:01 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[Registry]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[tcp/ip]]></category>
		<category><![CDATA[winsock2]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/?p=451</guid>
		<description><![CDATA[I was trying to deploy some software to a Windows XP SP3 client when I noticed that there seemed to be an issue with network connectivity. For some reason the client hadn't downloaded and installed any software hat had been pushed to it via SCCM. On the off chance, I happened to check the computer [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to deploy some software to a Windows XP SP3 client when I noticed that there seemed to be an issue with network connectivity. For some reason the client hadn't downloaded and installed any software hat had been pushed to it via SCCM. On the off chance, I happened to check the computer name in 'System Properties' (to see who the computer belonged to) and I noticed that the buttons for 'Network ID' and 'Change' were greyed out.</p>
<p><span id="more-451"></span></p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2010/02/systemproperties.png" alt="systemproperties.png" /></p>
<p>The machine had recently been re-imaged but as the organisation I work for requires that all users be local administrators on their own computer I suspected spyware/malware was to blame. Before I re-imaged the computer again (to be sure the machine was cleaned) I had a quick look at rectifying the connectivity issue. It seemed that Winsock2 (a Windows API that defines how Windows network software should access network services such as TCP/IP) had been corrupted. To manually reinstall TCP/IP and fix the Winsock2 issue I performed the following:</p>
<p>1. Browse Control Panel and then Network Connections<br />
2. Right-click on your network connection, and then click Properties<br />
3. Click the Install button<br />
4. Click Protocol and then click Add<br />
5. Click Have Disk when asked to Select a Network Protocol<br />
6. Browse to C:\Windows\inf (inf is hidden), then select Nettcpip.inf and click OK<br />
7. On the list of available protocols, click Internet Protocol (TCP/IP), and then click OK<br />
8. Restart computer</p>
<p>Following this process the buttons for 'Network ID' and 'Change' were no longer greyed out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2010/02/15/windows-xp-cannot-change-computer-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dell Latitude E4300 CD DVD burning problem</title>
		<link>http://www.jjclements.co.uk/2009/01/05/dell-latitude-e4300-cd-dvd-burning-problem/</link>
		<comments>http://www.jjclements.co.uk/2009/01/05/dell-latitude-e4300-cd-dvd-burning-problem/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 23:48:52 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[Intel Matrix Storage Manager]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/?p=121</guid>
		<description><![CDATA[I recently bought a batch of Dell Latitude E4300 laptops as replacements for outdated machines at work. I retained one for myself and after a few days decided to wipe Windows XP and install Windows Vista Business. Everything was fine until I wanted to burn a copy of Knoppix from an .ISO image. Booting from [...]]]></description>
			<content:encoded><![CDATA[<p>I recently bought a batch of Dell Latitude E4300 laptops as replacements for outdated machines at work. I retained one for myself and after a few days decided to wipe Windows XP and install Windows Vista Business. Everything was fine until I wanted to burn a copy of Knoppix from an .ISO image.</p>
<p><span id="more-121"></span></p>
<p>Booting from the disc revealed it was unrecognised so I burned another - same issue. Burning the same .ISO from a different computer worked so I was sure there wasn’t an issue with the image. I began to suspect a faulty DVDRW drive but even after swapping it any CDs burned remained unrecognisable, even to the drive they were burned in. I tried one of the laptops that came preinstalled with the Dell Windows XP configuration and sure enough it was bootable. I then assumed there was an issue with a driver or some software on the laptop that was preventing the laptop from burning the CD successfully. A peek in device manager revealed no issues with the DVDRW device (mine was a TSSTcorp DVD+-RW TS-U633A). I checked both Dell and Intel’s websites for newer drivers but I already had the latest. </p>
<p>The only application I didn’t have installed was the Intel Matrix Storage Manager, a program used to monitor disks/drives and report their status and/or RAID condition. It seemed pretty far fetched but as the DVDRW drives were SATA300 I decided to install the application. After installing it and burning yet another Knoppix CD I was astounded to see that when I put it into another computer I could successfully boot from it! After testing this on another of the laptops I was sure that it was the lack of the Intel Matrix Storage Manager that was causing the CD burn to fail each time. One thing I only noticed afterwards, when initially using MagicISO to burn the .ISO image (pre the installation of the Intel Matrix Storage Manager) the application never reported it was attempting to 'Close the Session'. Since installing the Intel Matrix Storage Manager I have not had any further issues burning audio or data to CD or DVD.</p>
<p>The latest Intel Matrix Storage Manager is available direct from Intel - <a href="http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&#038;ProdId=2101&#038;DwnldID=17412&#038;lang=eng" target="_blank" rel="nofollow">Here</a></p>
<p>A quick dig around on Google afterwards revealed similar issues for Dell owners of Latitude E6400 and E6500 series laptops. It now seems this issue is commonly found on most laptops with the same SATA DVDRW drive as above.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2009/01/05/dell-latitude-e4300-cd-dvd-burning-problem/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Create file of a certain size</title>
		<link>http://www.jjclements.co.uk/2008/10/13/create-file-of-a-certain-size/</link>
		<comments>http://www.jjclements.co.uk/2008/10/13/create-file-of-a-certain-size/#comments</comments>
		<pubDate>Mon, 13 Oct 2008 16:12:54 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[fsutil.exe]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/?p=105</guid>
		<description><![CDATA[Every now and then I find myself needing to create a file of a certain size for one reason or another. This is usually for testing in situations where people are experiencing email attachment issues or disk quota problems, things like that. The quickest way to do this is to use a Windows command line [...]]]></description>
			<content:encoded><![CDATA[<p>Every now and then I find myself needing to create a file of a certain size for one reason or another. This is usually for testing in situations where people are experiencing email attachment issues or disk quota problems, things like that. The quickest way to do this is to use a Windows command line utility called fsutil.exe. This command line tool can be used (amongst other things) for quota management, system info enumeration and some basic file manipulation.</p>
<p><span id="more-105"></span></p>
<p>I recently used the following approach to create a file 5MB in size to prove that email statistics were correctly being generated. This command produces a new file called '5mb-file.txt' on the root of the c:\ drive:</p>
<p>fsutil file createnew C:\5mb-file.txt 5000000</p>
<p>The number at the end of the command is the file size in bytes. So the result is a file just under 5mb in size.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2008/10/13/create-file-of-a-certain-size/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Dell OEM PowerDVD on non OEM system</title>
		<link>http://www.jjclements.co.uk/2008/10/06/install-dell-oem-powerdvd-on-non-oem-system/</link>
		<comments>http://www.jjclements.co.uk/2008/10/06/install-dell-oem-powerdvd-on-non-oem-system/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 16:31:26 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[.ini]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/?p=90</guid>
		<description><![CDATA[I just had an issue where I was trying to install PowerDVD 5.1 onto a Dell laptop with a fresh Windows XP install. The PowerDVD software was on Dell branded media and I had reinstalled the laptop using a non OEM Dell branded version of Windows XP Professional. It seems that there is a check [...]]]></description>
			<content:encoded><![CDATA[<p>I just had an issue where I was trying to install PowerDVD 5.1 onto a Dell laptop with a fresh Windows XP install. The PowerDVD software was on Dell branded media and I had reinstalled the laptop using a non OEM Dell branded version of Windows XP Professional. It seems that there is a check during the installation process of PowerDVD to verify that the software is indeed being reinstalled back onto a Dell branded computer. As I hadn’t used the original reinstallation CD that came with the laptop I had half guessed that PowerDVD was going to complain. </p>
<p><span id="more-90"></span></p>
<p>Here is a screen shot of the error I was presented with:</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2008/10/powerdvderror.png" alt="powerdvderror.png" /></p>
<p>Being familiar with various forms of installers I started to probe into the contents of the files on the CD. I copied all files from the CD into a folder on the desktop. A quick inspection of all editable files revealed a file called Custom.ini with what looked to be a condition for the setup.exe Installshield installer.</p>
<p>Its contents included the following 3 lines of text:</p>
<p>[PowerDVD]<br />
CLScan=DELL,Unbranded<br />
RunDVDLauncherMCE=1</p>
<p>Immediately my attention was drawn to the 'CLScan=DELL,Unbranded' line. This seemed to be the condition of the installer. I tried changing the condition of the 'CLCScan' parameter into various forms such as:</p>
<p>CLScan=ALL<br />
CLScan=ANY<br />
CLScan=(blank)</p>
<p>None of the above seemed to work. Every time I changed the text the error message above would change to reflect the new condition but still not let me install the application. After changing the condition a few times I finally managed to get the application to install. I set the contidion to be:<br />
CLScan=*</p>
<p>The asterisk saved in the Custom.ini file allowed the install to complete without any errors. I have also tried other symbols including an apostrophe and the ‘@’ symbol. You can run the command MSINFO32 to show you the manufacturer of your system which may work if one of the above symbols doesn't. Any of these methods could allow PowerDVD to successfully install. A quick test afterwards revealed that the machine had PowerDVD installed and it was indeed fully functional.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2008/10/06/install-dell-oem-powerdvd-on-non-oem-system/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
		<item>
		<title>Run .net application from network share</title>
		<link>http://www.jjclements.co.uk/2008/01/21/run-net-application-from-network-share/</link>
		<comments>http://www.jjclements.co.uk/2008/01/21/run-net-application-from-network-share/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 01:03:41 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[.msi]]></category>
		<category><![CDATA[security.config]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/index.php/2008/01/21/run-net-application-from-network-share/</guid>
		<description><![CDATA[I used to work in a Secondary School and whilst I was there I developed an application using VB.net for students to run checks on and upload e-portfolios to a shared resource before submission to the examination board. The application worked fine so I packaged it into an MSI and deployed it. Everything was ok [...]]]></description>
			<content:encoded><![CDATA[<p>I used to work in a Secondary School and whilst I was there I developed an application using VB.net for students to run checks on and upload e-portfolios to a shared resource before submission to the examination board. The application worked fine so I packaged it into an MSI and deployed it. Everything was ok until the e-portfolio criteria was changed. I had to modify the application and redeploy the MSI.</p>
<p><span id="more-56"></span></p>
<p>This proved a headache and I immediately thought that I should be running the application from a network share. The problem I had was that the .net framework abides by a security policy and subsequently the default security settings allow the application to run from a network share but do not allow the user to perform basic tasks like using the application to browse for an e-portfolio folder in this case.</p>
<p>I started looking at ways of modifying the security policy. It turns out that .net versions 1.1 and 2.0 each have their own security policy and have to be configured separately. It appears that .net 3.0 contains some extensions but still uses the .net 2.0 compilers and executables governed by the .net 2.0 security policy. Therefore any changes made to the .net 2.0 security policy should affect .net 3.0.</p>
<p>To make changes to either the .net 1.1 or 2.0 security policy you can access each framework's respective configuration tool the following way:</p>
<p>Start -> Control Panel -> Administrative Tools</p>
<p>and either:<br />
Microsoft .NET Framework 1.1 Configuration or<br />
Microsoft .NET Framework 2.0 Configuration</p>
<p>You will have to install the .net 2.0 SDK before its configuration tool is available, although the 1.1 configuration tool is supplied with the framework installer.</p>
<p>The configuration tools are virtually identical, but to make changes to the .net 2.0 framework you have to expand 'My Computer' in the view in the left pane when the tool is run.</p>
<p><a href='http://www.jjclements.co.uk/wp-content/uploads/2008/01/framework-configuration.PNG' target="_blank"><img src='http://www.jjclements.co.uk/wp-content/uploads/2008/01/framework-configuration.thumbnail.PNG' /></a></p>
<p>To allow each framework's security policy to run an application from a share you have a couple of options available. You can allow a specific application to run from a specific location or you can 'Fully Trust' your local Intranet zone which will allow all .net applications to run from any share on your local network (albeit at a greater security risk). Being a school I can see there being a need to run applications from shares quite frequently, and so I wanted to change the 'Local Intranet' policy from a level of almost full trust to full trust. The Microsoft explanations of each setting are as follows:</p>
<p>Nearly Full Trust (this is the default setting)<br />
Programs might not be able to access most protected resources such as the registry or security policy settings, or access your local file system without user interaction. Programs will be able to connect back to their site of origin, resolve domain names, and use all windowing resources.</p>
<p>Full Trust<br />
Security checks are not performed and programs can access and use all resources on your machine. Avoid this setting unless you are certain that no potentially harmful or error-prone programs can execute from the selected zone.</p>
<p>Now I can see why my application didn't like to browse for files when it was run from a share! To change the security policy for the 'Local Intranet' zone you need to click on the 'Runtime Security Policy' icon in the tree view on the left pane. Then in the pane on the right click on 'Adjust Zone Security'. When prompted click next to make changes to 'this computer'. Click on the 'Local Intranet' icon and change the level of trust to 'Full Trust'. Click next -> finish to exit. This has just changed the level of trust for the .net framework who's configuration tool you ran. I repeated this for the other version of the .net framework so that both fully trusted the local Intranet zone. I was then able to run my VB.net application from a network share without any problems.</p>
<p>My next issue was going to be how to achieve this on over 500 computers. Luckily, each .net configuration tool is able to create an MSI that can be deployed over a network via Group Policy. To create an MSI for this you need to open each .net frameworks configuration tool, click on the 'Runtime Security Policy' icon in the tree view on the left pane, and then click 'Create Deployment Package' on the right hand pane that appears. If you decide to make your own MSI to distribute, when you attempt to use the deployment package tool you should select 'Machine' security level when you are prompted.</p>
<p>I initially created two MSIs, one for each .net version that would change the local Intranet zone to fully trusted. After testing these MSIs it appears that they don't appear in Add Remove Programs, and that when they are uninstalled they do not set the policy back to its original settings. So I started looking at exactly what happens when you manually change the local Intranet zone's security level. Each .net framework saves its settings in a file called 'security.config' located:</p>
<p>.net 1.1<br />
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFIG</p>
<p>.net 2.0<br />
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG</p>
<p>I made the changes to the local Intranet security policy for both frameworks and copied the files out. They are available here:</p>
<p><a href='http://www.jjclements.co.uk/wp-content/uploads/2008/01/net-11-securityconfig.zip' title='net-11-securityconfig.zip'>.net 1.1 security.config Download</a></p>
<p><a href='http://www.jjclements.co.uk/wp-content/uploads/2008/01/net-20-securityconfig.zip' title='net-20-securityconfig.zip'>.net 2.0 security.config Download</a></p>
<p>I have included a condition in my MSIs (I ended up authoring my own custom MSIs) to make sure that each framework is installed before the installation proceeds. I have also tested them to make sure that when they are removed, the settings return back to the default values, and that they appear in 'Add Remove Programs'. They can be downloaded here:</p>
<p><a href='http://www.jjclements.co.uk/wp-content/uploads/2008/01/security-changes-for-net-11.zip' title='security-changes-for-net-11.zip'>.net 1.1 MSI Download</a></p>
<p><a href='http://www.jjclements.co.uk/wp-content/uploads/2008/01/security-changes-for-net-20.zip' title='security-changes-for-net-20.zip'>.net 2.0 MSI Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2008/01/21/run-net-application-from-network-share/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Moving an IDE HDD to new hardware</title>
		<link>http://www.jjclements.co.uk/2007/11/02/moving-an-ide-hdd-to-new-hardware/</link>
		<comments>http://www.jjclements.co.uk/2007/11/02/moving-an-ide-hdd-to-new-hardware/#comments</comments>
		<pubDate>Fri, 02 Nov 2007 14:59:25 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[device manager]]></category>
		<category><![CDATA[ide ata/atapi]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/index.php/2007/11/02/moving-an-ide-hard-disk-to-different-hardware/</guid>
		<description><![CDATA[A while ago I had an old computer with a single IDE hard disk in it running Windows XP Pro with many applications installed. I had a second computer with totally different hardware (different motherboard, vga, lan etc) and I wanted to move the hard disk from the old computer into the second one, retaining [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago I had an old computer with a single IDE hard disk in it running Windows XP Pro with many applications installed. I had a second computer with totally different hardware (different motherboard, vga, lan etc) and I wanted to move the hard disk from the old computer into the second one, retaining my windows installation/applications and boot from it. I was determined not to install Windows XP Pro again so I started looking into why the disk wouldn't boot when moved onto new hardware. It turns out that it's a problem with the driver for the IDE controller.</p>
<p><span id="more-54"></span></p>
<p>This procedure is intended to help you in either of the following situations:</p>
<p>1. When you want to move a hard disk from one computer to another where the new computer has completely different hardware to the old computer that the hard disk was in originally (and you still want to boot from it thus retaining your windows installation and all applications/programs).</p>
<p>2. When you want to upgrade the motherboard in your computer without having to reinstall Windows and all your applications/programs. This will only work if the motherboard is still functioning, if it is not then you will not be able to boot the original computer to make the necessary change(s) required for the disk to function with the new motherboard.</p>
<p>To achieve this use the following steps:</p>
<p>Boot the first (old) computer with the hard disk in it as normal, then go to control panel, double click the system icon, go to hardware tab, and click device manager button. </p>
<p>Within device manager find the 'IDE ATA/ATAPI CONTROLLERS' and expand the tab. Right click the controller that bears the name of the chipset present on your mainboard (do not touch the 'Primary IDE Controller' or 'Secondary IDE Controller') and select 'Update Driver'. Select 'No not this time' when it asks if you would like windows update to search for a new driver and click next. Then choose the option to 'Install from a list or specific location (Advanced)' and click next again. Now choose the 'don't search I will choose the driver to install' option and click next. Highlight/select the Standard Dual Channel PCI IDE Controller and again click next. The Standard controller driver will now install, click 'Finish' to continue. Now reboot (click yes when prompted with 'Do you want to restart your computer now?') and logon to your computer as normal. The standard IDE controller driver is now completely installed.</p>
<p>After installing the hard disk in the new computer or installing your new mainboard and booting from the hard drive for the first time you will have to wait a couple of minutes before you can use the computer. This is because Windows is automatically detecting the new hardware and installing all of the relevant drivers it can. Most of the drivers are installed for you automatically. When Windows has finished updating your drivers it will ask you to restart the computer again. Once restarted launch device manager to see which items of hardware still require drivers. You will have to go to the relevant manufacturer’s website to download and install any that are missing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2007/11/02/moving-an-ide-hdd-to-new-hardware/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

