Table of Contents
How to use wmic to obtain system information?
Home Common Problem How to use wmic on Windows to get information about your system

How to use wmic on Windows to get information about your system

May 05, 2023 am 08:55 AM
windows system command prompt

Although many people think that collecting system information can only be done on Linux. However, this can also be done using the command prompt on Windows operating systems.

Some commands are required to achieve your purpose, and to execute all these commands, you need to run the command prompt as administrator to access the system information.

We'll be using the wmic command in case you were wondering, so stay tuned to see what exactly you're trying to do.

Windows Management Instrumentation Command Line (WMIC) is a command line and scripting interface that simplifies the use of Windows Management Instrumentation (WMI) and systems managed through WMI.

How to use wmic to obtain system information?

Before we list the commands you need to use in order to access this information, you must first open a command prompt with administrator privileges.

Only then will your system display the requested information, so keep this in mind when trying this.

  1. Press the Windows key, search for Command Prompt, and select Run as administrator. 如何在 Windows 上使用 wmic 获取有关系统的信息
  2. Type the desired command and press Enter. 如何在 Windows 上使用 wmic 获取有关系统的信息

After opening the application with administrator rights, it’s time to use one of the following commands to get the information you need, depending on the purpose:

  • Collect information about All information about the CPU, such as name, device ID, number of cores, maximum clock speed, and status.
wmic cpu
Copy after login
  • Send properties to better see CPU-specific details.
wmic cpu get caption, name, deviceid, numberofcores, maxclockspeed, status
Copy after login
  • Get the serial number of our BIOS.
wmic bios get serialnumber
Copy after login
  • Collect information about available memory (RAM).
wmic computersystem get totalphysicalmemory
Copy after login
  • Get information about all available partitions on the system.
wmic partition get name,size,type
Copy after login
  • Get a list of all processes running on our computer.
wmic process list
Copy after login
  • You can terminate these tasks using the following command.
wmic process where name="name_of_file" call terminate
Copy after login
  • This command provides a list of all products/software installed on the computer.
wmic product
Copy after login
wmic product get name,version
Copy after login
  • Command that provides detailed information about a specific volume of a disc and the serial number of that disc volume.
vol volume_letter:
Copy after login
如何在 Windows 上使用 wmic 获取有关系统的信息
Notes You must replace volume_letter with the letter of the volume you wish to use.
  • Get the exact version of your Windows operating system.
winver
Copy after login
  • Get a list of all large and harmful files.
chkdsk
Copy after login
  • Use this command to get detailed system information.
systeminfo
Copy after login
如何在 Windows 上使用 wmic 获取有关系统的信息
Notes This will bring back information about hostname, OS name, OS version, OS manufacturer, OS configuration, OS build type, registered owner, product ID , original installation date, BIOS version, processor, input locale, time zone and other information.
  • Get detailed information about the hard drive.
diskpart
Copy after login
  • Get Mac address.
wmic nic get macaddress 
Copy after login
getmac
Copy after login
  • Get information about the user account.
wmic USERACCOUNT get Caption,Name,PasswordRequired,Status
Copy after login
  • Get information about NIC.
wmic NIC get Description,MACAddress,NetEnabled,Speed
Copy after login
  • Get Memory Device DIMM Number
wmic MEMORYCHIP get Capacity,DeviceLocator,PartNumber,Tag
Copy after login

These are the commands you can use in the command prompt to access your system information and get the necessary details.

Please remember to run the software with administrator rights, otherwise you will not be able to access certain information.

The above is the detailed content of How to use wmic on Windows to get information about your system. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to disable driver signature enforcement in Windows 11 How to disable driver signature enforcement in Windows 11 May 20, 2023 pm 02:17 PM

Microsoft has built several security features into Windows to ensure your PC remains secure. One of them is driver signature enforcement in Windows 11. When this feature is enabled, it ensures that only drivers digitally signed by Microsoft can be installed on the system. This helps most of the users to a great extent as it protects them. But there is a downside to enabling driver signature enforcement. Suppose you find a driver that works for your device, but it is not signed by Microsoft, although it is completely safe. But you won't be able to install it. Therefore, you must know how to disable driver signing in Windows 11

4 Ways to Enable or Disable Microsoft Store on Windows 11 or 10 4 Ways to Enable or Disable Microsoft Store on Windows 11 or 10 May 14, 2023 am 10:46 AM

