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
3
votes
2 answers

How to read WMI data of a USB (PnP) device, in this case the hardware ids, in C#?

How can I get the hardware id from an USB device? I know how to get that id with device-manager, but I want to get it via C#. Is that possible? This is what I´ve done already, but that delivers me not the hardware if which consists of the vendor id…
L4c0573
  • 333
  • 1
  • 7
  • 23
3
votes
0 answers

How to remove data stored on the device remotely through code (programatically)

I want to remove data stored on the device remotely through code. I did through android device manager. https://www.google.co.in/android/devicemanager But I want same approach programatically through my application. 1) How can I get Active devices…
m.v.n.kalyani
  • 760
  • 7
  • 20
3
votes
1 answer

Editing device manager using powershell

Part of my work routine involves frequently enabling/disabling network adapters in the device manager, which is tedious and time consuming. I am learning PowerShell, and want to write a simple script that automatically enables/disables the network…
Flopdong
  • 259
  • 1
  • 3
  • 15
3
votes
4 answers

Using Powershell to remove non present network adapters

I'm trying to automate via PowerShell a number of time consuming tasks that I have to preform to make a new VM template, one of which is removing all of the NICs from the VM and cleaning up the Device Manager of non present devices. After removing…
Hive
  • 193
  • 1
  • 4
  • 17
3
votes
0 answers

Read Information of the Device Manager with Java

I would like to know how to read out the information which can be found in the Device Manager with Java. I've found JNA (Java Native Access) and Java Communications API (http://www.oracle.com/technetwork/java/index-jsp-141752.html) but I can't find…
alex
  • 143
  • 2
  • 15
3
votes
1 answer

How do I list device types using WMI?

I'm using WMI Code Creator to generate code to help list the types of devices shown in Device Manager. I'm trying to detect the presence of a debugger that shows up in Device manager as its own type (e.g. Listed under my computer, the categories…
mlusby
  • 641
  • 8
  • 21
3
votes
0 answers

Programmatically Enable a Disabled Device

I'm using the code from this answer: Win32 API function to programmatically enable/disable device The code works, but sort of. It only succesfully enables the device if it has previously been disabled by the same code. If the device is "disabled"…
Davio
  • 4,609
  • 2
  • 31
  • 58
2
votes
2 answers

Driver's uninstall button is disabled

I've written my fairly simple first driver for a virtual device. It also has a .inf and I install the driver using devcon.exe. It install fine and functions properly but my problem is when I try to uninstall it: devcon.exe can't uninstall it and in…
Nicu Surdu
  • 8,172
  • 9
  • 68
  • 108
2
votes
1 answer

IPortableDeviceManager::GetDevices returning 0 Devices

I'm currently writing a simple application to retrieve a list of the PnP devices of my computer. To do this, I'm making use of the Windows PortableDeviceApi Library. So far I have the following code: #include #include…
2
votes
1 answer

C# - Get last known parent from USB device property details

I want to try read out the last known parent from USB devices in windows 10 with c#, which is visible in device manager -> device properties -> details. I googled a lot and found many solutions to get manufacturer etc., but I was not able to…
Dave
  • 19
  • 4
2
votes
1 answer

Multiple boards Windows Device Manager prompts resource conflict, error code is 12

I inserted multiple same boards into the system. Device PCIe is implemented with Xilinx IP core. After each FPGA program is programed, manually refresh the device manager to check whether the device and driver are working properly. My confusion is…
lizzoe
  • 51
  • 3
2
votes
1 answer

e-mail and Android mail account settings from code

Is there a way to create/change an email account from source at android an ios? We would like to provide our customer a way for adding their mail accounts to android and ios devices within in an app. I've already taken a look at the Android Account…
Christoferw
  • 741
  • 3
  • 7
  • 20
2
votes
0 answers

How to identify if a device (scanner) is local or remote?

Context: I have a C# application that works with a scanner, on a Windows 10 environment. In some situation, users would, from their local computer, connect to a remote computer that is running the application. The application shows a list of…
Hal
  • 591
  • 4
  • 10
  • 28
2
votes
0 answers

How does Windows acquire drivers for new devices

I was just wondering if anyone could explain to me exactly how Windows goes about downloading or extracting drivers for new devices (like gpu's and usb's) on first time setup. For Example I got a new USB Wifi Adapter and when I plugged it in,…
YeaTheMans
  • 1,005
  • 8
  • 19
2
votes
1 answer

List all drivers for all devices which are shown in device manager

I am trying export using command line a list of all devices installed in the device manager, including the hidden devices drivers (which were once connected to the PC and not necessarily connected now). (device manager > view > show hidden…
user1902346
  • 799
  • 1
  • 12
  • 21
1
2
3
8 9