On 04/01/2010 17:06, Wade Dyck wrote:
[...]
At this point I want to use Win32_Process.create() to xcopy some files from
a third server, so I switch to delegation since impersonate won't allow
access to network resources:
remote = wmi.connect_server(server=self.server, user=r"%s\%s"
I create a wmi connection to a server in a separate domain from where the
script is running like this:
remote = wmi.connect_server(server=server, user=r"%s\%s" % (domain,
user),
password=password, impersonation_level="impersonate")
self.c = wmi.WMI(wmi=remote)
I then successfully