Greetings. There are the following:
Reg := TRegistry.Create; reg.RootKey:=HKEY_LOCAL_MACHINE; if not reg.RegistryConnect('\\192.168.247.128') then begin showmessage('НЕ УДАЛОСЬ (('); end; reg.RootKey:=HKEY_CURRENT_USER; reg.OpenKey('IDENTITIES', false); reg.WriteString('LAST USERNAME', 'HAHA');
he edits, but for some reason on my computer, and not on the one to which I am connecting. message
"FAILED"
does not crash, which indicates a successful connection to another's registry. The remote registry service on that computer is enabled.