search
HomeCommon ProblemHow 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 systemcommand 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
  • Send properties to better see CPU-specific details.
wmic cpu get caption, name, deviceid, numberofcores, maxclockspeed, status
  • Get the serial number of our BIOS.
wmic bios get serialnumber
  • Collect information about available memory (RAM).
wmic computersystem get totalphysicalmemory
  • Get information about all available partitions on the system.
wmic partition get name,size,type
  • Get a list of all processes running on our computer.
wmic process list
  • You can terminate these tasks using the following command.
wmic process where name="name_of_file" call terminate
  • This command provides a list of all products/software installed on the computer.
wmic product
wmic product get name,version
  • Command that provides detailed information about a specific volume of a disc and the serial number of that disc volume.
vol volume_letter:
如何在 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
  • Get a list of all large and harmful files.
chkdsk
  • Use this command to get detailed system information.
systeminfo
如何在 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
  • Get Mac address.
wmic nic get macaddress 
getmac
  • Get information about the user account.
wmic USERACCOUNT get Caption,Name,PasswordRequired,Status
  • Get information about NIC.
wmic NIC get Description,MACAddress,NetEnabled,Speed
  • Get Memory Device DIMM Number
wmic MEMORYCHIP get Capacity,DeviceLocator,PartNumber,Tag

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
This article is reproduced at:云东方. If there is any infringement, please contact admin@php.cn delete

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

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor