can open registry from server

J

john

Hi,
i have created a .reg file. It needs to be opened by all
users in order to change to settings in the registry.
I created a batch file to run the file..
The command is stg like this:
runas /user:mypc\administrator "regedit /s
C:\autoupdate.reg"
Everything works fine if the .reg is saved in local drive.
Problem arises when the .reg is not under local drive but
server drive (even under admin profile).
My command is stg like this
runas /user:mypc\administrator "regedit /s
H:\autoupdate.reg"
So can anyone tell me what and where went wrong?
pls help, Thanks
 
S

Scott Losawyer

try using a unc path and make sure the user has rights to the server/share
 

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