I'm giving all my points for this one.
I work as a system admin and i need to modify/create, the registry on other PC's in the LAN.
I created some .reg files and tried to get my program to read the information and execute it on a remote pc, but it doesn't work, by the way it's XP Pro (No Service pack 2 installed, so it's not the firewall or nothing and i have admin previleges over the workstations on the LAN)
Anyway, i really need to do this, below is the code i've been testing but doesn't work :o/
procedure TForm1.Button1Click(Sender: TObject);
Var Reg: TRegistry;
Reg := TRegistry.Create;
With Reg do
RootKey := HKEY_CURRENT_USER;
OpenKey ('\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3', TRUE);
Hope you can help on this.