Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 251
  • Last Modified:

Importing Reg Files without local admin?

Is there a way of importing a reg file without giving the user local admin rights? What I need to do is automatically import a reg file from a logon script (NT Domain), but most users don?t have local admin or registry rights. Any ideas?
0
bluematter
Asked:
bluematter
1 Solution
 
gidds99Commented:
You may be able to use reg.exe from the resource kit http://microsoft.com/ntserver/nts/downloads/recommended/ntkit/default.asp

Reg.exe allows you to import registry files from a batchfile.
0
 
schmieguCommented:
If you only import HKCU-keys, there should be no problem. But if you're importing HKLM keys, users must have admin rights or explicit permissions on the registry.
You can use reg.exe to create a script and run it against workstations over the network. In login scripts this will not work, since reg.exe needs the same permissions as any other registry tool.
Or you can use su.exe from the resource kit to run this import in a special user context with appropriate rights.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now