Archive for the ‘Vista’ Category

PostHeaderIcon It’s a shame that Vista gets a bum rap

I’m sick of Vista getting a bum rap, so I figured I would write a few posts about what I like about it.  My first post is just me complaining and starting to explain about my experience.  I will have several posts in the future explaining about the things that I like and find useful in Vista.

What’s wrong with Vista? Nothing.

PostHeaderIcon Send To Toys – Replacement for SendToX PowerToy

I’ve been a user of the MS SendToX PowerToy utility for years. I especially like the Send To–>ClipBoard (As Name). I use it everyday. One problem though it doesn’t work in Vista. Instead I’ve been using a feature of SmartStartMenu which adds “Copy Pathname” to the explorer context menu. This is useful if you need to copy only one fully qualified filename to the clipboard, but doesn’t help if you have several filenames to copy.

I recently had to copy many filenames multiple times and ended up resorting to doing DIR /b “*.whatever” at the command prompt. So I looked around and found that someone had come to my rescue and had made a replacement for SendToX and it works for Vista and XP. He also added a few extras by giving you several options in how those clipboard entries are built.

One option is to have filenames that contain spaces get enclosed in quotes. You can also have multiple files end up as a list of files or all on the same line. Very useful if you are constantly copying and pasting filenames and paths.

This utility has several other useful functions that replace or enhance the features included in the original SendToX powertoy.

  • Send To “Clipboard (as name)”
  • Send To “Command Prompt”
  • Send To “Default Mail Recipient”
  • Send To “Favorites”
  • Send To “Folder…”
  • Send To “Quick Launch”
  • Send To “Recycle Bin”
  • Send To “Run…”

There is also a Send To “Clipboard” command line utility.

You can get Send To Toys at http://www.gabrieleponti.com/software/

The configuration utility that comes with let’s you manage what is in your “Send To” menu and the options of the included features in Send To Toys. So goto Gabriel’s site and if you like the utility click on Donate.

PostHeaderIcon PowerShell and iTunes

PowerShell is Microsoft’s CMD.exe replacement. It is a very powerful shell that does an excellent job of bridging the gap of the DOS command line, COM objects, vbscript, and .NET. It is hard to describe it’s capabilities. You really have to experience it for yourself and have your own epiphany.

For my first PowerShell script I decided to replace the combo batch file and javascript file that I currently use to load all of the podcasts that I subscribe to into my iTunes. The old way was to run the batch file which scanned a folder and all subfolders looking for files with the archive bit set. For each file that it found it would then call the javascript file, which would load the one file into iTunes. The whole process was kind of crude. It would load any file modified in that subfolder. The files would sometimes include jpg or pdf files or even partial downloads.

Using Powershell I was able to easily include in one script the recursing of the folder structure for files with the archive bit set, selection by file extension, and calling the iTunes COM object api. It works quite well.

I basically have a server that runs Juice 24 hours a day collecting podcasts. When I get ready to synch my iPod I just run the PowerShell script and iTunes is updated. I have smart playlists that automatically organize the podcasts when they are loaded.

For links to the script and a detailed explanation go here.

PostHeaderIcon Vista – After 3 months

For the last 3 months I have been using Vista exclusively on my home desktop and laptop. After turning off Superfetch I have not experienced any slowdowns or odd behaviour. The various patches that have come out for Vista have made it where I can play FSX and MX vs ATV Unleashed without issues even though I was unable to when Vista first came out.

My normal memory consumption with Superfetch and UAC turned off is just under 1 Gig. Playing games puts me over the 1 Gig mark. I recommend that for typical use that 1 Gig of memory is sufficient and then depending on what applications or games that a person uses they may need to increase their memory.

The biggest quirks that I have had to deal with are installation programs that were written before Vista. Some applications can’t deal with the fundamental changes that were made with Vista in the relocation of the application data directory and the restrictions placed on writing to the “Program Files” directory. I even have one game that refused to run because it requires DirectX 9 and DirectX 0 isn’t sufficient. For some reason it trims the DirectX 10 to a zero. Telling it to run in compatibility mode fixes that one.

