Edit the Registry???

B

Brian P.

Hello,

I currently have a batch file that runs when users login to the network, to
setup some software they will require, but part of the batch file modify's
the registry, and normally I receive an error that the reigistry is write
protected, or another error that basically states the user doesn't have
access. Is there a way within a batch file, to assign the user logging in
admin rights to be able to continue running the file, then at the end of the
batch file, I can remove the access?

Thanks!
 
D

David H. Lipman

From: "Brian P." <Brian (e-mail address removed)>

| Hello,
|
| I currently have a batch file that runs when users login to the network, to
| setup some software they will require, but part of the batch file modify's
| the registry, and normally I receive an error that the reigistry is write
| protected, or another error that basically states the user doesn't have
| access. Is there a way within a batch file, to assign the user logging in
| admin rights to be able to continue running the file, then at the end of the
| batch file, I can remove the access?
|
| Thanks!

I strongly suggest the MS scripting group; microsoft.public.windows.server.scripting

I also suggest looking into Group Policies to mod the registry.
 

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