Skip to main content

WMIC COMMAND IN WINDOWS || GET PROCESSOR, DISK AND RAM INFORMATION USING CMD WMIC COMMAND

INTRODUCTION

The Windows Management Instrumentation Command-line (WMIC) is a powerful command-line tool in Windows that allows you to interact with WMI (Windows Management Instrumentation) to manage system settings and retrieve information about the operating system, hardware, and installed software.

Here are some common usages of the WMIC command:

1. Get System Information:

wmic os get caption, version, osarchitecture

This retrieves the operating system's name, version, and architecture.

2. List Installed Software:

wmic product get name, version

This shows a list of installed programs along with their versions.

3. Get CPU Information:

wmic cpu get name, numberofcores, maxclockspeed

4. Get Disk Drive Information:

wmic diskdrive get model, size

5. Check hard drive status:

wmic diskdrive get status

6. Get Network Adapter Information:

wmic nic get name, macaddress

7. Get Running Processes:

wmic process get name, processid

8. Shut Down the System:

wmic os shutdown

9. Check System Uptime:

wmic os get lastbootuptime

10. Retrive Memory Information

wmic memorychip get BankLabel, Capacity, DeviceLocator, MemoryType, TypeDetail, Speed, Manufacturer, SerialNumber


Explanation of Parameters:

  • BankLabel: The bank label or slot where the memory module is installed.
  • Capacity: The capacity of the memory module in bytes.
  • DeviceLocator: The physical slot on the motherboard where the memory is installed.
  • MemoryType: The type of memory, such as DDR, DDR2, DDR3, etc. (Note: The raw numeric value is returned. For example, 24 = DDR3).
  • TypeDetail: Detailed information about the memory type.
  • Speed: The speed of the memory in MHz.
  • Manufacturer: The manufacturer of the memory module.
  • SerialNumber: The serial number of the memory module.
If you'd like all available memory-related information, you can run:

wmic memorychip list full

Memory Type Code


0Unknown
- if unkown, try smbiosmemorytype
1Other
2DRAM
3Synchronous DRAM (SDRAM)
4Cache DRAM
5EDO (Extended Data Out)
6EDRAM
7VRAM
8SRAM
9RAM
10ROM
11Flash
12EEPROM
13FEPROM
14EPROM
15CDRAM
163DRAM
17SDRAM
18SGRAM
19RDRAM
20DDR (Double Data Rate)
21DDR2
22DDR2 FB-DIMM
24DDR3
25FBD2
26DDR4
27DDR5 (Double Data Rate 5)
28LPDDR (Low Power Double Data Rate)
29LPDDR5 (Low Power Double Data Rate 5)


Form Factor Codes

0Unknown
-If WMIC returns FormFactor Code 0 ("Unknown") when trying to retrieve memory information, it indicates that Windows was unable to detect or report the form factor of the memory module
1Other
2SIP (Single In-line Package)
3DIP (Dual In-line Package)
4ZIP (Zig-zag In-line Package)
5SOJ (Small Outline J-lead)
6Proprietary
7SIMM (Single In-line Memory Module)
8DIMM (Dual In-line Memory Module)
9TSOP (Thin Small Outline Package)
10PGA (Pin Grid Array)
11RIMM
12SODIMM (Small Outline DIMM)
13SRIMM
14SMD (Surface-Mount Device)
15SSMP (Small Scale Package)
16QFP (Quad Flat Package)
17TQFP (Thin Quad Flat Package)
18SOIC (Small Outline Integrated Circuit)
19LCC (Leadless Chip Carrier)
20PLCC (Plastic Leaded Chip Carrier)
21BGA (Ball Grid Array)
22FPBGA (Fine-Pitch Ball Grid Array)
23LGA (Land Grid Array)

Conclusion

WMIC is a powerful tool for managing various system aspects via scripts or command line, but it was deprecated in Windows 10 version 21H1 and is recommended to be replaced by PowerShell equivalents for newer systems.

Comments

Popular posts from this blog

ACTIVATING MS OFFICE WITHOUT KEY

Step1 Open cmd as admin Step2 copy office directory Step3  Go to office directory, type cd on cmd then paste the office directory you copied e.g., for a 64-bit machine it will look like this. cd C:\Program Files (x86)\Microsoft Office\Office16 Step4 Type in the following commands into cmd then hit enter after every command: cscript ospp.vbs /inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99 cscript ospp.vbs /unpkey:BTDRB >nul cscript ospp.vbs /unpkey:KHGM9 >nul cscript ospp.vbs /unpkey:CPQVG >nul cscript ospp.vbs /sethst:kms8.msguides.com cscript ospp.vbs /setprt:1688 cscript ospp.vbs /act METHOD 2 Copy script https://gist.github.com/amitbd1508/fe64e926005c85d424e8e79a943b3b60 @echo off title Activate Microsoft Office 2019 (ALL versions) for FREE - MSGuides.com&cls&echo =====================================================================================&echo #Project: Activating Microsoft software products for FREE without additional software&echo =========================

WINDOWS 7,8,10 Activator

Copy and paste into your notepad and save it with a .bat extension. Disable your windows security or antivirus then run it as administrator to activate your windows. @echo off title Windows 10 ALL version activator&cls&echo ************************************ &echo Supported products:&echo - Windows 10 Home&echo - Windows 10 Professional&echo - Windows 10 Enterprise, Enterprise LTSB&echo - Windows 10 Education&echo.&echo.&echo ************************************ &echo Windows 10 activation... cscript //nologo c:\windows\system32\slmgr.vbs /ipk TX9XD-98N7V-6WMQ6-BX7FG-H8Q99 >nul cscript //nologo c:\windows\system32\slmgr.vbs /ipk 3KHY7-WNT83-DGQKR-F7HPR-844BM >nul cscript //nologo c:\windows\system32\slmgr.vbs /ipk 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH >nul cscript //nologo c:\windows\system32\slmgr.vbs /ipk PVMJN-6DFY6-9CCP6-7BKTT-D3WVR >nul cscript //nologo c:\windows\system32\slmgr.vbs /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX >nul cscrip

HOW TO ACTIVATE WINDOWS 10 USING CMD

  Don't have the original windows product key?  Follow the steps below. You must be connected to the internet to work. Don't forget to subscribe to my YouTube channel  here Video Tutorial Please note, DON NOT include the quotation marks, i.e "" have used them to show the beginning and end of the commands. Step 1: Open cmd as admin Step 2: Install KMS client key Use the command “slmgr /ipk your license key ” to install a license key (your license key is the activation key that corresponds to your Windows edition).  The following is the list of Windows 10 Volume license keys. Home: TX9XD-98N7V-6WMQ6-BX7FG-H8Q99 Home N: 3KHY7-WNT83-DGQKR-F7HPR-844BM Home Single Language: 7HNRX-D7KGG-3K4RQ-4WPJ4-YTDFH Home Country Specific: PVMJN-6DFY6-9CCP6-7BKTT-D3WVR Professional: W269N-WFGWX-YVC9B-4J6C9-T83GX Professional N: MH37W-N47XK-V7XM9-C7227-GCQG9 Education: NW6C2-QMPVW-D7KKK-3GKT6-VCFB2 Education N: 2WH4N-8QGBV-H22JP-CT43Q-MDWWJ Enterprise: NPPR9-FWDCX-D2C8J-H872K-2YT43 Enterp