Just for kix, use regedt32 and view the security settings on the key...

I've encountered registry paths where, even as an Admin, I did not have Write access.

I've modified your code slightly and tested it on my 2K workstation at work and it works as expected. I'll try it at home on XP and post the results this evening.

The mods I made are because I don't have Outlook installed.. I've modified the Load & Save definitions as follows:
code:
 
$save = $profilelocation + "\Windows"
$Load = $profilelocation + "\" + @UserID

This exports the Windows key to a file, then imports it to a key that uses my User ID.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D