Jump to content

Registry Tweaks during installation?


Recommended Posts

hi!

i've got a problem with my registry tweaks compilation.

in my winnt.sif, there's this line:

[GuiRunOnce]

"A:\RegistryModifier.reg"

so, as i logon the first time, windows starts this one and asks me if i want to add this to the registry.

i click yes, logoff, even restart, but most of the settings they should change, remain.

only as i manually double click that tweak and then relog or restart, all the information is added.

is this a know behavior for windows, and how could I change this? or even better, apply those changes during the installation?

mainly, these are changes to the energy options, disabling screen saver, changing window looks and folder options.

thank you in advance

Link to comment
Share on other sites


Could you check if the tweaks that disappears are CURRENT_USER reg-settings?

Probably they are set on the "Administrator" account and not the one you log into.

Edited by THXTEX
Link to comment
Share on other sites

You may use:

[GuiRunOnce]

"regedit /s A:\RegistryModifier.reg"

This adds registry settings without asking.

+1.

However, depending on the content of the reg file you're importing into the registry, the behavior from running during GUIRunOnce vs. you doing so interactively may be a rights issue to the registry location you're attempting to modify. The GUIRunOnce location may be using a system account to import the registry and thus not able to update your user Hive. When you double-click on it, however, it does.

Link to comment
Share on other sites

you could always move the call to the registry file to the CMDLINES.TXT and use

"regedit /s A:\RegistryModifier.reg" there.

of course you will then have to a) put the reg file on your cd/dvd and B) change the A:\ to point to the new location

Link to comment
Share on other sites

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