Command to Check GPU in Windows 10
In this article
The quickest command to check your GPU in Windows 10 is wmic path win32_VideoController get name in Command Prompt, or simply type dxdiag and press Enter for a full graphics report. Both commands work in any edition of Windows 10 and require no extra software.
Why the Command Matters
Windows 10 does not show your GPU model in the main Settings screen by default. Many users open Device Manager, but that lists the GPU under "Display adapters" in a way that can be confusing if you have integrated and dedicated graphics. The command-line approach gives you the exact model name, driver version, and sometimes even the VRAM amount in a single line. This is especially useful when you are troubleshooting game performance, checking driver compatibility, or verifying whether a laptop is using its discrete GPU.
The Two Main Commands Explained
There are two commands you will actually use, each with a different purpose.
- wmic path win32_VideoController get name – Returns just the GPU model name(s). Fast and clean.
- dxdiag – Opens the DirectX Diagnostic Tool, a graphical window that shows GPU name, manufacturer, driver date, and VRAM under the "Display" tab.
For a more detailed output, you can also run wmic path win32_VideoController get name,driverversion,adapterram to see the driver version and memory size. The adapterram field is not always accurate on modern GPUs with shared memory, so treat it as approximate.
How to Run the Command (Step by Step)
- Press Win + R to open the Run dialog.
- Type
cmdand press Ctrl+Shift+Enter to run Command Prompt as administrator (not strictly required for these commands, but recommended for full output). - Type
wmic path win32_VideoController get nameand press Enter. - Wait a few seconds – the GPU name(s) will appear below.
If you prefer PowerShell, the same command works there too. For dxdiag, just type it in the Run dialog and press Enter; the tool takes a few seconds to load and then shows a window with multiple tabs.
What the Output Means
When you run the WMIC command, you may see more than one line. This is normal on laptops with hybrid graphics – for example, an Intel UHD Graphics integrated chip and an NVIDIA GeForce RTX 3060 discrete card. The command lists both because Windows sees them as separate video controllers. The one that is actively rendering games is usually the discrete GPU, but the system can switch between them automatically. On a desktop with only one GPU, you will see just one line.
The dxdiag output is more verbose. Under the "Display" tab, you will see the GPU name, manufacturer, chip type, approximate total memory, and driver version. This is the most reliable way to check your driver date and version, which is essential when updating drivers manually.
Common Problems and Misconceptions
A frequent mistake is typing wmic without the full path. The command wmic alone opens a separate interactive shell, which can confuse beginners. Always use the full wmic path win32_VideoController get name syntax.
Another misconception is that the GPU name in Task Manager (Ctrl+Shift+Esc, then Performance tab) is always accurate. In older versions of Windows 10, Task Manager sometimes showed only the integrated GPU or mislabeled the dedicated one. The command-line method reads directly from the Windows Management Instrumentation (WMI) database, which is the same source that Device Manager uses, so it is generally more reliable.
If you get an error like "Invalid query" or "No Instance(s) Available," it usually means you mistyped the command or your system has a very old or unusual driver. Reinstall the GPU driver from the manufacturer's website, then try again.
Alternatives to the Command Line
If you prefer not to type commands, there are three built-in alternatives:
- Task Manager – Ctrl+Shift+Esc, go to the Performance tab, and click "GPU" on the left. It shows the name and utilization.
- Device Manager – Right-click the Start button, select Device Manager, and expand "Display adapters."
- Settings > System > Display > Advanced display settings – Shows the GPU name and display properties, but not driver version.
None of these give you the driver version as quickly as dxdiag, so for troubleshooting, the command line remains the best choice.
Safety and Accuracy Notes
Running these commands is completely safe – they only read system information and do not modify anything. You do not need to open your PC case or ground yourself. The only risk is if you copy-paste a command from an untrusted source that might include additional destructive commands. Always type the commands manually or copy from a reputable site.
Do not rely on the adapterram field for VRAM decisions, as it often reports shared memory values that are not the actual dedicated VRAM. For accurate VRAM, use dxdiag and look at "Display Memory (VRAM)" – but even that can be approximate on some laptops. The most accurate way to know your GPU's VRAM is to look up the model on the manufacturer's official spec sheet.
Frequently Asked Questions
Does the command work on Windows 11?
Yes, both wmic and dxdiag work identically on Windows 11. Microsoft has deprecated WMIC in newer builds, but it still functions in Windows 11 as of this writing. If it is removed in the future, you can use PowerShell's Get-CimInstance Win32_VideoController instead.
Why does my laptop show two GPUs in the command output?
That is normal for laptops with switchable graphics. The integrated GPU (Intel or AMD) handles basic tasks to save power, and the discrete GPU (NVIDIA or AMD) kicks in for gaming or heavy workloads. The command lists both because Windows sees them as separate controllers.
Can I use the command to check if my GPU is working properly?
No, the command only shows the name and driver version. It does not test performance or health. To check if the GPU is functioning, run a benchmark or a stress test, or look for error codes in Device Manager (a yellow triangle indicates a problem).
Is there a command to check GPU temperature?
No built-in command in Windows 10 shows GPU temperature. You need third-party software like MSI Afterburner or HWiNFO. The command line can only give you logical information, not sensor data.
What if the command returns "Invalid query"?
Check your spelling. The correct syntax is wmic path win32_VideoController get name. If you are in PowerShell, you may need to use Get-WmiObject win32_VideoController | Select-Object Name instead, as PowerShell treats wmic differently in some versions.
Can I see the GPU in the System Information tool?
Yes, you can run msinfo32 and expand "Components > Display" to see the GPU name and driver details. However, it is slower to navigate than the command line.