Modify a key in the NTUSER.DAT file for multiple existing profiles programatically. Must be done in one shot / all profiles at changed in one run.
Posted on 2004-09-11
I am working on packaging several applications that require a registry change be made to the HKCU. Problem is that I must modify the HKCU for existing profiles as well.
What I want to so is to access all the existing NTUSER.DAT files and make the neccessary changes. I want to package this and make the changes all at once. This necesitates the changes be made in a script or program, doesnt matter which. I am familiar with Java, VBS, and dos and can work with any program that can do the job.
Solutions so far. These are not acceptable.
1. Create a script that makes changes to HKCU each time the application is run. (least efficient and undesireable for obvious reasons)
2. Create a seperate desktop script the user can run on any errors or place in the startup folder. (same issues)
3. Delete all current profiles (not possible)