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
2
votes
1 answer

Windows 10: Error code 52 in device manager with correct signature in cross-signed driver

we developed a driver and signed the cat and sys file with our company's Verisign signature (SHA1 + SHA256, including certificate chain). We tested it under Windows 7 and 10 both 32 and 64 bit versions. Now we have some random customers that report…
2
votes
1 answer

Windows device: get "location" string for a given IMFActivate* of a UVC webcam

When going to Windows' "Device manager" and clicking on (almost) any device in the list one piece of information in the "General" tab is called "Location". That is a string that is either: human-readable, like "on NVIDIA GeForce GTX…
YePhIcK
  • 5,816
  • 2
  • 27
  • 52
2
votes
2 answers

Python Read the Device Manager Information

I just need to read all of the information that is listed in Device Manager with a python 2.7 script. Especially the information under 'IDE ATA/ATAPI controllers' subcategory. This is needed to detect whether the SATA drives are under AHCI or IDE…
Erik343
  • 323
  • 4
  • 14
2
votes
2 answers

Is there a command line way to detect uninstalled drivers in devicemanger?

I am trying to find a command line way to detect uninstalled drivers in device manager, I need a way to detect if there are items under "other devices" as shown below screen shot
Ritz
  • 1,193
  • 6
  • 15
  • 26
2
votes
2 answers

docker, --storage-opts and aufs storage-driver

I would like the ability to limit container size, however using the default storage driver aufs (for Ubuntu 14.04) I get an error when I try to use the --storage-opt arguments $ docker create -it --name="disk_test" --storage-opt size=100G…
EMChamp
  • 449
  • 1
  • 7
  • 13
2
votes
2 answers

How to detect nonpresent devices using C#

My program (which is completely written in C#) has a use case in which the program will need to detect that a specific usb device is installed in the computer. In the case that the usb device is connected, WMI will solve this problem. However in…
2
votes
0 answers

C++/MFC - Device Manager is finished detecting devices?

I have an application that programs our manufactured HID devices during initialization. The devices are already plugged in to the USB ports and this program autoruns as soon as the system boots. On Windows XP, this has been working fine and we are…
joshtitus
  • 33
  • 3
2
votes
2 answers

Windows USB Device Location

I am looking for the proper WMI Win32 or CIM Class property to find the location of a USB device. In device manager, shown below, the Location is known as "Port_#0002.Hub_#0009". Any ideas on the class and property that this is in the Windows API or…
2
votes
1 answer

Can DevCon notify when a driver is finished installing after a rescan?

I am trying to install a driver during a windows-setup project. The first step I do is to copy the INF file and preinstall the driver. SetupCopyOEMInf(infFile, null, 1, 0, null, 0, 0, null); This correctly preinstalls the driver, but the device is…
Misha
  • 571
  • 5
  • 17
2
votes
2 answers

Frustrating DevicePolicyManager lockNow() behavior

Things are simple: press an icon and send the phone to standby. The frustrating part comes from the phone: sometimes, randomly instead of remaining in standby, the screen awakes and the lock screen is displayed. I have not yet found any conditions…
Alin
  • 14,809
  • 40
  • 129
  • 218
1
vote
2 answers

Which design patterns are useful to do this?

I have a device which have low level programming. I am giving version numbers every new devices and upgrades. I also have a program which communicate with these devices (to retrieving information on these devices). For eg. v1.2 sends this kind of…
uzay95
  • 16,052
  • 31
  • 116
  • 182
1
vote
4 answers

Windows device manager and hardware IDs

I'm curious how the windows device manager obtains the hardware IDs for a device, even though no device driver may be loaded for the device yet. Anybody have a clue on how Windows goes on about this? On a related note, I am interested in supporting…
Kent Knox
  • 348
  • 3
  • 9
1
vote
0 answers

Can't set focus on Device Manager window after connecting using Pywinauto

I've tried several ways to get the focus placed on the device manager window in Windows 10. I have a lot of notes in the code snippet so I can keep track of what I've tried. I'm able to open device manager but can't seem to focus on it. I've…
JamesL3H
  • 11
  • 3
1
vote
1 answer

Windows 7 Embedded - Disable Disk Caching Programmatically:

Preface: We are using a Windows-7-Embedded image, for making client-ready copies of our software. The flow is pretty standard: Take a blank hard-drive. Restore an in-house Windows-7-Embedded image on the hard-drive. Install additional software…
MordechayS
  • 1,552
  • 2
  • 19
  • 29
1
vote
0 answers

WIN10 or ADB: Show connected Android Devices

i am using Android Debugging Bridge (ADB) via Python (Win10) to access android device information. Problem: - I am testing with lots of different devices I want to know whether there are devices that are connected, but with disabled debugging mode…
mahack
  • 11
  • 1
1 2
3
8 9