Execute a registry key into a remote user's registry via a login script

M

Mr. Debrosse

My script works and goes through the process of executing
the .reg file, either silently or normally, and executes
the .reg file fine, but DOES NOT ADD it to the registry.

Sample:

COPY C:\applications.reg \\remote_computer\c$
REGEDIT \remote_computer\c$\applications.reg

Any help would be appreciated.
Thank
 
J

Jerold Schulman

My script works and goes through the process of executing
the .reg file, either silently or normally, and executes
the .reg file fine, but DOES NOT ADD it to the registry.

Sample:

COPY C:\applications.reg \\remote_computer\c$
REGEDIT \remote_computer\c$\applications.reg

Any help would be appreciated.
Thank

That is because in your example, regedit is running on the local computer.

Use psexec, tip 4141 in the 'Tips & Tricks' at http://www.jsiinc.com

Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 

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