A program that I have for my Pocket PC would error out during the install because it couldn’t find ActiveSync. The company said I needed to upgrade to the latest version. The funny part is that the PC version of the program works fine under Vista and if I manually installed the program to my Pocket PC (copy the cab file and then run it on the PPC) it still worked fine and would synch using Windows Mobile Device Center without problems. When I asked the vendor how to install it they would only tell me that I needed to upgrade to the latest version. It was the only Pocket PC application that I have that wouldn’t install under Vista. I was surprised the vendor didn’t have a description of the manual method to install their application on their website. I won’t be purchasing from that vendor again.

PostHeaderIcon Vista, MS Developer Tools, ReadyBoost and SuperFetch

Even though my desktop has been heavily upgraded over the years, my XP system partition hasn’t changed since it was first installed. I have never re-installed XP. I was tri-booting XP, Vista, and Ubuntu. Spending most of my time in XP. A couple of things made me decide to finally pull the plug and start clean. I pulled my 3 drives from my system and put them in USB enclosures. I then installed a single 320 gig HD. I decided to go with Vista and not install XP.

My system is an Athlon XP 3200 with 1.5 gig of ram. I’m holding off on upgrading my system a little longer because my next upgrade is going to involve me having to buy a PCI Express video card. I’m perfectly happy with my BFG AGP card. My system has always been responsive in XP but with Vista it seems like a dog. On the other hand my laptop with a Core 2 Duo cpu and 2 Gig of ram seems to run Vista just fine most of the time. Even so it still has it’s random performance hiccups.

With determination to get Vista performing well on my system, I started my long ordeal of installing software. First up was Visual Studio 6. I needed to install VB 6. Microsoft should be ashamed with how they have treated their developers. You would think that Vista would support all of MS’s developer tools right out of the box. When you install VS 6 on Vista you get a message to get online help. All you get is saying that C++ has incompatibilities and to contact Microsoft. I can live with just VB 6 out of VS 6, but it seems that there are problems with installing the VS Service Packs. I was able to get SP 6 and install it without too many problems.

Most people would say don’t install VB 6, but I still use it and need to, because MS did such a terrible job on creating VB .NET as the next version of VB. They should have used a completely different name for the product and just said that they were abandoning VB. It is not worth the effort to convert existing VB 6 apps to VB .NET.

You would think that VS 2005 would be just fine on Vista, but it isn’t. You get the same dialogs warning about it’s incompatibilities. This wouldn’t bother me so much except for two things. The time it takes to install and the problems during the install. There are service packs available, but you can’t put them on until you have installed VS 2005. The install for VS 2005 takes a long time. The VS help portion wouldn’t install because I had moved my documents folder to a network drive. I had to figure that out, move my documents folder back locally, install VS Help, and then move it back to the network drive. The informative error message was “invalid drive f:\”. I couldn’t find someone with a similar problem so I had to figure it out.

I thought that Visual Studio and MSDN took way too long to install. I have 1.5 gig of ram and a 2 gig USB using ReadyBoost. I didn’t see any improvement using ReadyBoost. I actually thought the system was slower. I noticed while installing that Vista was always starved for memory as the SuperFetch consistently seemed to fill my memory with stuff I wasn’t using and didn’t leave any room for the stuff that I was loading.

I then installed the Service Packs, the first was taking forever to get to the point where it actually would start installing. I noticed on the web page that I was launching it from, that it said if you have UAC enabled that it could take an hour of more while it verified all the certificates. I had been trying to see if I could live with UAC and I decided right then that I couldn’t. I turned off UAC and retried the service pack for VS2005. It still took a long time but was much faster than with UAC on. The VS service pack update for Vista also took a long time.

