Importing a Reg file without giving the user Local Admin?

Posted on 2001-06-27
Last Modified: 2013-11-13
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?
Question by:bluematter
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Expert Comment

ID: 6234102
One possible way could be :
set in registrykey :HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
the command that needs to be processed here :
regedit "regfile" /s
Restart the PC and the regfile will be imported in the registry disregard the users rights.
Hope this helps.

LVL 22

Accepted Solution

CJ_S earned 50 total points
ID: 6234122
You could create a service which automatically starts when the computer starts up. This can do what you want to do since you can set the rights on the machine. For more information search for the program called srvany.exe. It should contain enough information about how you can set up an NT service.

Another way could be the one jlsjls is refering to.

LVL 22

Expert Comment

ID: 6248646
Why the bad grade? I'm not happy with this...You should've elaborated and ask additional questions if it were necessary, instead of just accepting the answer and giving a C


Author Comment

ID: 6248668
Sorry other work loads took over and did not have time to continue the questions & didn?t want it left open, as it would be automatically closed.


Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question