#NEWLINE# def __init__( self ) : #NEWLINE# #INDENT# locator = IWbemLocator ( ) #NEWLINE# service = IWbemServices ( ) #NEWLINE# CLSID_WbemAdministrativeLocator_IID = windows . com . IID . from_string ( 'CB8555CC-9128-11D1-AD9B-00C04FD8FDFF' ) #NEWLINE# windows . com . init ( ) #NEWLINE# windows . com . create_instance ( CLSID_WbemAdministrativeLocator_IID , locator ) #NEWLINE# locator . ConnectServer ( 'root\\cimv2' , None , None , None , 128 , None , None , ctypes . byref ( service ) ) #NEWLINE# self . service = service