• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 252
  • 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?
1 Solution
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.
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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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