1.

Solve : Copy registry file to another computer and run it or...?

Answer»

Hey guys, I want to know if it is possible to copy a registry file from one machine to another(both with admin RIGHTS) and then run it afterwards. If not, then can you do the REG ADD command from one machine to another? Any response would be nice EVEN if you say I don't know, but thanks anyways.
PS: This post is OVER 9000!!! Quote

Hey guys, I want to know if it is possible to copy a registry file from one machine to another(both with admin rights) and then run it afterwards.

You can just use remote registry: http://www.techrepublic.com/article/remote-registry-administration-in-windows-xp-professional/5173421

You could copy it into the startup folder if it's shared.Thank you for giving me that link, it is not exactly what I am looking for. I would like to use the Command Prompt or a Batch file. Yes, I could copy it to the startup folder, but I would like to run it right away. I guess I was not specific enough, sorry about that. I don't really think that is possible unless you had VNC to that computer or something, the main reason is for security.

You could copy to the start-up folder and then do a remote restart.

shutdown /r -m \\xxx.xxx.xxx.xxx
Replace xxx.xxx.xxx.xxx with the IP address or computer name of the remote machine.Thank you for that response again! I did find an alternative though.
Code: [Select]echo off
color 0a
net view
echo.
set /p b=Type the computer name you are modifying:
echo.
set /p c=Type the homepage url you are changing:
cls
set /p d=Are you sure you want to change %b% homepage? [Y/N]:
if /i %d%==n goto a
cls
regini [-m %b%] REG ADD "HKCU\SOFTWARE\MICROSOFT\INTERNET EXPLORER\MAIN" /V "START PAGE" /D "%c%" /F
pause >nul
goto a


Discussion

No Comment Found