No problem 1984, just remember that you asked to create this file on everyone's profiles and not just logged on users. i.e. Howard's code will only work remotely against systems that have someone logged on. The code I wrote should write to all the profiles even if the user is not logged on at the time. But if Howard's solutions handles that task you want to accomplish that's good to hear.

From Howard:
Quote:

A point of clarification. The use of HKEY_Users only shows the actively logged on accounts. Other accounts/profiles could exist on a computer.

All SIDs that have local profiles can be found here:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList