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 ?
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\
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',
>
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 ?
>
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\Lib\site-packages