Import reg files into Registry, without UAC

Discussion in 'Windows 64bit' started by Jens Müller, Jan 8, 2010.

  1. Jens Müller

    Jens Müller Guest

    Hi,

    I've got a .reg file to be imported silently in a batch. The file contains
    only entries in HKEY_CURRENT_USER, therefore can be imported without
    elevation.
    This works well with the regedit /s switch on limited accounts, however on
    admin accounts, elevation UAC prompt is still shown, even though it's not
    needed.

    How can I prevent this?

    Thanks,
    Jens
     
    Jens Müller, Jan 8, 2010
    #1
    1. Advertising

  2. Jens Müller

    Steve Foster Guest

    Jens Müller wrote:

    >Hi,
    >
    >I've got a .reg file to be imported silently in a batch. The file contains
    >only entries in HKEY_CURRENT_USER, therefore can be imported without
    >elevation.
    >This works well with the regedit /s switch on limited accounts, however on
    >admin accounts, elevation UAC prompt is still shown, even though it's not
    >needed.
    >
    >How can I prevent this?


    Use REG.exe to add the specific key/values that you want. I believe that
    it's smart enough to only generate a UAC prompt if you try to add to
    restricted parts of the registry.

    --
    Steve Foster
    ------------
    Please reply only to the newsgroups.
    For SSL Certificates, Domains, etc, visit.: https://netshop.virtual-isp.net
     
    Steve Foster, Jan 8, 2010
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. jl
    Replies:
    3
    Views:
    6,757
    OldKenGoat
    May 31, 2005
  2. Lando Chez
    Replies:
    2
    Views:
    749
    Ben Myers
    Dec 23, 2005
  3. Zygon Curry
    Replies:
    5
    Views:
    2,138
  4. canixs
    Replies:
    0
    Views:
    420
    canixs
    Mar 2, 2007
  5. canixs
    Replies:
    2
    Views:
    460
    Dshai
    Mar 6, 2007
Loading...

Share This Page