<?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>ukstokes.com &#187; Windows Vista</title>
	<atom:link href="http://ukstokes.com/blog/category/windows-vista/feed/" rel="self" type="application/rss+xml" />
	<link>http://ukstokes.com/blog</link>
	<description>tech stuff from a tech bloke</description>
	<lastBuildDate>Tue, 31 Aug 2010 15:03:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>I&#8217;ve had it with Vista.</title>
		<link>http://ukstokes.com/blog/2009/08/12/ive-had-it-with-vista/</link>
		<comments>http://ukstokes.com/blog/2009/08/12/ive-had-it-with-vista/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 20:42:14 +0000</pubDate>
		<dc:creator>ben</dc:creator>
				<category><![CDATA[Rants]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[Rant]]></category>

		<guid isPermaLink="false">http://ukstokes.com/blog/?p=452</guid>
		<description><![CDATA[My Vista computer is configured to automatically update every Tuesday at 5:00pm. Today it downloaded and installed the following patches: - Windows Malicious Software Removal Tool - August 2009 (KB890830) - Update for Windows Mail Junk E-mail Filter [August 2009] (KB905866) - Security Update for Windows Vista (KB973540) - Update for Microsoft Office Outlook 2007 [...]]]></description>
			<content:encoded><![CDATA[<p>My Vista computer is configured to automatically update every Tuesday at 5:00pm. Today it downloaded and installed the following patches:</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">- Windows Malicious Software Removal Tool - August 2009 (KB890830)</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">- Update for Windows Mail Junk E-mail Filter [August 2009] (KB905866)</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">- Security Update for Windows Vista (KB973540)</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">- Update for Microsoft Office Outlook 2007 Junk Email Filter (KB972691)</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">- Security Update for Windows Vista (KB971557)</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">- Security Update for Microsoft .NET Framework 2.0 Service Pack 2 (KB972594)</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">- Security Update for Windows Vista (KB956744)</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">- Security Update for Windows Vista (KB971657)</div>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">- Security Update for Windows Vista (KB973507)</div>
<ul>
<li>- Windows Malicious Software Removal Tool - August 2009 (KB890830)</li>
<li>- Update for Windows Mail Junk E-mail Filter [August 2009] (KB905866)</li>
<li>- Security Update for Windows Vista (KB973540)</li>
<li>- Update for Microsoft Office Outlook 2007 Junk Email Filter (KB972691)</li>
<li>- Security Update for Windows Vista (KB971557)</li>
<li>- Security Update for Microsoft .NET Framework 2.0 Service Pack 2 (KB972594)</li>
<li>- Security Update for Windows Vista (KB956744)</li>
<li>- Security Update for Windows Vista (KB971657)</li>
<li>- Security Update for Windows Vista (KB973507)</li>
</ul>
<p>One of these updates broke my network connectivity. The NIC was still available but DHCP was broken, and assigning a static address would not help. The device itself was functioning normally and nothing in the event log gave any clues. Looking in the update history in the Windows Update application, all of these security updates have the same description:</p>
<p style="padding-left: 30px;"><span style="font-family: Verdana; line-height: normal; font-size: 11px;"><em>A security issue has been identified that could allow an unauthenticated remote attacker to compromise your system and gain control over it.</em></span></p>
<p>Microsoft, how about telling me what the hell is being patched, since I can't use the links to the technet articles as my network stack was broken. Not very helpful when I am trying to figure out which patch has wrecked the system.</p>
<p><em>Cold light of day edit: </em>I realise this is a Microsoft problem, not neccessilary a Vista problem.</p>
<p>Luckily System Restore actually works, and returned me to where I started at 5:00 this afternoon, with everything working.</p>
<p>One final thing. Why is Vista such a resource pig? This computer is a dual core AMD64 2.30Ghz but it runs like its been eating pastry all day. As I am typing this, I have 4 apps open, my CPU is boiling over and my memory usage is over 1Gb. Why?! This PC is only used for web surfing, email and music.</p>
<p style="text-align: center;"><a href="http://ukstokes.com/blog/wp-content/uploads/2009/08/Capture.JPG" rel="lightbox"><img class="alignnone size-medium wp-image-453" title="Capture" src="http://ukstokes.com/blog/wp-content/uploads/2009/08/Capture-300x240.jpg" alt="Capture" width="300" height="240" /><br />
</a><em>V</em><em>ista ... why oh why</em></p>
<p>OK - so ending the apps in my tray (Skype, Gladinet, MSN and Avast) have recovered a few hundred Mb, but I don't see why Vista is so bad at memory management compared to Windows XP, Windows 7 ... or for that matter any Linux distro ...</p>
<p>Well thats it, I can't be arsed troubleshooting it. I'm through with Vista. Time to backup, wipe and move on.</p>
]]></content:encoded>
			<wfw:commentRss>http://ukstokes.com/blog/2009/08/12/ive-had-it-with-vista/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Vista: Run a script at shutdown</title>
		<link>http://ukstokes.com/blog/2008/01/19/vista-run-a-script-at-shutdown/</link>
		<comments>http://ukstokes.com/blog/2008/01/19/vista-run-a-script-at-shutdown/#comments</comments>
		<pubDate>Sat, 19 Jan 2008 17:09:13 +0000</pubDate>
		<dc:creator>ben</dc:creator>
				<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://ukstokes.com/blog/?p=85</guid>
		<description><![CDATA[I wanted to configure my Vista Home Premium machine to run a script at shutdown, to synchronise "My Documents" to my file server. On my old XP workstation this was done by editing the local group policy and specifying a shutdown script, and then configuring PathSync (a nice free app) to sync the files to [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to configure my Vista Home Premium machine to run a script at shutdown, to synchronise "My Documents" to my file server. On my old XP workstation <a href="http://opensourceheaven.net/?page_id=191">this was done</a> by editing the local group policy and specifying a shutdown script, and then configuring PathSync (a nice free app) to sync the files to a remote location.  The challenge this time is there is no local group policy editor on Vista Home premium.</p>
<p><strong>Options</strong><br />
<em> 1. Install some software that modifies the shutdown  routine</em><br />
I didn't really want to do this. I've only had this machine a few weeks and want to keep it free of software that could mess things up. I also don't want to pay for a solution, if possible.</p>
<p><em>2.  Windows registry editing</em><br />
Every local group policy has a corresponding registry entry, so I wondered if in the absence of the group policy editor, I would just be able to create the relevant registry keys and values to run a script at shutdown. Microsoft kindly <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=41dc179b-3328-4350-ade1-c0d9289f09ef&amp;displaylang=en">provide a list of group policies and where they are configured in the registry</a>, so I downloaded it to have a look. Sadly I couldn't find what I needed in here.</p>
<p>I also wondered if I would just be able to export the existing key from my XP machine into Vista, I tried this but that didn't work either - looks like this was because it references the name of a local group policy, which of course didn't exist on my new machine.</p>
<p><em>3. Windows task scheduler</em><br />
The Vista task scheduler is actually very good. You can schedule tasks to run when specific events are written to the event log, such as Event 4634 in the security log (Log Off). I tested and found this would actually work if I used the log off feature, but when shutting down, the OS does not wait for scheduled tasks to finish so it only gets to run for a few seconds.</p>
<p><em>4. Use a VBScript to sync and shutdown</em><br />
This is how I've implemented this solution - for now. I've created a VB Script which brings up an "Are you sure you want to shutdown" dialog, if you click yes, it syncs to my remote machine and then shuts down. Then I created a shortcut to the script and added it to the quick launch buttons, next to the start menu button. As a final touch I changed the icon to the same power icon that Vista uses for shutdown.</p>
<p align="center"><img src="http://ukstokes.com/blog/wp-content/uploads/2008/01/icon.png" alt="Shutdown icon" /><br />
<em>Shutdown button</em></p>
<p align="left">The snag is of course you have to remember to click on this button to shutdown if you want your documents to sync, if you forget and use the usual shutdown option on the start menu, you get no backup for that session. This also means that it doesn't sync when you reboot, and you also don't get the option to install Windows updates before the computer shuts down.</p>
<p>Anyway here is the script:</p>
<pre class="brush: vb;">Set objShell = CreateObject(&quot;Wscript.Shell&quot;)
Set wshShell = WScript.CreateObject (&quot;WSCript.shell&quot;)
strShutdown = &quot;shutdown -s -t 0 -f&quot;

Continue = MsgBox (&quot;Are you sure you want to shutdown?&quot;,vbYesNo + VBCritical, &quot;Shutdown computer&quot;)

If Continue = vbNo then

' Do nothing

Else

' This box will disappear after 5 seconds.
intReturn = objShell.Popup(&quot;The computer will now sync and shutdown.&quot;, 5, &quot;Shutdown computer&quot;, VBInformation)

' Run synctoy - just change &quot;MyDocs&quot; to the name of your folder pair.
wshshell.run &quot;&quot;&quot;c:Program FilesSyncToy 2.0 BetaSyncToyCmd.exe&quot;&quot; -RMyDocs&quot;, 6, True

' Shutdown the computer
objShell.Run strShutdown

End If</pre>
<p><em>How do I use this code?</em><br />
To use the code right-click on your desktop and select New --&gt; Text Document. Copy and paste the code above into the new document. Click on File --&gt; 'Save As...'. Change the filename to <em>shutdown.vbs</em> and the type to 'All files (*.*)'. Once saved you can drop this file on your system anywhere to keep your desktop tidy.</p>
<p style="text-align: center;"><img class="alignnone size-medium wp-image-338" title="shutdown_snip" src="http://ukstokes.com/blog/wp-content/uploads/2008/01/shutdown_snip.png" alt="shutdown_snip" width="223" height="66" /><br />
<em>Save As ... All Files</em></p>
<p>Next you can create a shortcut to the file in your quick launch area or Start Menu and give the shortcut a nice name like 'Sync and Shutdown', and a nicer icon that the generic VBScript icon.</p>
<p>One slight annoyance is the SyncToy command prompt window opens minimised, but I can live with that for the moment. I tried a number of sync tools before settling with <a href="http://www.microsoft.com/downloads/details.aspx?familyid=c26efa36-98e0-4ee9-a7c5-98d0592d8c52&amp;displaylang=en&amp;tmm">MS SyncToy</a>.  I did try using rsync which I thought may be a bit faster due to it's compatibility with Linux, but the scanning of the folders took forever.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/Vista" rel="tag">Vista</a>, <a href="http://technorati.com/tag/File+Sync" rel="tag"> File Sync</a>, <a href="http://technorati.com/tag/VBScript" rel="tag"> VBScript</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ukstokes.com/blog/2008/01/19/vista-run-a-script-at-shutdown/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Vista backup is stupid.</title>
		<link>http://ukstokes.com/blog/2008/01/06/vista-backup-is-stupid/</link>
		<comments>http://ukstokes.com/blog/2008/01/06/vista-backup-is-stupid/#comments</comments>
		<pubDate>Sun, 06 Jan 2008 10:03:17 +0000</pubDate>
		<dc:creator>ben</dc:creator>
				<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://ukstokes.com/blog/?p=83</guid>
		<description><![CDATA[I've been trying to get Vista to backup files to another computer on the network, and it's just not having it. The remote machine is a Linux computer on the network. If I click open the Vista menu, and then type \\servername\backups, it opens straight away and I can drop files in there and do [...]]]></description>
			<content:encoded><![CDATA[<p>I've been trying to get Vista to backup files to another computer on the network, and it's just not having it.</p>
<p>The remote machine is a Linux computer on the network. If I click open the Vista menu, and then type \\servername\backups, it opens straight away and I can drop files in there and do whatever I like in the remote location.</p>
<p>But, when I use "Backup status and configuration" to set up a new backup job and set the remote location to "\\servername\backups", first it asks for a password (which I enter - this is the Unix password for user Ben), then I get this message:</p>
<p style="text-align: center"><img src="http://ukstokes.com/blog/wp-content/uploads/2008/01/untitled.jpg" alt="Error Message" /><br />
<em>Vista doesn't like Samba?<br />
</em></p>
<p align="left">But that's not the end of it. If I then go back to my remote backup location, I can see a new file in there called SDT97DB.tmp and a folder with a randomly generated name - so, it clearly can access that location as it has created folders and files there!!</p>
<p align="left">Not sure if this is a bug with Vista or a compatibility issue with Samba but it's damn annoying!</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/Vista" rel="tag">Vista</a>, <a href="http://technorati.com/tag/Backup" rel="tag"> Backup</a>, <a href="http://technorati.com/tag/Buggy+Windows" rel="tag"> Buggy Windows</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ukstokes.com/blog/2008/01/06/vista-backup-is-stupid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
