How to distribute .reg file to W2K Pro users with no admin priv.

R

Richard

Is there a way to distribute a .reg file to users with no admin priviliges?
I added a batch file to the user's login scripts with the following:

regedit.exe /s \\servername\share\file.reg

The .reg file contains entries to HKEY_LOCAL_MACHINE and HKEY_CLASSES_ROOT.

When users log in they get a "Cannot import......Error accessing the
registry" error message.

Any comments or suggestions is appreciated. Thanks.
 
G

Guest

Use GPO -> Computer Configuration -> Windows Settings -> Scripts -> Startu
Place your script there. Scripts starting with machine settings use SYSTEM account
 
B

Bruce

Igor Fomin said:
Use GPO -> Computer Configuration -> Windows Settings -> Scripts -> Startup
Place your script there. Scripts starting with machine settings use SYSTEM account.

Hi Igor,

Do you know if the system account can access a network share
containing .reg file?

We have a similar problem in that we want to run a program (.exe) in
the logon script but it needs admin rights and since the users logging
on are ordinary users the program fails to run properly.

After reading your post I wondered if we could put the .exe the
computer startup script (as above) rather than the user logon script.
But for that to work the system account would need to be able to
execute the .exe in a share on the server.

Thanks,

Bruce.
 
I

Igor Fomin

You can not execute something from a share. You shoud, for think of any
workaround. The first one is to map network share and use any letter (for
example Y:\START.exe) instead of share name. The second one is to copy the
file from share to local disk and execute if from its new location.

Best Regards!
 

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