Fact-checked by Grok 2 weeks ago

Device Manager

Device Manager is a built-in administrative component of Windows operating systems that provides a for viewing, configuring, and devices connected to a computer. It organizes devices into categories such as display adapters, network adapters, processors, and storage controllers, displaying key details including device type, operational status (e.g., working properly or with errors indicated by yellow exclamation marks), manufacturer, and associated driver information. This tool serves as a central hub for , enabling users to monitor resources and address compatibility or functionality issues without requiring command-line interventions. Access to Device Manager is straightforward and available across Windows versions, such as by typing "Device Manager" into the search bar, right-clicking "This PC" in and selecting Manage followed by Device Manager, or executing the command devmgmt.msc in the Run dialog (opened via + R). Key functionalities include updating or rolling back device drivers to ensure and , enabling or disabling specific to resolve conflicts, uninstalling devices and their driver packages, and scanning for hardware changes to automatically detect newly added or removed components. Additionally, it offers tabs in device properties dialogs—such as General for status overviews, Driver for version and signing details, Details for hardware IDs and resources, and Events for troubleshooting logs—to facilitate in-depth diagnostics. Users can also enable the "Show hidden devices" option under the View menu to reveal non-present or legacy entries. Device Manager is essential for maintaining system stability, particularly in environments with diverse peripherals like USB devices, printers, and graphics cards, as it helps interpret error codes (e.g., Code 10 for device failure or Code 28 for missing drivers) and guides remediation steps. By integrating with Windows architecture, it supports seamless hardware integration while allowing manual overrides for advanced scenarios, such as debugging for boot-critical failures. This makes it a foundational tool for IT professionals, hardware enthusiasts, and everyday users seeking to optimize their Windows-based systems.

Overview

Definition and Purpose

Device Manager is a graphical administrative tool integrated into Windows operating systems, designed to provide users and administrators with a centralized for viewing, managing, and troubleshooting devices and their associated drivers. It displays detailed about installed hardware, including device types, manufacturers, status indicators, and driver properties, enabling effective oversight of system components. The primary purposes of Device Manager include enumerating all detected devices on the system, facilitating updates, installations, and uninstallations, resolving conflicts through visual cues such as icons, and monitoring real-time device status via properties dialogs that reveal events, details, and options. By allowing users to enable or disable devices and roll back problematic s, it supports proactive to ensure compatibility and optimal performance without requiring advanced command-line expertise. Device Manager integrates deeply with core Windows architecture components, particularly the (PnP) manager, which dynamically detects and configures hardware, and the Windows Driver Model (WDM), a framework that standardizes driver development to support PnP and power management features. This interaction allows Device Manager to reflect the PnP manager's enumeration and configuration data in a hierarchical device tree view. Key benefits include its role as a unified interface that minimizes reliance on third-party utilities for basic hardware administration, while also enabling remote system management through its implementation as a (MMC) snap-in, permitting oversight of devices on networked computers.

History

The Device Manager traces its origins to early Windows versions, where hardware management was rudimentary. In Windows 3.1, released in 1992, the System Control Panel included a Drivers applet that allowed users to view and configure installed device drivers, serving as a basic precursor to more integrated tools. Similarly, early Windows NT versions, such as NT 3.1 (1993) and NT 4.0 (1996), relied on Control Panel icons like Devices for monitoring driver status, without a dedicated graphical tree view for hardware. Device Manager was formally introduced in (1995) as a key component of the () architecture, enabling automatic detection, configuration, and management of devices through a hierarchical in the System Properties dialog. This marked a significant advancement over prior systems, integrating PnP support to reduce manual configuration and conflicts, and it became a standard feature in the family (including and Me). In the parallel lineage, Device Manager debuted in (2000) as a snap-in for the (), providing a unified interface for enterprise administration across the NT kernel-based systems. Subsequent evolutions focused on security and compatibility. introduced driver signing policies, which could require digital signatures for kernel-mode drivers depending on the configured policy (Ignore, Warn, or Block; defaulting to Warn) to help prevent malicious or faulty code from compromising system stability, with Device Manager displaying signature status for installed drivers. (2007) integrated enhanced boot security mechanisms, including a redesigned boot manager that improved driver loading integrity during startup, allowing Device Manager to better handle secure driver installations and diagnostics under the new Windows Driver Foundation (WDF) model. Starting with (2012), Device Manager supported emerging hardware standards, including native handling of USB 3.x controllers and ports for faster data transfer rates up to 5 Gbps or higher, visible under the Universal Serial Bus controllers category; and 11 (2015 onward) extended this to higher-speed variants like USB 3.1 and 3.2 (up to 20 Gbps). These versions also optimized management for Modern Standby (S0 low-power idle), enabling users to configure power states for devices to maintain connectivity while minimizing battery drain on mobile systems. Post-2015 developments emphasized driver isolation, where Device Manager facilitates sandboxing of third-party drivers in isolated processes to enhance system resilience against crashes, as implemented in the driver package isolation framework. Key updates extended Device Manager's role in the line beyond Windows 2000. For instance, it incorporated extensibility for custom views, and from onward, it supported compatibility with ARM-based Windows devices, emulating x86/x64 drivers via the WoA () subsystem to broaden hardware portability. These changes reflect Microsoft's ongoing rationale for adapting Device Manager to hardware advancements, such as PCIe interfaces for high-speed expansion cards and connectivity for daisy-chaining peripherals, ensuring seamless enumeration and driver management in evolving ecosystems.

