Solved

Importing a Reg file without giving the user Local Admin?

Posted on 2001-06-27
4
265 Views
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?
0
Comment
Question by:bluematter
  • 2
4 Comments
 
LVL 3

Expert Comment

by:jlsjls
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.

0
 
LVL 22

Accepted Solution

by:
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.

Regards,
CJ
0
 
LVL 22

Expert Comment

by:CJ_S
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

Regards,
CJ
0
 

Author Comment

by:bluematter
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.

Regards
B
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
changeXy challenge 13 67
python question 5 69
advertisement module in core php 4 144
Export Table to CSV - Access to CSV - using python 18 96
RIA (Rich Internet Application) tools are interactive internet applications which have many of the characteristics of desktop applications. The RIA tools typically deliver output either by the way of a site-specific browser or via browser plug-in. T…
Here we come across an interesting topic of coding guidelines while designing automation test scripts. The scope of this article will not be limited to QTP but to an overall extent of using VB Scripting for automation projects. Introduction Now…
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 seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

929 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now