Questions tagged [device-manager]

The Device Manager is a program accessible through the Windows Control Panel and is used for managing hardware on a PC. This tag should be used for questions related to writing code which interfaces with the Device Manager, not for simply using it.

The Device Manager is a standard component in the Control Panel on Windows. It manages hardware attached to the computer, such as displaying what is connected to the system and enabling/disabling specific hardware items.

123 questions
0
votes
1 answer

'best driver already installed' when trying to replace generic HID with WinUSB

I am trying to send SetReports to vendor defined features on a USB HID device for testing purposes. So far I used BusHound for this but I have hit some limitations with that. I followed this guide in an attempt to write a small testing utility that…
qubik
  • 3
  • 3
0
votes
0 answers

how to dismount the USB which connected on remote machine using c++

I have tried: deviceIoControl function but I think this cannot work for remote machine (my sample code) dismount function in WMI but it mount again as auto-mount is true when I tried to false the automount that function return mountpoint is…
0
votes
0 answers

Pyautogui doesn't recognize Tab

I want to open the device manager on windows, but when I want to press tab with pyautogui I can't get the first entry. Expected result: marked the 1st entry (destop) Got result: Nothing Here's my python code: import pyautogui import time import…
0
votes
0 answers

Python - infi.devicemanager usage help needed

I am quite new to programming and have written a simple piece of code to check for the presence of a specific name within the windows device manager. I am using the following library https://pypi.org/project/infi.devicemanager/ my function: def…
Marlon
  • 1
0
votes
1 answer

Not able to see connected usb device in registry

I have a device connected to a USB serial port which can be seen in device manager but not in registry. When I use SerialPort.GetPortNames() (I am expecting to return all the connected serial ports), it is not returning all the ports from the…
pratap
  • 15
  • 2
0
votes
2 answers

app does not work when Run in Flutter in Android Studio is pressed

Launching lib\main.dart on sdk gphone64 x86 64 in debug mode... Running Gradle task 'assembleDebug'... /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/platform-2.2.1/lib/src/interface/local_platform.dart:45:41: Error: Member not found:…
0
votes
0 answers

How to get Device Power State of an Adapter?

I'm looking for a programmatic way of querying an Display Adapter's current power state (d-state) in Windows. It's not a USB device or ACPI device. I couldn't find much on how I could access the current d-state through cmd line or an API. It could…
0
votes
2 answers

Is there a way to delete all devices from the device manager containing a certain string using Powershell or a script?

I am looking for a way to delete all devices from the device manager in Windows containing a certain string in the instance ID. I should be able to do it using tools already on the computer. I have a microphone that attaches to the computer as an…
0
votes
1 answer

How to get a COM port of device and change it in python

I have a microcontroller and I'm using UART to connect between the controller and my PC. I need to determine in the PC to which COM port the microcontroller is connected and change it by a list of open COM ports. I wanted to use OS moudle of Python…
0
votes
0 answers

libusb node usb get device instance path

Using Device Manager in windows on a USB device I get this in the device instance path property: USB\VID_0403&PID_E868\02302692 I'm trying to get this info from the Node USB library which is based on libusb. When I query I get these…
johnsonjp34
  • 3,139
  • 5
  • 22
  • 48
0
votes
0 answers

Is a universal script to disable devices under Windows 10 "Device Manager", launch an executable, then enable said devices after app exit possible?

I'm trying to run some old software that refuses to launch (an issue for many users) unless the "HID-compliant consumer control device" devices, under Windows 10's "Device Manager", are disabled. I was able to do so with the simple batch script…
0
votes
1 answer

Android device is not found in Device Manager (Windows 10 - HP Laptop, Android 8 - Motorolla)

I am new to the mobile world. Hence this question may sound silly to the seasoned professions. Please excuse. I am trying to connect my mobile device to my laptop. I intention is to do some testing using appium. However I am blocked. My mobile…
skv
  • 149
  • 2
  • 3
  • 15
0
votes
0 answers

Disable portable device in windows

I am trying to disable portable device using setupdixxx APIs and device is getting blocked and no device content is visible. I want device to be in disable state and no content should be visible. But its content is getting visible when I try to…
Mr_Aj
  • 1
  • 1
0
votes
0 answers

How to get the "last arrival date" property out of the device manager in vb.net?

I´m trying to get the "last arrival date" property out of the device manager in vb.net. I tried it already with the Win32_PnPEntity, but this property is not included. Is there another function to get this property? I need this to check how long a…
Duryon
  • 1
  • 2
0
votes
1 answer

Finding advanced regedit keys

The key I want right now is the GPU DeviceDesc key, but it seems that every regedit path to the key is unique, for instance: Computer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\PCI\VEN_10DE&DEV_1C03&SUBSYS_85B61043&REV_A1\4&1c3d25bb&0&0019 Which…
Plozy
  • 17
  • 3
1 2 3
8 9