Accessing Device Manager

Graphical User Interface Methods

Device Manager can be accessed through several graphical user interface methods in Windows, providing user-friendly entry points for system administrators and users to view and manage hardware devices. One primary method involves right-clicking the Start menu button and selecting Device Manager from the context menu that appears, which launches the tool directly without additional navigation. Another common approach is to use the Start menu search functionality: clicking the Start button, typing "Device Manager" into the search bar, and selecting the corresponding result from the list. Additionally, users can navigate via the Control Panel by opening it from the Start menu, selecting System under the "System and Security" category, and then clicking Device Manager on the Hardware tab. Keyboard shortcuts offer quicker access for experienced users. Pressing + X opens a menu, from which Device Manager can be selected to launch the tool. Alternatively, pressing + R to open the Run dialog, typing devmgmt.msc, and pressing Enter provides a direct path to the interface, as the .msc extension invokes the snap-in for Device Manager. For remote administration, Device Manager is available as a snap-in within the (), allowing connection to networked machines. To use this method, open by searching for "mmc" in the , add the Device Manager snap-in via the File > Add/Remove Snap-in menu, and specify the remote computer's name or when prompted, enabling hardware management across the network provided proper permissions and configurations are in place. These graphical methods remain largely consistent across and , though introduces minor UI refinements, such as a more streamlined and search integration, without altering the core access paths. For users preferring non-GUI options, command-line alternatives like the devmgmt.msc executable exist but are covered separately.

Command-Line Access

Device Manager can be accessed from the command line by launching its (MMC) snap-in file, devmgmt.msc, using the Command Prompt or . To do so, open an elevated Command Prompt (by right-clicking the Start button and selecting " (Admin)" or "Command Prompt (Admin)") and enter devmgmt.msc, followed by pressing Enter; this opens the graphical Device Manager with administrative privileges. Similarly, in , the same command launches the tool, allowing users who prefer command-line initiation to access the visual without navigating menus. While devmgmt.msc provides a bridge to the GUI, direct command-line management through Device Manager itself is limited, as it primarily relies on launching the snap-in rather than offering native CLI operations for tasks like enabling or updating devices. For basic querying of (PnP) devices without opening the full interface, cmdlets such as Get-PnpDevice can retrieve device information, including status and instance IDs, though these do not support comprehensive management actions like driver installation. Additionally, the rundll32.exe utility can invoke specific device properties dialogs via rundll32 devmgr.dll,DeviceProperties_RunDLL, enabling targeted access to individual device settings from scripts, but this still opens elements rather than performing fully automated operations. In enterprise environments, remote invocation enhances automation; for instance, PsExec from the suite allows administrators to launch devmgmt.msc on remote machines by running psexec \\remotecomputer devmgmt.msc, facilitating distributed troubleshooting without physical access. For more programmatic admin tasks, (WMI) integrates with scripts to query and manage device remotely, using classes like Win32_PnPEntity to enumerate devices and their states across networks. These methods scripting for bulk operations but often complement rather than replace the core GUI functionality of Device Manager.

User Interface

Device Tree Structure

The Device Manager presents hardware components in a hierarchical , reflecting the device tree managed by the Windows kernel. At the root of this tree is a displaying the computer's name, beneath which are expandable nodes representing broad classes of , such as Processors, Display adapters, Network adapters, and Sound, video and game controllers. These categories group related devices logically by function, allowing users to expand nodes to view specific instances, like individual CPU cores under Processors or a particular under Display adapters. This organization facilitates navigation and management of the system's inventory. The tree's presentation can be altered via options in the View menu to suit different diagnostic needs. The default view, "Devices by type," arranges items by their functional categories for a high-level overview. Selecting "Devices by connection" reorganizes the tree to illustrate physical interconnections, such as buses and ports, showing how devices attach to the or peripherals like USB hubs. For resource-focused analysis, "Resources by type" displays allocations like requests (IRQs), (DMA) channels, (I/O) ports, and memory ranges in a categorized list, while "Resources by identity" provides a device-centric breakdown of these assignments, highlighting potential conflicts. These views enable targeted without altering the underlying device tree. By default, the tree omits non-present devices—hardware that was once connected but is no longer attached, such as removable USB devices or components—to keep the display concise. Users can reveal these hidden devices by selecting "Show hidden devices" from the View menu, which populates additional nodes or subentries, often marked as faded or ghosted to distinguish them from active . This is particularly useful for managing or intermittently used peripherals like USB hubs or network adapters. Visual cues in the tree provide quick status overviews, with color-coding and symbols integrated into device icons. A yellow exclamation mark overlay signals a device with an identified issue, such as a driver problem or resource conflict, prompting further investigation. Disabled devices are indicated by a downward-pointing arrow on their icons, signifying they are present but not operational. These basic indicators help users prioritize attention in the hierarchy, with more detailed icon interpretations covered separately.

Icon Types and Meanings

