Can I merge a .reg file while logged other than admin?

T

tiki2k

How can I merge a .reg file into the registry while in a user mode (not
administrator)?
 
P

Pegasus \(MVP\)

By doing this from a Command Prompt:

runas /user:administrator "c:\winnt\system32\regedit.exe /s c:\xxx.reg"
 
P

Pegasus \(MVP\)

It's the only one that I'm aware of. If you supply specific
details of your requirements, someone else may have
further suggestions.
 
P

Pegasus \(MVP\)

Your ability of importing this depends on the permissions
that are set in the target key. So far you haven't indicated
what that target key is, and what happens when you run
regedit from an ordinary user account. You might try
runas.exe but I'm not sure where exactly the information
would end up.
 
S

Steve Nielsen

Reading the reg file it goes into

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
Settings\ZoneMap\Domains]

Steve
 

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. After that, you can post your question and our members will help you out.

Ask a Question

Top