Jooel - just had to mention this and give you much thanks and credit - this function of yours just saved our bacon. One of my co-workers has used it to setup a batch job that scours the registry (a portion of it) for a rogue value that gets created now and again (and must be deleted) ... works and charm and saved us much time and effort.

-Shawn