<?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 Vista</title>
	<atom:link href="http://www.jjclements.co.uk/category/windows-vista/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>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>Cannot open Compiled HTML .chm on Vista</title>
		<link>http://www.jjclements.co.uk/2009/06/25/cannot-open-compiled-html-chm-on-vista/</link>
		<comments>http://www.jjclements.co.uk/2009/06/25/cannot-open-compiled-html-chm-on-vista/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 08:54:52 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[.chm]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/?p=263</guid>
		<description><![CDATA[I have just tried to open a file with a .chm extension on a computer running Windows Vista. The file is located on my desktop yet when I tried to open it only the table of contents would display and not the actual pages containing any content. Instead I was presented with a screen that [...]]]></description>
			<content:encoded><![CDATA[<p>I have just tried to open a file with a .chm extension on a computer running Windows Vista. The file is located on my desktop yet when I tried to open it only the table of contents would display and not the actual pages containing any content. Instead I was presented with a screen that said: 'Navigation to the webpage was cancelled'.</p>
<p><span id="more-263"></span></p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2009/06/chmerror.png" alt="chmerror.png" /></p>
<p>I have seen issues before on Windows XP machines where I couldn't open or <a href="http://www.jjclements.co.uk/index.php/2008/02/11/run-compiled-html-chm-from-network-share/" target="_blank" rel="nofollow">run compiled HTML .chm from a network share</a> (.chm files would fail to display any content in the same fashion as this problem was.) The only differences in this case being the file was local, it was on my desktop on my Vista computer!</p>
<p>After eventually right clicking the .chm file and checking properties I noticed an option at the bottom of the 'General' tab:</p>
<p><img src="http://www.jjclements.co.uk/wp-content/uploads/2009/06/chmunblock.png" alt="chmunblock.png" /></p>
<p>The option explained that "This file came from another computer and might be blocked to help protect this computer."</p>
<p>Since I had downloaded this help file from Microsoft's website I knew it could be trusted and clicked on the 'unblock' button. After which I could open the file as per normal and it displayed both the table of contents and all of the information/content.</p>
<p>Note - files with a .chm extension could potentially execute commands on your computer leaving you subject to malicious attack. If the .chm file is untrusted you shouldn't click the unblock button and open the file.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2009/06/25/cannot-open-compiled-html-chm-on-vista/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>Vista IE7 crashes when sending email through OWA</title>
		<link>http://www.jjclements.co.uk/2008/08/21/vista-ie7-crashes-when-sending-email-through-owa/</link>
		<comments>http://www.jjclements.co.uk/2008/08/21/vista-ie7-crashes-when-sending-email-through-owa/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 09:42:59 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[OWA]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/?p=71</guid>
		<description><![CDATA[I have installed Microsoft Exchange quite a few times as a syadmin and since the release of Vista one thing I seem to forget is to address the issue of Vista clients using Internet Explorer 7 that send email through Outlook Web Access. There is a known problem with Vista clients that causes IE7 to [...]]]></description>
			<content:encoded><![CDATA[<p>I have installed Microsoft Exchange quite a few times as a syadmin and since the release of Vista one thing I seem to forget is to address the issue of Vista clients using Internet Explorer 7 that send email through Outlook Web Access.</p>
<p><span id="more-71"></span></p>
<p>There is a known problem with Vista clients that causes IE7 to crash when using OWA. I have found this is usually when users have gone through the effort of composing an email and hit the 'Send' button. IE7 then crashes with the standard issue 'Program not responding' response at any attempts to recover from it.</p>
<p>I have only ever noticed this problem on Exchange 2003 SP2 and cannot confirm if it happens pre SP2 but it does only seems to affect Vista clients running IE7 and not XP running IE7.</p>
<p>The cure to this problem is a Hotfix released from Microsoft. Although the Hotfix has been out for a while, unless you have tried it by chance there is likelihood that you wouldn't as the description is somewhat vague. The knowledge base article can be found here:</p>
<p><a href="http://support.microsoft.com/kb/911829" target="_blank" rel="nofollow">KB911829</a></p>
<p>And you can download the Hotfix from here:</p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=5BC06E8A-08EB-4976-BC68-A03EBE3A2552&amp;amp;displaylang=en&#038;displaylang=en" target="_blank" rel="nofollow">Download Hotfix for KB911829</a></p>
<p>Install the Hotfix on your Exchange OWA facing server. You will have to reboot your Exchange server and key services like 'Microsoft Exchange Information Store' are stopped during the installation. This will obviously cause all outlook clients to disconnect from the Exchange server. You may also then need to instruct Vista users to log into OWA and navigate through:</p>
<p>Options -> E-mail Security -> Install S/MIME</p>
<p>to reinstall S/MIME.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2008/08/21/vista-ie7-crashes-when-sending-email-through-owa/feed/</wfw:commentRss>
		<slash:comments>0</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>
		<item>
		<title>Windows XP &amp; Vista mount ISO</title>
		<link>http://www.jjclements.co.uk/2007/10/31/windows-xp-vista-mount-iso/</link>
		<comments>http://www.jjclements.co.uk/2007/10/31/windows-xp-vista-mount-iso/#comments</comments>
		<pubDate>Wed, 31 Oct 2007 12:57:27 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[.iso]]></category>
		<category><![CDATA[virtual cd control panel]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/index.php/2007/10/31/windows-xp-vista-mount-iso/</guid>
		<description><![CDATA[I was recently looking for a utility to mount an ISO so that I could install a program from the ISO image. Most of the applications that I have ever used for this (Daemon Tools, Alcohol 120%) require a reboot after installation to initialize the virtual CD-Rom drive before it can be used. I actually [...]]]></description>
			<content:encoded><![CDATA[<p>I was recently looking for a utility to mount an ISO so that I could install a program from the ISO image. Most of the applications that I have ever used for this (Daemon Tools, Alcohol 120%) require a reboot after installation to initialize the virtual CD-Rom drive before it can be used. I actually didn't want to reboot my workstation so I thought id have a quick Google for an alternative application. It turns out that Microsoft have written an application called 'Virtual CD Control Panel' (I've called it VCP for short). </p>
<p><span id="more-46"></span></p>
<p>I can't find any information relating to VCP from Microsoft directly but it seems that VCP has been out for a while. Its available for direct download from here:</p>
<p><a href="http://download.microsoft.com/download/7/b/6/7b6abd84-7841-4978-96f5-bd58df02efa2/winxpvirtualcdcontrolpanel_21.exe" target="_blank" rel="nofollow">winxpvirtualcdcontrolpanel_21</a></p>
<p>Inside the self extracting archive are 3 files:</p>
<p>readme.txt<br />
VCdControlTool.exe<br />
VCdRom.sys</p>
<p>The readme for the application is pretty straight forward, within a few steps you should be mounting and unmounting ISO image files from your virtual cd drive. The instructions say to copy VCdRom.sys to your %systemroot%system32drivers folder, but I found that when you browse for VCdRom.sys using VCdControlTool.exe it actually doesn't matter where it is. Here are the instructions from the readme anyway:</p>
<p>Installation instructions<br />
=========================<br />
1. Copy VCdRom.sys to your %systemroot%\system32\drivers folder.<br />
2. Execute VCdControlTool.exe<br />
3. Click "Driver control"<br />
4. If the "Install Driver" button is available, click it. Navigate to the %systemroot%\system32\drivers folder, select VCdRom.sys, and click Open.<br />
5. Click "Start"<br />
6. Click OK<br />
7. Click "Add Drive" to add a drive to the drive list. Ensure that the drive added is not a local drive. If it is, continue to click "Add Drive" until an unused drive letter is available.<br />
8. Select an unused drive letter from the drive list and click "Mount".<br />
9. Navigate to the image file, select it, and click "OK". UNC naming conventions should not be used, however mapped network drives should be OK.</p>
<p>Here is how I used it:</p>
<p><img src='http://www.jjclements.co.uk/wp-content/uploads/2007/10/1.PNG' alt='' /></p>
<p><img src='http://www.jjclements.co.uk/wp-content/uploads/2007/10/2.PNG' alt='' /></p>
<p><img src='http://www.jjclements.co.uk/wp-content/uploads/2007/10/3.PNG' alt='' /></p>
<p><img src='http://www.jjclements.co.uk/wp-content/uploads/2007/10/4.PNG' alt='' /></p>
<p><img src='http://www.jjclements.co.uk/wp-content/uploads/2007/10/5.PNG' alt='' /></p>
<p>To remove/uninstall the CD-Rom driver do the following:</p>
<p><img src='http://www.jjclements.co.uk/wp-content/uploads/2007/10/6.PNG' alt='' /></p>
<p>VCP worked well for me, it allowed me to install my program from ISO, I could even 'eject' or unmount the ISO that I had mounted in order to mount another halfway through the program I was installing (it was a 2 CD/ISO program). I've tested VCP on both Windows XP and Vista. It worked flawlessly on both operating systems and served it's purpose of letting me install from an ISO without having to restart my workstation after installing the driver. The best point of all though- its free.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2007/10/31/windows-xp-vista-mount-iso/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Server 2003 SP2 problems</title>
		<link>http://www.jjclements.co.uk/2007/09/15/windows-2003-server-sp2-problems/</link>
		<comments>http://www.jjclements.co.uk/2007/09/15/windows-2003-server-sp2-problems/#comments</comments>
		<pubDate>Sat, 15 Sep 2007 14:50:24 +0000</pubDate>
		<dc:creator>James Clements</dc:creator>
				<category><![CDATA[Windows Server 2003]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[autotuninglevel]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[netsh]]></category>

		<guid isPermaLink="false">http://www.jjclements.co.uk/index.php/2007/09/15/windows-2003-server-sp2-problems/</guid>
		<description><![CDATA[After its recent release I installed Service Pack 2 on all computers running Microsoft Windows Server 2003 at work. I encountered a few strange problems. The most noticeable was a problem with all Vista clients. After patching the servers it seemed all Vista clients were incredibly slow at authenticating and generally transferring any form of [...]]]></description>
			<content:encoded><![CDATA[<p>After its recent release I installed Service Pack 2 on all computers running Microsoft Windows Server 2003 at work. I encountered a few strange problems. </p>
<p><span id="more-31"></span></p>
<p>The most noticeable was a problem with all Vista clients. After patching the servers it seemed all Vista clients were incredibly slow at authenticating and generally transferring any form of data between client and server. A quick test with a Windows XP client revealed that browsing a file server was not unbearable like the Vista client, but there was a noticeable difference in waiting for directory listings etc. </p>
<p>Another problem that immediately came to light was the dramatic degradation of performance on terminal servers. Although I could still log onto the terminal server (albeit very slowly), the client was very slow to respond to any changes I made on the server such as typing into a text document and the sudden movement of minimizing different windows etc.</p>
<p>So it seemed I had a very big problem on my hands, luckily I didn't install the Service Pack during the working day. I was stumped as to what was causing the problem, but a quick Google returned some interesting results. The first was this:</p>
<p><a href="http://weblogs.asp.net/wallym/archive/2007/03/27/windows-2003-server-with-sp2-and-vista-problems.aspx" target="_blank" rel="nofollow">Wally McClure's Blog</a></p>
<p>Apparently Vista automatically tunes its network settings to make the most of the available bandwidth. In some scenarios though Windows Vista can fail to connect to the network. To view the current TCP optimisation settings issue the following command in a command prompt:</p>
<p>netsh interface tcp show global</p>
<p>The procedure for fixing the problem with Vista clients seemed easy enough, log onto the Vista clients as an administrator and issue the following commands in a command prompt to disable autotuning:</p>
<p>netsh interface tcp set global rss=disabled<br />
netsh interface tcp set global autotuninglevel=disabled</p>
<p>I have to confess that I never tried the above method to cure the problem of Vista clients experiencing slow data transfer. The reason for this was that I was more concerned with the problem that terminal services users were going to experience and any other problems that Windows XP clients faced (since it was only a colleague and myself that were using Windows Vista). On Wally McClure's Blog was a link to an interesting article on Google Groups:</p>
<p><a href="http://groups.google.com/group/microsoft.public.windows.server.general/browse_thread/thread/fd6450f68aa66be8/85e2561543d0b3e3?lnk=st&#038;q=windows+2003+sp2+slow&#038;rnum=1&#038;hl=en#85e2561543d0b3e3" target="_blank" rel="nofollow">Google Groups - microsoft.public.windows.server.general</a></p>
<p>A post made in the Google Groups article suggested "The fix is to start the Windows Firewall service on the Windows 2K3 SP2 server". After a discussion with a friend and fellow admin it was decided to start the 'Windows Firewall/Internet Connection Sharing (ICS)' service on all Windows 2003 servers. I actually implemented this through group policy on all Windows 2003 file and terminal servers. I also changed the policy setting for 'Windows Firewall: Protect all network connections' to Disabled. So effectively the firewall service is running but not protecting.</p>
<p>After running a gpupdate on the servers everything was fine. Vista clients were able to authenticate and browse for files at speeds prior to those of the SP2 installation and terminal services was responding as it should. I didn't have to disable autotuning on the Vista clients.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jjclements.co.uk/2007/09/15/windows-2003-server-sp2-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

