Tuesday, 10 November 2009

Installing Windows 7 Ultimate on an Old Dell Dimension 8250

Further to my post on upgrading a Dell XPS M1710 to Windows 7.

My old XP based Dell 8250 desktop (1GB RAM) crashed recently and became unusable. Luckily backups were all in place (although I still had access to the hard drives anyway) so rather than simply put XP back on it, I decided to go for Windows 7 Ultimate. The machine had got slower and slower anyway due to all the usual nonsense you install over time, so I thought this was an opportunity to freshen the OS and test whether Win 7 would run ok on old hardware. One of those Sunday eve type jobs…

I first repartitioned and formatted the main drive (I was unhappy with the current partition set up and wanted a truly fresh start anyway). I then booted from the Windows 7 DVD. After a long wait (be patient on an Dell 8250, the initial “windows starting” then “blank screen with mouse cursor” took over 10mins to come to life; it was much faster on my M1710). I then went through the various steps as per the M1710 install except this time I selected Custom (advanced) at the appropriate point to get a full fresh install.

All seemed to go pretty smoothly. Ran some windows updates afterwards, again all went well. I then installed AVG free edition, no worries.

Then I realised I’d got no sound (how many times have you had this happen…). Hmm. I’ve got an old Creative Sound Blaster 5.1 card and a quick look in device manager confirmed that this had not been recognised. A search for an official Windows 7 or Vista driver on the Net was to no avail, so I took a long shot and downloaded the old XP driver off Dell support (R69382.exe)  from 2003!.

I then tried running the driver install… it started to run and then started to extract the files and then… it auto-closed! No wizard no nothing. I tried again this time right clicking and running “as administrator” to be sure. Same again.

Not giving up, this time I right clicked the almighty R69382.exe again and selected “troubleshoot compatibility”. It recommended using Windows XP SP2 mode. I went for the recommendation (this is on the installer remember) and hey presto it all ran a treat. The driver is now installed correctly and sound and microphone are back in action.

So how is the PC generally? Well I’ve not installed ‘all’ my regular apps yet, but so far the machine is ticking along nicely and certainly faster than when I had the, albeit fully bloated, XP on it.

DC.

Tuesday, 15 September 2009

Telerik release TFS Dashboard/Work Item Manager

Telerik have released a beta version of a work item manager/dashboard in WPF for TFS:
http://www.telerik.com/products/tfsmanager-and-tfsdashboard.aspx

I installed it briefly this morning (free in beta form) and first impressions are I like it. Seems pretty quick in use and flexible in that it works with the various process templates. My guess is they will charge for the full version when it arrives but it is worth watching.

Note this is a WPF application that you install on your machine (not web based). 4.9Mb install.

Now if they do a browser-based Silverlight version that would really hit the spot…

Mr C

Monday, 17 August 2009

Upgrading a Dell XPS M1710 laptop from Vista to Windows 7

I’ve been looking forward to installing Windows 7. My experience with Vista Ultimate on my Dell M1710 laptop (T7400 processor, 4Gig RAM) has been average at best if I’m honest, with sluggish performance being my biggest disappointment. Yes I know you can “disable this and uninstall that”, but that is not the point. Out of the box, a clean Vista installation should perform well and in my opinion it was only just acceptable.

I therefore welcomed Windows 7 RTM with open arms. I went for the 32bit Windows 7 Ultimate (x86) and having Vista Ultimate (x86) installed already meant I could do an in-place upgrade (Whoa there Clarkey! everyone shouts. A clean install is surely best. Yes you are right and normally I would whole heartily agree but my life is pretty busy right now and the thought of digging out all my old software install disks, rightly or wrongly so, was enough for me to give an in-place install a try, on a laptop that was pretty clean anyway). If you are upgrading from XP then you cannot do an in-place upgrade although you can use Windows Easy Transfer to migrate some of your settings (see Scott Hanselman’s XP to WIndows 7 post). You also cannot in-place upgrade Vista 32bit to Windows 7 64bit (and vice versa).

 

Before I started

Below was my starting point (System window) which shows a pretty typical Vista M1710 set up.:

I backed up my laptop  (data only) to an external drive and unplugged it to play safe.

I ran the Windows 7 setup.exe and got this screen:

I’d already researched whether my laptop “could cope” so I clicked “Install now” and got the message "Setup is starting..."

I then selected "Go on line to get the latest updates".

I accepted terms and conditions. For reasons I mentioned earlier, I then selected "Upgrade" to do an in-place upgrade:

Then got told that certain apps might not work:

 

I cancelled the install and uninstalled all of the listed apps including itunes (not really used much on this laptop anyway). Did the obligatory reboot. Then ran setup.exe again... "setup is starting..." and had several déjà vu moments (same steps as above). This time, once past the compatibility checks I selected "go online to get latest updates" as recommended.

Next was a familiar upgrading windows screen:

 

This step took 2hrs 15mins (including several auto reboots) and some 540513 files were “transferred”. Umm… a fair few then.

You will then be prompted for the product key. I selected “Use recommended settings” for automatic updates.

Set region and time zones.

Skipped join WiFi network at this point.

Selected Home Network (ie for my local LAN).

