I've made a little program for calculating the UserPreferencesMask value. This seemed like the right place to share it since the idea was born while I was making a collection of reg tweaks for an unattended xp installation. If somebody's interested but sceptical about attachments from newcomers, you can also find UPMCalc on Softpedia.