In Device Manager, icons appear as overlays on the device representations within the device tree structure, providing quick visual cues about hardware status without delving into detailed diagnostics. These symbols have remained largely consistent across Windows versions, aiding users in identifying potential issues at a glance. Healthy devices, which are functioning normally with properly installed drivers and no conflicts, typically display no overlay icon. A overlay indicates an unknown device, where Windows detects the but cannot identify it due to missing or unrecognized , often appearing under the "Other devices" category. This symbol highlights unidentified that requires manual installation or further configuration. In contrast, a blue denotes a device that Windows has partially recognized—such as its general type—but lacks specific details on the manufacturer or model, commonly for user-selected devices that remain unconfigured or for legacy hardware without full support. This occurs when a compatible but non-specific is in use, signaling incomplete setup. The yellow signals problematic , typically arising from malfunctions, resource conflicts, or installation errors, prompting users to investigate further. It does not necessarily mean the device is non-functional but indicates an active issue requiring attention. Disabled devices feature a downward-pointing overlay, denoting that the has been intentionally deactivated by the user or system policy, preventing it from operating or consuming resources. In earlier Windows versions like , a red X served a similar purpose for disabled or removed devices, but modern iterations, including and 11, standardize on the down for clarity and consistency.

Device Management

Viewing and Updating Drivers

In Device Manager, users can inspect driver details for a specific device by right-clicking the device entry in the and selecting Properties, then navigating to the Driver tab. This tab displays key information such as the provider, installation date, version number, and digital signer, which indicates whether the is digitally signed by a trusted authority. To update a driver, users right-click the device and select Update driver, which launches the Update Driver Software Wizard—renamed from the Hardware Update Wizard starting with . The wizard offers two primary options: an automatic search that checks and connected devices for compatible updates, or a manual browse allowing users to specify a driver location, typically downloaded from the hardware manufacturer's website. If an update causes compatibility issues, the Driver tab provides a Roll Back Driver button to revert to the previously installed version, provided a backup was created during the update process; this option is only available after a recent driver change and requires administrator privileges. Windows enforces driver signing for security, requiring kernel-mode drivers on 64-bit systems to be digitally signed since to prevent malicious code execution. Unsigned drivers cannot load under normal conditions, but users can temporarily disable enforcement through advanced boot options (such as pressing during startup) to install them in test scenarios.

Enabling, Disabling, and Uninstalling Devices

In Device Manager, users can enable or disable devices to control their functionality without removing them from the system. To enable a disabled device, right-click the device entry in the device tree and select "Enable device," which restores the device's access to system resources and allows it to operate normally. Conversely, disabling a device involves right-clicking the entry and selecting "Disable device," rendering the hardware inaccessible to the operating system while keeping its configuration intact; this action is indicated by a downward-pointing arrow overlay on the device's icon in Device Manager. Disabling a device releases associated system resources, such as interrupt requests (IRQs) or memory addresses, which can help mitigate hardware conflicts where multiple devices compete for the same resources. This enable/disable functionality is particularly useful in troubleshooting scenarios, such as resolving conflicts between audio devices like an integrated sound card and a secondary audio adapter, where disabling one allows the other to function without interference. For instance, in cases of overlapping audio drivers causing distortion or failure to detect output, temporarily disabling the conflicting device permits testing and isolation of the issue. However, enabling or disabling devices may lead to temporary system instability, such as loss of functionality in dependent hardware or error prompts, so creating a system restore point beforehand is recommended to allow reversion if issues arise. Uninstalling a device goes further by removing both the hardware entry and its associated from the system configuration. The process requires right-clicking the device in Device Manager, selecting "Uninstall device," and optionally checking "Delete the driver software for this device" to purge the driver package from the driver store; administrative privileges are necessary for this operation. Upon uninstallation, the device ceases to function immediately, and for (PnP) hardware, Windows typically detects and automatically reinstalls compatible drivers either upon reconnection or system reboot, restoring the entry unless the driver was explicitly deleted. This approach is ideal for managing legacy hardware that no longer receives updates, as it clears outdated configurations that might otherwise cause compatibility issues. Users should exercise caution with uninstallation, as it can introduce system instability if the device is critical, such as a network adapter, potentially disrupting until reinstallation occurs; backing up drivers manually or via tools is advised to facilitate quick . Additionally, for devices, physically disconnecting the hardware before uninstalling helps prevent automatic redetection and reinstallation.

Troubleshooting

Error Codes

Device Manager displays numeric error codes to indicate specific or driver-related issues for devices in the . These codes appear in the device's dialog box under the General tab, accessible by right-clicking a device in the Device Manager and selecting Properties, where the Device status section shows the code and a brief description. These errors often correlate with entries in the Windows , providing additional diagnostic details under the System or Application logs. The error codes correspond to internal constants prefixed with CM_PROB_, such as CM_PROB_NOT_CONFIGURED for code 1, and are used by the Windows configuration manager to report problems during enumeration, , or . maintains a complete of these codes in its driver development documentation, covering issues from failures up to code 52 for unsigned drivers, with additional codes beyond that for specialized scenarios like usage or system shutdown conflicts. Common error codes include the following, each indicating a distinct failure mode:
CodeDescription
1This is not configured correctly (CM_PROB_NOT_CONFIGURED), often due to incomplete or configuration in the registry.
10This cannot start (CM_PROB_FAILED_START), typically resulting from a driver mismatch, resource conflicts, or hardware-specific initialization errors.
28No drivers are installed for this device (CM_PROB_FAILED_INSTALL), signifying that the installation process did not complete successfully.
39Windows cannot load the driver for this hardware (CM_PROB_DRIVER_FAILED_LOAD), commonly caused by a , missing, or incompatible driver file.
52Windows cannot verify the for the drivers required for this (CM_PROB_UNSIGNED_DRIVER), indicating an unsigned or tampered driver that violates Windows policies.
A in Device Manager often accompanies these codes to visually flag problematic devices. For a comprehensive list and technical details on all CM_PROB_ constants, refer to Microsoft's documentation.