Finally, I got the logon screen with my family usernames nicely appearing on the desktop. Logged on with my account and hey presto, it seemed to have worked! Why do I sound surprised… not a single service error…

Although the GeForce Go 7950 GTX graphics card seemed to be performing fine I upgraded the NVIDIA control panel version to 2.2.275 and driver to 179.48 via the NVIDIA download site anyway, just to make sure.

To prove I’m not making all this up, here’s that System window again (I had also clicked the Rate this computer button as this point to get a Windows Experience Index):

 

That’s it for now. It’s early days but based on the short usage last night, it all appears fine and the machine is much much snappier (a relief). I’ve not done anything to really test it yet though… I’ve got cameras to connect, video editing to try etc at some point.

Any issues, I’ll add a comment here.

Dave

Thursday, 9 July 2009

TFS 2008 – VM performance tweaks

I’ve been doing a few tweaks on our TFS 2008 VMWare VM recently to improve performance. We host both the application and data tiers on the same VM so we are never going to get blistering performance (especially when the host is essentially a desktop!)  but the performance through Team System Web Access (TSWA) has been noticeably clunky of late, so we thought a little tweaking was in order. Interestingly, source control through Visual Studio has been fine though.

Here’s the list of mods I did:

  • changed the virtual disk (vmdk file) from variable to fixed size (in our case 80Gb). Although this uses more disk space on the host, allocating it all in advance provides better disk I/O performance. I simply used the command line tool vmware-vdiskmanager.exe with the –r and –t 2 switches.
  • excluded antivirus scanning of the VM files on the host
  • installed the latest VMWare Tools (take care, when I did this, upon reboot the drive letters D: (DVD) and E: (partition) switched, causing service failures at startup. Easy to fix but  something to watch out for)
  • stopped any obvious unneeded services on both host and guest
  • resized the partitions inside the guest to give the OS more breathing space
  • defragged the guest and host disks
  • disabled ‘shutdown worker processes after being idle for 20 mins’ option on the web app pools in IIS (see web app pool properties, performance tab). I left the recycling tab options at the default settings though.

Finally, I also set up WebWatchBot (a site monitor we use) to ping the key eScrum and TSWA TFS services we use with a http request every hour, to keep the old TFS ‘engine’ alive. As I’m sure everyone who uses TSWA will have noticed, there is a big start up cost on many of the functions if left dormant and any caching is lost, so pinging the box occasionally keeps it all alive, especially when TFS is under little/no usage periods. Of course, we also now have the additional benefit of knowing when TFS is down too ;-)

Lets see how it goes… I’ve not done any formal timings but the results so far (and comments from users) indicate a much more responsive system.

Clarkey

Wednesday, 22 April 2009

Speeding up the online MSDN Library

For developers, the MSDN library is a regular place to drop into. Whether you visit the site directly, via the VS IDE or end up there after an enthralling Google excursion, no matter, once arrived I usually find the experience slower than I’d like.

Enter the low bandwidth version. For example:

Standard view: http://msdn.microsoft.com/en-us/library/bb384398.aspx

Low bandwidth version: http://msdn.microsoft.com/en-us/library/bb384398(loband).aspx

Depending upon the time of day and size of article, the differences in load times are considerable!

Anal URL examiners amongst you will have noticed the word loband in the above link. In fact this “device” name can be added to any of the MSDN library links to render the low bandwidth version of the page in hand.

See Jon Galloway’s original blog entry for further info (including a bookmarklet to make the switching easy) and also Scott Hanselman’s more recent post which delves a little deeper, discussing page size differences, other “devices” (including the up and coming VS 2010 IDE view “dev10ide”) and how the URL routing works behind the scenes.

Clarkey

Thursday, 19 March 2009

Corporate Intranet Web App - Some Sample Browser Stats

A lot of the work I do is on Intranet based web applications, in large Corporates with locked down desktops and recommended browsers etc.

Here are some browser statistics collected via an ASP.Net data entry and reporting application that I worked on a while ago, collected from users whom logon regularly. System is global and figures are based on 1017 active users:

Browser version   User Count
IE5   1
IE6   973
IE7   33 (up from 18 in 2008)
IE8   2
Firefox 3   8 (up from 4 in 2008)

IE6 is the Corporate standard, so nothing really of interest here ;-)

More interesting I think is window sizes. Here's a sample:

Viewable window size (width)   User Count
less than 800 wide   23
800 exactly   63
801 to 899   28
900 to 999   22
1000 to 1099   489
1100 to 1199   35
1200 to 1299   135
1300 to 1399   1
1400 to 1499   52
1500+   5

These figures were captured at logout time (assuming that by then the user would have their browser sized/maximised to their preference for the application). The 800x600ish sizes are still very popular despite this being the bare minimum that this web application is designed for (1024x768+ is recommended). It just shows that we cannot always assume that users are running 1024 or above.

Clarkey

Wednesday, 11 March 2009

Quest to provide Oracle support for Visual Studio 2010

This could be useful - Quest , makers of TOAD, are working on a database schema provider (DSP) for VSTS 2010.

http://blogs.msdn.com/terryclancy/archive/2009/02/24/quest-software-announces-oracle-database-schema-provider-for-visdual-studio-team-system-2010.aspx

Further info can be found on their community TeamFuze site.

Clarkey