Jump to content

Recommended Posts

Posted

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.


Posted

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.

Posted
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 ?

Posted
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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...