Common Issues and Resolutions

Device Manager in Windows often displays error codes indicating underlying or problems, which users can reference to diagnose issues before applying resolutions. Driver conflicts occur when multiple devices or their drivers compete for system resources or fail to initialize properly, commonly manifesting as Code 10 (device cannot start) or (driver missing or corrupted). To resolve, right-click the conflicting device in Device Manager, select Update driver, and choose to search automatically for updated drivers from or the manufacturer's website; if the issue persists, disable the secondary device via Properties > Driver > Disable device to isolate the conflict. Alternatively, uninstall the driver and scan for hardware changes under the Action menu to reinstall a compatible version. Resource allocation errors, such as (IRQ) or (I/O) port conflicts, typically appear as Code 12, where a device reports insufficient free resources due to overlaps with other hardware. To identify them, select View > Resources by type in Device Manager to display IRQ, I/O, and memory assignments, highlighting any conflicts in the list. For manual reconfiguration, right-click the affected device, go to Properties > Resources, uncheck Use automatic settings, and adjust the IRQ or I/O port to an available value from the Change Setting dialog, ensuring no overlaps with other devices. If BIOS-level changes are needed for persistent IRQ mismatches (e.g., Code 36), restart the system and enter setup to reassign resources, followed by a Device Manager rescan. Ghost devices refer to non-present hardware entries that linger in Device Manager after removal, potentially bloating the system registry (as in Code 49) and causing performance issues. To remove them, enable > Show hidden devices to reveal grayed-out entries, then right-click each ghost device and select Uninstall device, checking Delete the driver software for this device if prompted to fully purge associated files. After uninstallation, select Action > Scan for hardware changes to refresh the list and confirm removal; a system restart may be required for changes to take effect. USB recognition failures, often shown as Code 45 (device disconnected) or "USB Device not recognized," can stem from driver instability or power management issues. Basic fixes include unplugging the device for one minute before reconnecting directly to a computer port (avoiding hubs), or right-clicking under Universal Serial Bus controllers in Device Manager to uninstall all USB Root Hubs and controllers, then restarting to trigger automatic reinstallation. For service-related problems, open services.msc, locate Plug and Play, right-click to restart it, and rescan hardware in Device Manager. If unresolved, enter BIOS settings during boot to verify USB legacy support or port enabling, updating motherboard chipset drivers from the manufacturer afterward. In , TPM-related errors post-updates may arise from initialization failures, such as the Trusted Platform Module not being recognized under Security devices in Device Manager, often due to firmware incompatibilities or disabled states. To handle this, open tpm.msc to check status; if reduced functionality is reported, clear the TPM via Settings > Update & Security > Windows Security > Device security > Security processor details > Security processor troubleshooting > Clear TPM, followed by a restart to reinitialize. Ensure TPM 2.0 is enabled in BIOS/UEFI (under Security or Advanced settings), and uninstall any non-Microsoft TPM drivers in Device Manager before scanning for changes; for domain-joined systems, connect to the network to retrieve recovery information if needed.

Device Categories

Standard Categories

Device Manager organizes devices into predefined categories known as device setup classes, which are system-defined groupings that facilitate the , installation, and management of components in Windows operating systems. These categories serve as the default structure for displaying devices in the tool's hierarchical view, ensuring that related types are logically clustered together. The standard categories are not exhaustive but include essential groupings for common , and they auto-adjust dynamically based on the detected and installed in the system, with only populated categories visible in the interface. defines over 50 such classes as of 2025, with a full list available in the documentation; additional examples include Batteries, Disk drives, Mice and other pointing devices, Monitors, and Printers, as well as more recent classes like Camera (introduced in ) for universal camera drivers. Core categories encompass foundational system components and storage interfaces. The "System devices" category includes hardware abstraction layers (HALs), system buses, bridges, the Advanced Configuration and Power Interface (ACPI) driver, and the volume manager driver, representing the underlying architecture of the machine. "Display adapters" groups video adapters and associated display drivers, essential for graphics rendering. "DVD/CD-ROM drives" covers optical disc drives, including SCSI-based CD-ROMs, for media reading and playback. "IDE ATA/ATAPI controllers" manages hard disk controllers such as Integrated Drive Electronics (IDE), Advanced Technology Attachment (ATA), and AT Attachment Packet Interface (ATAPI) interfaces, excluding SCSI or RAID variants. Network-related categories handle connectivity hardware. "Network adapters" includes Ethernet, , and other network interface controllers that require (NDIS) or NetAdapter drivers for communication. The "Bluetooth" category encompasses all -enabled devices, supporting wireless peripherals and connections starting from Service Pack 1. Input device categories focus on user interaction . "Human Interface Devices" (HID) groups interactive s like joysticks, gamepads, and sensors operated by the HID class driver, enabling plug-and-play functionality. "Keyboards" specifically includes all keyboard devices, including those compliant with HID standards for text and command input. Other prominent categories cover processing, multimedia, and connectivity. "Processors" lists central processing units (CPUs) and multi-core configurations, vital for system performance. "Sound, video and game controllers" aggregates audio devices, DVD playback hardware, ports, and cards under the Media class. "Universal Serial Bus controllers" includes USB host controllers and related devices not assigned to other classes, supporting a wide range of peripherals. The "Software devices" category encompasses virtual or emulated that is enumerated by software components rather than physical bus enumerators, such as virtual printers, software modems, or synthetic network adapters created by applications. This category, identified by the system-defined GUID {62f9c741-7e0d-4eb6-afb4-4a7d7a0c177b}, allows the operating system to manage non-physical devices that mimic behavior for compatibility or functionality purposes, often installed via INF files without requiring actual hardware detection. The "System devices" category houses kernel-level components such as controllers, enumerators, and IRQ/ bus handlers essential for core operating system operations. Similarly, the "Imaging devices" category, with GUID {6bdd1fc6-810f-11d0-bec7-08002be2092f}, groups , digital cameras, and multifunction peripherals that rely on image acquisition protocols.
Category NameDescription
System devicesSystem buses, bridges, , and volume manager.
Display adaptersVideo adapters and display drivers.
DVD/CD-ROM drives drives, including s.
IDE ATA/ATAPI controllersHard disk controllers (, , ATAPI).
Network adaptersEthernet, , and NDIS-based network interfaces.
BluetoothWireless devices and peripherals.
Human Interface DevicesHID-compliant input devices like gamepads and sensors.
Keyboards input hardware.
ProcessorsCPU and processor units.
Sound, video and game controllersAudio, , and game ports.
Universal Serial Bus controllersUSB host controllers and generic USB devices.
Software devices or emulated hardware enumerated by software.
Imaging devices, digital cameras, and image acquisition devices.
This table highlights representative standard categories, illustrating how Device Manager structures hardware for efficient oversight.

