Rodney McBride wrote: > I am experiencing difficulty using _winreg.SaveKey to export a registry > from a remote host. I am able to connect to and read the remote reg key, > but I am getting a 'WindowsError [ErrNo 5] Access denied' when trying to > perform the export to a file. The documentation reads that if using > SaveKey to export a remote key that the 'file name' is relative. I > understood this to mean that I could use a unc path to where I want to > store the file. I am currently using a unc path, but I have tried to use > a local path via a local drive letter, but have not been able to get > around the access denied error message. > > I am using ActivePython 1.2 (Python = 2.4.3). Below is a copy of my > source code. Any assistance will be appreciated.
Er, do you mean ActivePython 2.4.3.12? I don't have any experience with using _winreg on remote machines and don't have the ability to test that here. Are you sure that the Access denied error is because of the file name and not because of a lack of SeBackupPriviledge as is mentioned as being required in the docs? You could try asking on [EMAIL PROTECTED] More Windows Python programmers hang out there. Trent -- Trent Mick [EMAIL PROTECTED] _______________________________________________ ActivePython mailing list ActivePython@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython