Re: [python-win32] Invalid method parameters with UnjoinDomainOrWorkgroup

2009-12-23 Thread Tim Golden
Tim Golden wrote: Gowtham wrote: I am trying to unjoin a machine from the domain and attempted with the following code import wmi wm = wmi.WMI() wm.Win32_ComputerSystem.UnjoinDomainOrWorkgroup(2, 'ADMINPASSWORD', 'DOMAIN\ADMINUSER') Traceback (most recent call last): File "", line 1, in ?

Re: [python-win32] Invalid method parameters with UnjoinDomainOrWorkgroup

2009-12-23 Thread Tim Golden
Gowtham wrote: I am trying to unjoin a machine from the domain and attempted with the following code import wmi wm = wmi.WMI() wm.Win32_ComputerSystem.UnjoinDomainOrWorkgroup(2, 'ADMINPASSWORD', 'DOMAIN\ADMINUSER') Traceback (most recent call last): File "", line 1, in ? File "C:\Python24\

Re: [python-win32] Invalid method parameters with UnjoinDomainOrWorkgroup

2009-12-22 Thread Gowtham
Hi Tim, Inline- On Tue, Dec 22, 2009 at 2:42 PM, Tim Roberts wrote: > Gowtham wrote: > > I am trying to unjoin a machine from the domain and attempted with the > > following code > > > > > > import wmi > > wm = wmi.WMI() > > wm.Win32_ComputerSystem.UnjoinDomainOrWorkgroup(2, 'ADMINPASSWORD', >

Re: [python-win32] Invalid method parameters with UnjoinDomainOrWorkgroup

2009-12-22 Thread Tim Roberts
Gowtham wrote: > I am trying to unjoin a machine from the domain and attempted with the > following code > > > import wmi > wm = wmi.WMI() > wm.Win32_ComputerSystem.UnjoinDomainOrWorkgroup(2, 'ADMINPASSWORD', > 'DOMAIN\ADMINUSER') > > Traceback (most recent call last): > File "", line 1, in ? >