Custom and Specialized Categories

Third-party drivers can introduce custom categories by defining new device setup classes through the INF file's Version section, specifying a unique Class name and ClassGuid, and using a ClassInstall32 section to register the class with the system. For instance, security software vendors may create specialized nodes under custom classes for components like virtual security filters or antivirus monitoring interfaces, enabling Device Manager to organize these elements distinctly from standard hardware. This extension mechanism supports advanced driver architectures but requires administrative privileges for installation and adheres to Windows compatibility guidelines to avoid conflicts with predefined classes. Customization of categories in Device Manager is inherently limited, as users cannot directly or create them through the ; all definitions originate from driver INF files that populate the system registry during . Changes require repackaging and reinstalling drivers with modified INF sections, ensuring consistency across Windows versions while preventing unauthorized alterations that could destabilize device enumeration. This design prioritizes system integrity over end-user flexibility, contrasting with the fixed standard categories that serve as the baseline for hardware organization.

Command-Line Tools

Driverquery Command

The driverquery command is a built-in Windows that enables administrators to display a list of installed device drivers and their properties from the command line, facilitating inventory and diagnostic tasks without relying on graphical interfaces. It operates locally by default but supports remote execution, making it valuable for enterprise environments. The syntax for the driverquery command is as follows:
driverquery [/s <system> [/u [<domain>\]<username> [/p <password>]]] [/fo {table | list | csv}] [/nh] [/v | /si]
Here, /s <system> specifies the remote computer to query, optionally with /u for user credentials and /p for the ; /fo sets the output ( by , or list/); /nh suppresses column headers; /v enables for additional details; and /si displays information for signed drivers. The /v and /si options are mutually exclusive, and /nh is invalid with list format. By default, the command outputs data in a table format with four columns: Module Name (the driver's file name), Display Name (user-friendly label), Driver Type (such as or ), and Link Date (compilation timestamp). The verbose /v option expands this to include columns like , (e.g., for drivers loaded at system startup or for those loaded later), (e.g., Running or Stopped), , Accept Stop/Pause flags, Device ID, and Image Path (file location). In contrast, the /si option focuses on signed drivers, adding details such as Manufacturer, Driver Date, and Driver Version while omitting verbose fields. CSV format (/fo csv) produces for easy import into spreadsheets or scripts, while list format (/fo list) presents each driver's properties in a key-value structure. Common use cases include scripting for automated driver inventories, where CSV output allows parsing in batch files or to track changes across systems, and remote querying in IT to assess driver status on multiple machines without physical . For example, driverquery /s RemotePC /fo csv > drivers.csv generates a portable report of a remote system's drivers. As a read-only tool, driverquery has limitations including no capabilities for modifying, installing, or uninstalling drivers, and it requires administrative privileges for remote operations. Additionally, (/v) is incompatible with signed driver queries, potentially limiting detail for modern systems enforcing . In addition to the driverquery command, which serves as a primary tool for listing installed drivers, several other command-line utilities complement the functions of Device Manager by enabling management of hardware devices, drivers, and related services in Windows environments. These tools provide programmatic access to tasks such as driver installation, device state changes, and service monitoring, often requiring administrative privileges for execution. Pnputil.exe is a built-in command-line utility designed for managing packages in the Windows driver store, allowing administrators to add, remove, enumerate, and export .inf files associated with . For instance, it supports commands like /add-driver to install a package from an .inf file and /delete-driver to remove one, facilitating offline management without relying on the graphical interface. This tool is particularly useful for scripting deployments in enterprise settings. PowerShell offers specialized cmdlets in the PnPDevice module for interacting with devices, extending Device Manager's capabilities through automation. The Get-PnpDevice cmdlet retrieves basic information about all PnP devices on a system, including status, instance ID, and class, enabling scripted queries similar to viewing device lists in Device Manager. Complementing this, Enable-PnpDevice activates disabled devices by their instance path, while Disable-PnpDevice deactivates them, providing granular control over hardware states in batch operations. These cmdlets are recommended for modern scripting due to their integration with 's ecosystem. Devcon.exe, a legacy command-line tool from the , allows for advanced device control such as enabling, disabling, scanning for hardware changes, and removing devices by hardware ID, offering functionality akin to Device Manager actions but via scripts. recommends replacing Devcon with the built-in PnPUtil tool for managing devices and drivers in new development, as it uses more secure APIs and is included in every Windows release. cmdlets in the PnpDevice module provide additional integrated alternatives for automation. It remains available for backward compatibility in certain debugging scenarios. The sc query command from the Service Control (sc.exe) utility queries the status of Windows services, including those critical to hardware management like the Plug and Play (PlugPlay) service, which handles device enumeration and configuration. By specifying a service name, such as sc query PlugPlay, it displays details like the current state (running, stopped) and startup type, helping diagnose hardware-related issues stemming from service failures without accessing the graphical Services console. This is essential for troubleshooting Device Manager operations that depend on underlying services.

References

  1. [1]
    Device Manager | Microsoft Learn
    Jan 29, 2019 · The (Windows) Device Manager allows a user to view the hardware on the computer. You can use it to installed/update/remove the drivers for ...Missing: documentation | Show results with:documentation
  2. [2]
    Using Device Manager - Windows drivers | Microsoft Learn
    Apr 23, 2025 · Device Manager displays information about each device. This information includes the device type, device status, manufacturer, device-specific properties, and ...
  3. [3]
    Open Device Manager - Microsoft Support
    Open Device Manager. Applies To Windows 10. Select Start , enter device manager. Then, select Device Manager from the search results.Missing: documentation | Show results with:documentation
  4. [4]
    Update drivers through Device Manager in Windows
    Right-click on the Start menu and then select Device Manager. In the Device Manager window that opens, select the arrow next to the desired category of device ...Missing: documentation | Show results with:documentation
  5. [5]
    Using Device Manager to Uninstall Devices and Driver Packages
    To launch Device Manager, in Windows search, enter and select Device Manager. Select the View menu and turn on Show hidden devices. Expand the node that ...How Devices and Driver... · Driver Store · PnPUtil
  6. [6]
    Error codes in Device Manager in Windows - Microsoft Support
    In this article, we will help you find your error code and suggest what you might try to correct the error.
  7. [7]
    Introduction to Plug and Play - Windows drivers | Microsoft Learn
    Apr 23, 2025 · The interface includes I/O manager routines, Plug and Play minor IRPs, required standard driver routines, and information in the registry.
  8. [8]
    Introduction to WDM - Windows drivers | Microsoft Learn
    Create device objects. Support Plug and Play (PnP). Support power management. Support Windows Management Instrumentation (WMI). Should You Write a WDM Driver?
  9. [9]
    Errors connecting to Device Manager remotely - Windows Server
    Jan 15, 2025 · To open Device Manager on a remote computer: Open Computer Management (compmgmt.msc). On the Action menu, click Connect to another computer. In ...
  10. [10]
    Where Is the Device Manager in Windows NT 4? - Computer Hope
    Sep 7, 2025 · Windows NT 4 does not have a Device Manager. To install devices in Windows NT, use the icons available in the Control Panel.Missing: snap- | Show results with:snap-
  11. [11]
    What Is Device Manager? - Computer Hope
    Jan 6, 2025 · Introduced in Windows 95, the Device Manager is a feature of Microsoft Windows that detects and lists hardware devices and their status ...
  12. [12]
  13. [13]
    Microsoft Management Console Snap-ins - ITPro Today
    4. The Device Manager snap-in, like the Device Manager that Windows 9x includes, displays a graphical overview of the devices on your system and lets you ...
  14. [14]
    [PDF] Windows Vista Boot Manager (bootmgr) Security Policy
    Jun 1, 2009 · BOOTMGR is responsible for loading and verifying the integrity of the Windows OS Loader, Winload.exe. 1.1 Cryptographic Boundary for BOOTMGR.
  15. [15]
    USB in Windows - FAQ - Windows drivers | Microsoft Learn
    Newer PCs have both USB 3.0 and USB 2.0 ports. If you want your SuperSpeed USB device to perform at top speed, find a USB 3.0 port and connect the device to ...
  16. [16]
    Enable or Disable Network Connectivity in Modern Standby
    Dec 16, 2019 · Network connectivity in Modern Standby can be controlled via Settings, Power Options, Command Prompt, Local Group Policy Editor, or REG files. ...
  17. [17]
    Driver Package Isolation - Windows - Microsoft Learn
    Jul 14, 2023 · Driver package isolation makes driver packages more resilient to external changes, easier to update, and more straightforward to install.Missing: 2015 | Show results with:2015
  18. [18]
    Add support Arm devices to your Windows app | Microsoft Learn
    Guidance for adding Arm64 support to your app. Optimize your x64 app to perform better on Windows devices powered by Arm processors so that CPU, GPU, ...
  19. [19]
    Viewing Thunderbolt ports in Device Manager (Windows 10)
    Jan 23, 2020 · The Thunderbolt port can be found under System Devices in Device Manager. You may want to check by connecting a device to the Thunderbolt port ...Missing: evolution | Show results with:evolution
  20. [20]
    HOW TO: Save a Device Manager Report to a Text File
    Click Start, point to Settings, click Control Panel, double-click System, click the Hardware tab, and then click Device Manager. Click View, and then click ...
  21. [21]
    Where did my device manager go? - Microsoft Q&A
    Feb 3, 2024 · Right click on Start > Do you see Device Manager? Or, press Win Key + R to open Run > Type devmgmt.msc and hit enter > Does it open Device Manager?
  22. [22]
    Manage Server Core | Microsoft Learn
    Jan 16, 2025 · To use an MMC snap-in to manage a Server Core server that is a domain member: Start an MMC snap-in, such as Computer Management.
  23. [23]
    Win 10 Ver 1809 How to start Device Manager running as Admin?
    Mar 27, 2019 · When command prompt appears, type the following: devmgmt.msc. Then press Enter, and Device Manager should appear as an administrator, since you ...Missing: access | Show results with:access
  24. [24]
    Win11 Can't start Device Manager as Administrator in Win+x menu ...
    Start an elevated command prompt (Win+R, cmd, Ctrl-Shift-Enter), then run devmgmt.msc; Start directly (Win+R, devmgmt.msc, Ctrl-Shift-Enter). It is a massive ...
  25. [25]
    Can't access to my device manager - Microsoft Q&A
    Feb 16, 2024 · To access Device Manager, use Windows key + X, select 'Device Manager', or use command prompt with 'devmgmt.msc', or use Task Manager with ' ...
  26. [26]
    Manage devices with DevCon command-line tool - Windows drivers
    Learn how to use DevCon (Devcon.exe), the Device Console command-line tool, to manage, configure, and troubleshoot Windows devices effectively.Device Console (DevCon.exe... · DevCon Examples · Windows Driver Kit (WDK)
  27. [27]
    Get-PnpDevice - Microsoft Learn
    The Get-PnpDevice cmdlet returns basic information about Plug and Play (PnP) devices, including common values for all devices.
  28. [28]
    Invoking a Device Properties Dialog Box from Command-line Prompt
    Dec 14, 2021 · The DeviceProperties_RunDLL function in Device Manager can be invoked from a command-line prompt using rundll32.exe.
  29. [29]
    WMI Tasks: Computer Hardware - Win32 apps | Microsoft Learn
    Nov 9, 2023 · WMI tasks for computer hardware obtain information about the presence, state, or properties of hardware components.
  30. [30]
    Manage Device Installation with Group Policy - Microsoft Learn
    Aug 18, 2025 · This guide summarizes the device installation process and demonstrates several techniques for controlling device installation by using Group Policy.Technology Review · Device Installation In... · Scenario #5: Prevent...Missing: integration | Show results with:integration
  31. [31]
    Device Tree - Windows drivers | Microsoft Learn
    Feb 21, 2025 · The device tree contains information about the devices present on the system. The PnP manager builds this tree when the machine boots.
  32. [32]
    Use Device Manager to configure devices - Windows Server
    Jan 15, 2025 · This article describes how to use Device Manager to configure the hardware devices that are installed on your Windows Server 2003-based computer.Summary · How to configure a device in...<|control11|><|separator|>
  33. [33]
    Toaster Sample Driver - Microsoft Learn
    Jul 2, 2024 · In Device Manager, on the View menu, choose Devices by type. In the ... In Device Manager, on the View menu, choose Devices by connection.
  34. [34]
    Viewing Hidden Devices - Windows drivers - Microsoft Learn
    Dec 5, 2022 · To include hidden devices in Device Manager display, select View and select Show hidden devices. Prior to Windows 8, to view non-present devices, you must set ...Missing: options | Show results with:options<|control11|><|separator|>
  35. [35]
    Device Manager Error Messages - Windows drivers - Microsoft Learn
    Dec 14, 2021 · When Device Manager marks a device with a yellow exclamation point, it also provides an error message. The following table lists the errors ...
  36. [36]
    What does "uninstall device" do in Device Manager? - Microsoft Q&A
    Dec 17, 2022 · ... Device Manager, it will show a down arrow on the icon meaning that the device is disabled, you can right-click it and select "enable device ...
  37. [37]
    How to Identify an Unknown Device in Device Manager | Dell US
    Windows Device Manager has a Yellow Exclamation mark on the device. Windows has a missing or corrupt device driver. Unknown Device in Device Manager. Note ...
  38. [38]
    Device driver icon has warning flag - Microsoft Community
    Nov 9, 2020 · What's That Yellow Exclamation Point in Device Manager? A yellow triangle next to a device in Device Manager means that Windows has ...
  39. [39]
    What is the meaning of Blue Question Mark in Device Manager and ...
    Oct 9, 2023 · The blue question mark in Device Manager typically indicates that the device is recognized by Windows, but the specific type or manufacturer of ...
  40. [40]
    What do the icons mean in Device Manager - Lenovo Support GB
    This will take you to the Lenovo Support Community where you can interact with our forums to get additional assistance. Would you like to proceed?
  41. [41]
    Device driver icon has warning flag - Microsoft Q&A
    Nov 9, 2020 · In fact, there are dozens of reasons that a yellow exclamation point might show up in Device Manager, some more serious than others, but usually ...
  42. [42]
    How to Identify Problems in the Windows Device Manager
    Jun 1, 2025 · In Windows Vista and later, if you see a small down arrow next to the device (shown in the picture), it indicates the device is disabled. What ...Exclamation mark or other... · Red "x"
  43. [43]
    What does this Device Manager icon mean? - Professor Messer
    A yellow exclamation mark means the device is not working properly, and a red “X” signifies a device that has been disabled.<|control11|><|separator|>
  44. [44]
    Update a driver for hardware that isn't working properly
    Open Device Manager by clicking the Start button Start button icon · In the list of hardware categories, find the device that you want to update, and then double ...
  45. [45]
    Updating Driver Files - Windows - Microsoft Learn
    Dec 14, 2021 · The Hardware Update Wizard is run from Device Manager. Note Starting with Windows Vista, this wizard is now named the Update Driver Software ...
  46. [46]
    Driver Signing With Digital Signatures - Windows - Microsoft Learn
    Jul 11, 2025 · Driver signing associates a digital signature with a driver package. Windows device installation uses digital signatures to verify the integrity of driver ...
  47. [47]
    Driver Signing Policy - Windows - Microsoft Learn
    Aug 19, 2024 · To get your driver signed, first Register for the Windows Hardware Dev Center program. Note that an EV code signing certificate is required to establish a ...Exceptions · Signing a driver for client...
  48. [48]
    Help enable and disable in device manager - Microsoft Q&A
    Feb 25, 2010 · Right click on the adapter choose properties. At the bottom of the properties window there should be a drop down menu that will allow you to enable or disable ...
  49. [49]
    Sound Device conflicting - Microsoft Q&A
    Jan 27, 2025 · In Device Manager, right-click on AMD High Definition Audio Device. Select Disable device. Then, please make sure to put the Realtek audio as ...
  50. [50]
    Every update destroys my audio - Microsoft Q&A
    Sep 12, 2025 · Right‑click Start → Device Manager → Sound, video and game controllers. Right‑click → Disable device for NVIDIA High-Definition Audio ...
  51. [51]
    How do I permanently uninstall a device from the device manager
    Feb 24, 2020 · To completely uninstall a driver in device manager, simply right click the device> Uninstall this device> put a check on "Delete the driver software for this ...Missing: enable | Show results with:enable
  52. [52]
    Device Manager Problem Codes - Windows drivers - Microsoft Learn
    Dec 14, 2021 · The Device Manager marks a device with a yellow exclamation mark (!) when the device has a problem. The problem codes are in the form CM_PROB_XXX.
  53. [53]
    "USB Device not recognized" error - Windows Server | Microsoft Learn
    Dec 25, 2023 · This article provides methods to solve the USB Device not recognized error that occurs when you try to access a USB external hard drive.Symptoms · Cause
  54. [54]
    Unknown USB Device (Device Descriptor Request Failed) - WiFi ...
    Jan 1, 2025 · Find the Plug and Play service in the service list, right-click on it and select “Restart”. Update or reinstall the USB controller driver:
  55. [55]
    USB Ports Not Working - Microsoft Q&A
    Dec 6, 2023 · Check BIOS/UEFI Settings: Sometimes, USB ports can be disabled in the system BIOS/UEFI. Restart your computer and access the BIOS/UEFI settings ...
  56. [56]
    Troubleshoot the TPM | Microsoft Learn
    Aug 15, 2025 · To clear the TPM · Open the Windows Defender Security Center app. · Select Device security. · Select Security processor details. · Select Security ...About TPM initialization and... · Clear all the keys from the TPM
  57. [57]
    System-Defined Device Setup Classes Available to Vendors
    Jun 13, 2025 · These currently include standard/high/low quality DV, MPEG2, DSS, and Audio. ... Includes HALs, system buses, system bridges, the system ACPI ...
  58. [58]
    Creating a New Device Setup Class - Windows drivers
    Apr 11, 2022 · You can create a new device setup class by using an INF file. In addition to installing support for a device, an INF file can initialize a new device setup ...
  59. [59]
    Overview of Device Setup Classes - Windows drivers | Microsoft Learn
    Apr 11, 2022 · A device is grouped into a device setup class based on the class of the base driver package that is installed on the device.Missing: categories | Show results with:categories
  60. [60]
    driverquery | Microsoft Learn
    Feb 3, 2023 · The `driverquery` command displays a list of installed device drivers and their properties. It runs locally by default.Missing: documentation | Show results with:documentation
  61. [61]
  62. [62]
    Enable-PnpDevice - Microsoft Learn
    The Enable-PnpDevice cmdlet enables a Plug and Play (PnP) device. You must use an Administrator account to enable a device. Examples. Example 1: Enable a device.
  63. [63]
    Replacing Device Console (DevCon.exe) - Windows drivers
    Dec 28, 2023 · Tools have been created to replace DevCon's functionality while following best practices and adding new capabilities.
  64. [64]
    Sc.exe query | Microsoft Learn
    Feb 3, 2023 · Reference article for the sc.exe query command, which obtains and displays information about the specified service, driver, type of service, ...