Lucius Snow Posted September 19, 2004 Posted September 19, 2004 Hello all,I'm looking for a solution to apply my softwares settings (using reg tweaks and batch files) to all user accounts. They get installed through RunOnceEx.cmd so at the first logon. Is it possible to create others RunOnceEx.cmd which run automaticaly at the first logon of any other accounts created (if they exist) ?I kept the username entries step of oobe because the accounts names are not determined by advance. When i'll install my unattended CD, they may be one, two, three or even more accounts ...Thank you.
RyanVM Posted September 19, 2004 Posted September 19, 2004 I assume you're trying to apply them to HKCU. In that case, apply the settings during the cmdlines.txt (or svcpack.inf) stage of setting. They'll be applied to the .Default section.
Lucius Snow Posted September 19, 2004 Author Posted September 19, 2004 I assume you're trying to apply them to HKCU. In that case, apply the settings during the cmdlines.txt (or svcpack.inf) stage of setting. They'll be applied to the .Default section.Yeah, i thought about that but won't the settings get overrided since the software are installed after ?And what about the BATCH files (they often use paths with %username%) ? I use them to copy, move, erase some files. Any ideas ?
RyanVM Posted September 19, 2004 Posted September 19, 2004 Yeah, i thought about that but won't the settings get overrided since the software are installed after ?it depends on the program. Some are set up to only write values if there isn't any currently there. The best way to find out is to try it and see.And what about the BATCH files ? I use them to copy, move, erase some files. Any ideas ?I'm thinking you'd have to make the cmd files (and name them sequentially e.g. 1.cmd, 2.cmd, 3.cmd, etc) then have some kind of loop within RunOnceEx to set the registry entries to run them on each profile. You could use REG.exe to create the registry entries.
Lucius Snow Posted September 19, 2004 Author Posted September 19, 2004 Thanks. I'll try the cmdlines.txt solution. However i don't really see how to make this loop thing for the BATCH
Lucius Snow Posted September 19, 2004 Author Posted September 19, 2004 Alright. Test done. None of the software reg tweaks get applied
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now