handling wmi query to connect to emulator for windows 8.1