Here are some possible reasons why you need to disable Microsoft Store: Stop unwanted notifications. Preserves data by limiting the background processes of the Microsoft Store to improve security or privacy Addresses some issues related to the Store or the apps it installs. Restrict children, family members, or other users from downloading applications without permission. Steps to Disable or Enable Windows Store Before following this tutorial, disabling the Microsoft Store will also stop the installation of any apps that require its services. To use the store, users need to enable its service in the same way as blocking it. 1. Block WindowsStore background service Let us from restricting Microsoft Store as

How to fix Windows 11 activation error 0xc004c060 How to fix Windows 11 activation error 0xc004c060 May 17, 2023 pm 08:47 PM

Why am I encountering Windows 11 activation error 0xc004c060? First make sure you are using genuine Windows and that the license key is valid. Also, check if it was obtained from an official source and if the key is suitable for the installed OS version. If there is an issue with any of these, you may encounter Windows 11 activation error 0xc004c060. So be sure to verify these and if you find everything is in order, move on to the next section. If you obtained the key through unreliable means or believe that the installed copy is a pirated version, you will need to purchase a valid key from Microsoft. In addition to this, misconfigured settings, missing

0x80010105: How to fix this Windows update error 0x80010105: How to fix this Windows update error May 17, 2023 pm 05:44 PM

Microsoft regularly releases Windows updates to improve functionality or increase the security of the operating system. You can ignore some of these updates, but it's important to always install security updates. While installing these updates, you may encounter error code; 0x80010105. An unstable connection usually causes most update errors, and once the connection is reestablished you're good to go. However, some require more technical troubleshooting, such as the 0x80010105 error, which is what we will see in this article. What causes WindowsUpdate error 0x80010105? This error may occur if your computer has not been updated in a while. Some users may have permanently disabled W for their reasons

How to fix runtime error 339 on Windows 11/10 How to fix runtime error 339 on Windows 11/10 May 13, 2023 pm 11:22 PM

There can be several reasons why runtime error 339 occurs when running a program. Some of them may be that some ocx or dll files are missing, damaged or the dll or ocx is not registered. This would be an annoying experience for the smooth execution of the application. Here are some of the possible error messages you may see for Runtime Error 339 Error – Runtime Error 339: Component DUZOCX32.OCX is not registered correctly or the file is missing. Error – Runtime Error 339. Component MSMASK32.ocx or one of its dependencies is not registered correctly; the file is missing or invalid. Error – Runtime Error '339': Component 'FM20.DLL' or one of its dependencies was not correctly noted

5 Ways to Disable Delivery Optimization Service in Windows 5 Ways to Disable Delivery Optimization Service in Windows May 17, 2023 am 09:31 AM

There are many reasons why you might want to disable the Delivery Optimization service on your Windows computer. However, our readers complained about not knowing the correct steps to follow. This guide discusses how to disable the Delivery Optimization service in a few steps. To learn more about services, you may want to check out our How to open services.msc guide for more information. What does Delivery Optimization Service do? Delivery Optimization Service is an HTTP downloader with cloud hosting solution. It allows Windows devices to download Windows updates, upgrades, applications and other large package files from alternative sources. Additionally, it helps reduce bandwidth consumption by allowing multiple devices in a deployment to download these packages. In addition, Windo

How to disable display scaling for high DPI settings in Windows 11 or 10 How to disable display scaling for high DPI settings in Windows 11 or 10 May 22, 2023 pm 10:11 PM

The default display scaling feature on Windows 10 or later is a core component of the Windows operating system. But sometimes, this feature of certain apps can cause compatibility issues, unreadable text, blurry logos, and ultimately, app crashes. This can be a huge headache if you're dealing with 2160p or higher resolutions. There are many ways to disable the default display scaling feature on high DPI settings. We've selected the best ones and detailed step-by-step instructions for each process. How to Disable Display Scaling on High DPI Settings There is a way, all you have to do is disable high DPI scaling for a single application, and there is a way to do it for the entire Window

How to disable core parking on Windows 10 How to disable core parking on Windows 10 May 16, 2023 pm 01:07 PM

If you are a Windows user and want to disable the core parking functionality in your system, this article will guide you through the process. What is core parking? The core parking function is a power saving mechanism. It puts some of your processors into a sleep mode that doesn't perform any tasks and consumes very little or no power. This helps reduce energy consumption and therefore heat in the system. These cores are unparked when needed. Few users need to disable this feature, especially gamers. Disabling this feature will improve your system performance. Disable Windows Core Parking using Windows Registry Editor Step 1: Use Windows + R keys simultaneously to open the run prompt. Step 2: At the run prompt