For any hardware add-ons — which tech folk call peripherals — Windows 10 has a trick up its sleeve. Thanks to plug and play technology, which automatically identifies add-on devices, connecting new devices to your computer can be quite easy.

  1. Press Windows + R, type control panel and then hit Enter, select Hardware and Sound. Scroll down and select Realtek HD Audio Manager. Click the folder icon just above and to the right of where it says analog back panel and just below Device Advanced settings. Uncheck Enable auto popup dialog when device has been plugged in. Click OK twice.
  2. May 19, 2020  It has been annoying to have Windows prompting you to select which audio device you have plugged in every single time, and here's the simple solution video. Now you can plug-in, and plug.

You may find many kinds of add-on devices useful:

Keylok 2. Clone the USB firmware image, and load it into a virtual USB port. As you say, crack the key and the USB interface, and short-circuit the check in a virtual USB device. Locate the part of the code in the program that is doing the security check, and edit the bytecode / machine code to return successful without actually looking for the device.

Jun 12, 2012  When I plug my headphones in, an annoying Windows 10 themed pop-up window appears saying: External audio device detected. In order to receive the best audio experience please select the type of audio device you have plugged in. Front speaker out.


Windows 10 Which Device Did You Plug In Headphones

  • A printer lets you, well, print documents and photos. Your choices for printers include black and white versus color, and inkjet versus laser printer. A multifunction printer also works as a copier, scanner, and fax machine.
  • A digital camera captures photos that you can copy to your computer to enjoy and to share with others. See Chapter 10 for information on working with photos.
  • A scanner enables you to make digital images of old photos or documents so that you can view them onscreen.
  • An external hard drive stores backup copies of your files.
  • An additional or replacement pointing device (your mouse is a pointing device), including a trackball or a pen with a tablet, may be more comfortable to use than what came with your computer. Switching between pointing devices helps you avoid repetitive stress. A wireless mouse eliminates the hassle of dealing with a cord. Some people like to add a mouse as an alternative to their laptop’s built-in touchpad.
  • A microphone is crucial for communicating by voice with your computer, through speech recognition, or with your friends over the Internet. A combination headset with microphone may produce the clearest sound.
  • A video camera (or webcam) is essential for video phone calls à la the Jetsons.

The majority of these devices connect using USB (Universal Serial Bus) technology. When you connect a device to your computer using a USB cable to the USB port (shown), the device identifies itself to the computer. This identification process is called plug and play. Ideally, you connect your device, and it simply works.

Windows 10 uses a device driver to communicate with an add-on device. The driver is really a program that tells Windows 10 how to run the device. When you connect a device, such as a printer, Windows 10 looks for a driver (in this case, a printer driver). That driver may be built into Windows 10, come on a disc that’s packaged with the device, or need to be downloaded from the Internet, either automatically by Windows 10 or manually by you.

Every computer has at least a couple of USB ports. Some are in the front, and others are in the back of the computer and harder to reach. If your computer doesn’t have enough ports, you can add more by buying a USB hub, which is a small box with two to four USB ports. If a port is hard to reach with a device’s cable, you can buy a USB extension cable. Office supply stores may have hubs and cables.

Bluetooth is a wireless technology for adding devices to your computer. If your computer has Bluetooth, you can use Bluetooth as well as USB to add some devices, especially a microphone or headset.


Be aware that the behavior of an AutoRun-invoked device installation application must depend on whether the user plugs in the hardware first or inserts the distribution medium first. Since independent hardware vendors (IHVs) typically provide one distribution disk, and a disk can only have one AutoRun-invoked application, your AutoRun-invoked device installation application must determine whether your device is plugged in.

To determine whether a device is plugged in, the application can call the UpdateDriverForPlugAndPlayDevices function, passing the hardware ID of the device. The device is plugged in if one of the following is true:

Which Device Did You Plug In Windows 10 Acer

  • The function returns TRUE. (This also installs the driver for the device.)

  • The function returns FALSE and the Win32 GetLastErrorfunction returns ERROR_NO_MORE_ITEMS. (No installation occurs.)

The device is not plugged in if the function returns FALSE and GetLastError returns NO_SUCH_DEVINST. (No installation occurs.)

Reinstalling an Unplugged Device

Re Enable Which Device Did You Plug In Windows 10

When a device that formerly was attached is now unplugged, the device's devnode remains in the system, although it is both inactive and hidden. Before you can reinstall such a device, you must first find this 'phantom' devnode, and mark it as needing reinstallation. Then, when the device is plugged back in, Plug and Play will reenumerate the device, find the new driver for it, and install the driver for the device.

To reinstall an unplugged device:

Which Device Did You Plug In Windows 10 Reddit

  1. Call the SetupCopyOEMInf function.

    The SetupCopyOEMInf function ensures that the correct INF file is present in the %SystemRoot%inf directory.

  2. Find the unplugged devices.

    Call the SetupDiGetClassDevs function. In the call to this function, clear the DIGCF_PRESENT flag in the Flags parameter. You have to find all devices, not just those that are present. You can narrow the results of your search by specifying the particular device class in the ClassGuid parameter.

  3. Find the hardware IDs and compatible IDs of unplugged devices.

    SetupDiGetClassDevs returns a handle to the device information set that contains all installed devices, whether plugged in or not, in the device class (assuming that you specified a device class in the first step). By making successive calls to the SetupDiEnumDeviceInfo function, you can use this handle to enumerate all the devices in the device information set. Each call gives you an SP_DEVINFO_DATA structure for the device. To obtain the list of hardware IDs, call the SetupDiGetDeviceRegistryProperty function with the Property parameter set to SPDRP_HARDWAREID. To obtain the list of the compatible IDs, call the same function, but with the Property parameter set to SPDRP_COMPATIBLEIDS. Both lists are MULTI-SZ strings.

  4. Look for a match between the ID of your device and the hardware IDs (or compatible IDs) of the previous step.

    Make sure that you perform full string comparisons between the hardware ID/compatible ID and the ID for your device. A partial comparison could lead to incorrect matches.

    When you find a match, call the CM_Get_DevNode_Status function, passing SP_DRVINFO_DATA.DevInst in the dnDevInst parameter. If this function returns CR_NO_SUCH_DEVINST, that confirms that the device is unattached (that is, has a phantom devnode).

  5. Mark the device.

    Call the SetupDiGetDeviceRegistryProperty function with the Property parameter set to SPDRP_CONFIGFLAGS. When this function returns, the PropertyBuffer parameter points to the device's ConfigFlags value from the registry. Perform a bitwise OR of this value with CONFIGFLAG_REINSTALL (defined in Regstr.h). After doing this, call the SetupDiSetDeviceRegistryProperty function, with the Property parameter set to SPDRP_CONFIGFLAGS, and the PropertyBuffer parameter set to the address of the device's modified ConfigFlags value This action modifies the registry's ConfigFlags value to incorporate the CONFIGFLAG_REINSTALL flag. This causes the device to be reinstalled the next time that the device is reenumerated.

  6. Plug in the device.

    Plug and Play will reenumerate the device, find the new driver for it, and install that driver.