When you connect to a remote Registry and either save a key to a file or load a key from a file, it is important to note that the path to the file specified is relative to the computer on which the Registry lives. Suppose, for example, that a script connects to \\ServerA and tries to load a key from c:\temp\key.dat using the following command:
$Remote_HKEY_LOCAL_MACHINE->Load( "TestKey", "c:\\temp\\key.dat" );
The file that will be loaded is in \\ServerA’s c:\temp directory. If the file exists on the machine running the script but not on \\ServerA, the function will fail. The same is true for the Save() method—the file will be saved on \\ServerA.