It took so long to install Office 97, Office 2003, Office 2007, Visual Studio 6, and VS 2005 I was starting to wish that I had just installed XP. I then started testing out my system in this configuration. I didn’t like how it responded. It seemed sluggish compared to my system running XP on a badly thrashed system disk. I started looking at my memory usage and you can’t really tell what your memory usage is. I knew from XP that my max memory consumption was right at 1.5 Gig. I had no idea what my memory was in Vista, but I could tell that the SuperFetch was randomly accessing my hard disk at times that I really didn’t want it to.

I did some research and found some comparisons that showed slower performance using ReadyBoost. It seems that ReadyBoost is really designed to decrease the performance hit of a memory starved system and not really something to improve performance. Circuit City had a sale on memory so I opted to upgrade my system to 3 Gig. I knew I would need it to keep Vista and Flight Simulator X happy.

Knowing I had enough memory I removed my ReadyBoost USB drive and booted up. I didn’t do anything after rebooting. I just watched my memory consumption and I noticed that my system’s memory crept up to the point that I had hardly any free. I have several different usage profiles and I prefer that what is in my cache is stuff that I’m currently working on and that I have plenty of free memory available when I start to do something that I haven’t done before or rarely do. I started looking around for performance tips for Vista and I saw a tip on turning SuperFetch off. I was looking for ways to tune it, but off sounded good to me.

I turned SuperFetch off and rebooted my computer. The first thing that I noticed was that my system was more responsive without ReadyBoost and SuperFetch. I tried a few things and then checked out my memory consumption. After about 30 minutes of using my computer I still had 2 Gig free. Some people will say that is 2 gig wasted. I know that it isn’t. It actually is sitting there ready and waiting for me to use it when I need it. It will then be immediately available without Vista having to find a home for or throw away all the crap that SuperFetch has stuck in my memory.

I believe for some scenarios SuperFetch makes sense. The way that I use my computer it doesn’t at all. If MS decides to give me the option of tuning it by identifying applications to cache, excluding applications from the cache, and the ability to set the size of my free memory pool then I would turn it back on.

I have been using my freshly upgraded system for about 2 hours, with no noticeably hiccups in performance. In the two hours, I haven’t had one need to go to task manager to see what was making my system slow. I still have 1.9 gig free. I’m anxious to try my laptop without SuperFetch. I believe that the reason that my laptop has never felt as sluggish in Vista as my desktop is because of the dual core cpu.

PostHeaderIcon FileMon – The Swiss Army Knife of Utilities

FileMon is a utility by Sysinternals. It is simple and easy to use and may help get you out of bind when you don’t know why you are getting an error message. It is amazing how many different problems this utility will help solve. You can read more about Sysinternals utilities here.

Last fall I used FileMon to help us solve a perplexing problem. We had an important piece of software that wasn’t performing well, so they upgraded the workstations that it was running on. Even though the workstations were now more than powerful enough, they would still pause and miss collecting some of the important data that they were collecting. The vendor wasn’t any help, and the users were losing faith in the software.

I figured I would just sit down and monitor the software using Regmon and Filemon. As I watched the application it became obvious to me that it was looking for a file called none.wav. One of the things that happens when you look for a file that doesn’t exist, is that each folder in the path is searched. If you have large folders, or folders on a network drive, and folders on a network drive that is on a server on the WAN somewhere, that search can take a while. It might even cause the system to hang a little while the search is going on.

The application had the ability to play sounds to alert you when an event occurs. If you didn’t want to hear a sound that event was set to “none”. This caused the application to constantly search for the file none.wav. The vendor was unaware of this.

Creating a short silent file called none.wav and putting it in the application folder, stopped the constant searching and cleared up the problems we were having. A problem that had been researched for a long time without coming up with a solution was solved in a few minutes with Filemon.

Filemon
Regmon (like Filemon but for the Registry)
Process Monitor(FileMon and RegMon combined)