Jump to content

Recommended Posts

Posted

I want to register a lot of apps at install time, i currently passed in the registry and exported a [progname].reg file for each program, and edited it to keep reg data and some configs.

can i import all of them in the registry using some FOR %%1 in (*.reg) do regedit /s %%1? or better to join all reg files into 1 big file?

where should i add such line to allow the import into CURRENT_USER?

btw, is there a way to add a new user and then import some reg values into the Current_User key for that user only?


Posted

1. This code:

for %%i in (*.reg) do regedit /s %%i

will work if you put it in a batch file (I do the same for INF files).

2. To import user based tweaks, just import your registry files during RunOnceEx so that they'll be imported AFTER you log in.

Posted
2. To import user based tweaks, just import your registry files during RunOnceEx so that they'll be imported AFTER you log in.

Or import them with cmdlines.txt at T-12, so ALL users that will be made will inherit those regtweaks!

Bâshrat the Sneaky

Posted

@Bashrat the Sneaky: Read the original post:

btw, is there a way to add a new user and then import some reg values into the Current_User key for that user only?

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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