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

  2. Jens Müller

    Steve Foster Guest

    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, Jan 8, 2010
    #2
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.