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

Enabling/disabling a device in Windows 10 from command line

I have a specific piece of hardware which I'd like to disable and re-enable each time my Windows restarts. I created a batch script which is supposed to do that, along with running my program afterwards: cd %~dp0 devcon.exe disable…
errata
  • 5,695
  • 10
  • 54
  • 99
16
votes
1 answer

DevicePolicyManager wipeData not wiping out Email settings

I have a device management app that uses the DevicePolicyManager methods. On a specific trigger, I invoked the wipeData method with flag = 0 (its a 2.2 HTC incredible). The device rebooted and wiped all device data (not sd card) along with any…
advantej
  • 20,155
  • 4
  • 34
  • 39
16
votes
8 answers

How do I get the friendly name of a COM port in Windows?

I have a GSM modem connected via USB. The modem creates 2 serial ports. The first is automatically attached to the modem, the second shows in Device Manager as "HUAWEI Mobile Connect - 3G PC UI Interface (COM6)" The second port is used to get…
Richard C
  • 2,176
  • 5
  • 30
  • 40
6
votes
0 answers

Android Connect Physical Device as ADB Device, not Portable Device

I have a Nexus 7 Tablet I want to use for debugging an Android app I'm developing. I'm doing the development and testing on a remote server using RDP and sharing my ports, including the USB that the tablet is connected to. Per the instructions in…
Scotty H
  • 6,432
  • 6
  • 41
  • 94
6
votes
2 answers

How do i lock phone programmatically android

Ho do i lock my android phone programmatically ? I tried following this example. But when i click on the enable button the Activity pops up for few milliseconds and then closes automatically The log shows no error just this log …
user2726456
6
votes
3 answers

Reading Device Manager's Property Fields in Windows 7/8

I am developing a windows application which gives the field details --> X. Where X is --> Right Click My Computer > Properties > Device Manager > (select any Item - Say KeyBoard) > Click it > standard PS/2…
Raulp
  • 7,758
  • 20
  • 93
  • 155
5
votes
1 answer

How to know if a device has been explicitly been disabled by user?

Using device manager a user can explicitly enable/disable a device, as can be seen in the following image. For a given device I want to know if it's currently in a user disabled/enabled state. I have tried the following…
Sahil Singh
  • 3,352
  • 39
  • 62
5
votes
1 answer

Device Enable/Disable script

I have Windows 7 64 Bit Professional Edition on a computer I built myself so there is no manufacturer to ask. I am using an on-board sound card which has 7.1 and Optical outputs. The optical output is plugged into a Denon amp which controls the…
4
votes
1 answer

Android Emulator error -ddmlib error

When test my codes by elumator ,Eclipse console show this error(but application Debug is OK): [2011-12-28 13:30:26 - ddmlib]Your host of software to suspend a already established connection。 java.io.IOException: Your host of software to suspend a…
Blues
  • 93
  • 6
4
votes
3 answers

Changing wireless network adapter wireless mode properties

My school uses 802.11a, but at home I use 802.11b. This means every time I go from home to school or the other way I have to go to device manager -> Network adapters -> Intel(R) WiFi Link 5100 AGN -> properties -> advanced -> wireless mode ->…
Casper Thule Hansen
  • 1,510
  • 2
  • 19
  • 36
4
votes
1 answer

How to disable screen lock password programmatically.

My script creates password and locks the phone, but if I try to change password to blank, it fails. My locking script: DevicePolicyManager deviceManager = (DevicePolicyManager)getSystemService(Context.DEVICE_POLICY_SERVICE); …
sider
  • 687
  • 2
  • 9
  • 23
3
votes
0 answers

Profile Manager Lion Server error

My Lion Server (10.7.1) worked perfectly until this tuesday. Yesterday when I went to profile manager's page, sometime it works and sometime not. Also, if I do the enrollment of a device sometimes works and sometimes not (I received a timeout). I…
Luca
  • 115
  • 1
  • 13
3
votes
4 answers

Uninstall Device from powershell

I run automation that installs a preset OS /w Drivers and configuration. I inherited the automation second hand and there's a lot to it. I have a system with hybrid graphics and it hands on verifying the display drivers. Now, I can walk over to the…
ndocds
  • 33
  • 1
  • 1
  • 3
3
votes
4 answers

Tizen Studio 3.3: Device Manager and Emulator Manager fail to launch due to "The code execution cannot proceed because MSVCP120.dll was not found."

I have recently installed Tizen Studio 3.3 (web-ide_Tizen_Studio_3.3_windows-64.exe) and also install all necessary packages through Package Manager. After the process of installation had finished, I tried to launch Device Manager and Emulator…
3
votes
1 answer

Qt how to open Device Manager

I am trying to open device manager from a button on Qt Windows app. What I tried: Assigned the slot/signal to the button. And the method: QProcess *proc = new QProcess(this); QString cmdStr = "devmgmt.msc"; proc->start(cmdStr); qDebug()…
GeneCode
  • 7,545
  • 8
  • 50
  • 85
1
2 3
8 9