Solved Intel 13th gen CPUs: How to get CPU core temperatures instantly via command-line?


MKANET

Member
Local time
8:54 PM
Posts
51
OS
Windows 11
I can't seem to find any way to access CPU core temperatures via Windows 11 command-line, certainly not natively. Below are all the failed solutions I've tried so far:
I'm just looking for a solution that can return CPU core temps instantly to command-line after a query. I'm willing to try any reasonable solution.
 
Windows Build/Version
Windows 11 Version 22H2 OS Build 22621.1848
Last edited:

My Computer

System One

  • OS
    Windows 11
There is this thread over at Stack Overflow that might be of interest to you.


or

 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2 26100.3025
    Computer type
    PC/Desktop
    Manufacturer/Model
    Homebuilt
    CPU
    Intel Core i9 13900K
    Motherboard
    Asus ProArt Z790 Creator WiFi - Bios 2703
    Memory
    Corsair Dominator Platinum 64gb 5600MT/s DDR5 Dual Channel
    Graphics Card(s)
    Sapphire NITRO+ AMD Radeon RX 7900 XTX Vapor-X 24GB
    Sound Card
    External DAC - Headphone Amplifier: Cambridge Audio DACMagic200M
    Monitor(s) Displays
    Panasonic MX950 Mini LED 55" TV 120hz
    Screen Resolution
    3840 x 2160 120hz
    Hard Drives
    Samsung 980 Pro 2TB (OS)
    Samsung 980 Pro 1TB (Files)
    Lexar NZ790 4TB
    LaCie d2 Professional 6TB external - USB 3.1
    Seagate One Touch 18TB external HD - USB 3.0
    PSU
    Corsair RM1200x Shift
    Case
    Corsair RGB Smart Case 5000x (white)
    Cooling
    Corsair iCue H150i Elite Capellix XT
    Keyboard
    Logitech K860
    Mouse
    Logitech MX Ergo Trackball
    Internet Speed
    Fibre 900/500 Mbps
    Browser
    Microsoft Edge Chromium
    Antivirus
    Bitdefender Total Security
    Other Info
    AMD Radeon Software & Drivers 24.12.1
    AOMEI Backupper Pro
    Dashlane password manager
    Logitech Brio 4K Webcam
    Orico 10-port powered USB 3.0 hub
  • Operating System
    Windows 11 Pro 24H2 26100.2894
    Computer type
    Laptop
    Manufacturer/Model
    Asus Vivobook X1605VA
    CPU
    Intel® Core™ i9-13900H
    Motherboard
    Asus X1605VA bios 309
    Memory
    32GB DDR4-3200 Dual channel
    Graphics card(s)
    *Intel Iris Xᵉ Graphics G7 (96EU) 32.0.101.6078
    Sound Card
    Realtek | Intel SST Bluetooth & USB
    Monitor(s) Displays
    16.0-inch, WUXGA 16:10 aspect ratio, IPS-level Panel
    Screen Resolution
    1920 x 1200 60hz
    Hard Drives
    512GB M.2 NVMe™ PCIe® 3.0 SSD
    Other Info
    720p Webcam
There is this thread over at Stack Overflow that might be of interest to you.


or


Thank; but, wmic doesn't return cpu core temps; only the general motherboard temperature. I'll update my OP to include wmic as another one of my failed attempts.
 

My Computer

System One

  • OS
    Windows 11
Good luck finding someone who knows the answer to this. I have a Intel 13th gen CPU but have no need to read the temps from the command line.

Perhaps someone on a specialist programming\scripting forum may know the answer.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2 26100.3025
    Computer type
    PC/Desktop
    Manufacturer/Model
    Homebuilt
    CPU
    Intel Core i9 13900K
    Motherboard
    Asus ProArt Z790 Creator WiFi - Bios 2703
    Memory
    Corsair Dominator Platinum 64gb 5600MT/s DDR5 Dual Channel
    Graphics Card(s)
    Sapphire NITRO+ AMD Radeon RX 7900 XTX Vapor-X 24GB
    Sound Card
    External DAC - Headphone Amplifier: Cambridge Audio DACMagic200M
    Monitor(s) Displays
    Panasonic MX950 Mini LED 55" TV 120hz
    Screen Resolution
    3840 x 2160 120hz
    Hard Drives
    Samsung 980 Pro 2TB (OS)
    Samsung 980 Pro 1TB (Files)
    Lexar NZ790 4TB
    LaCie d2 Professional 6TB external - USB 3.1
    Seagate One Touch 18TB external HD - USB 3.0
    PSU
    Corsair RM1200x Shift
    Case
    Corsair RGB Smart Case 5000x (white)
    Cooling
    Corsair iCue H150i Elite Capellix XT
    Keyboard
    Logitech K860
    Mouse
    Logitech MX Ergo Trackball
    Internet Speed
    Fibre 900/500 Mbps
    Browser
    Microsoft Edge Chromium
    Antivirus
    Bitdefender Total Security
    Other Info
    AMD Radeon Software & Drivers 24.12.1
    AOMEI Backupper Pro
    Dashlane password manager
    Logitech Brio 4K Webcam
    Orico 10-port powered USB 3.0 hub
  • Operating System
    Windows 11 Pro 24H2 26100.2894
    Computer type
    Laptop
    Manufacturer/Model
    Asus Vivobook X1605VA
    CPU
    Intel® Core™ i9-13900H
    Motherboard
    Asus X1605VA bios 309
    Memory
    32GB DDR4-3200 Dual channel
    Graphics card(s)
    *Intel Iris Xᵉ Graphics G7 (96EU) 32.0.101.6078
    Sound Card
    Realtek | Intel SST Bluetooth & USB
    Monitor(s) Displays
    16.0-inch, WUXGA 16:10 aspect ratio, IPS-level Panel
    Screen Resolution
    1920 x 1200 60hz
    Hard Drives
    512GB M.2 NVMe™ PCIe® 3.0 SSD
    Other Info
    720p Webcam
Good luck finding someone who knows the answer to this. I have a Intel 13th gen CPU but have no need to read the temps from the command line.

Perhaps someone on a specialist programming\scripting forum may know the answer.
I think you're right. Every single google search result points me to other people asking the same question without a solution. It used to be possible with my older PC; just not my new one.
 

My Computer

System One

  • OS
    Windows 11
I think you're right. Every single google search result points me to other people asking the same question without a solution. It used to be possible with my older PC; just not my new one.
Out of curiosity...why dyou wanna do this via the command line? No fuss just curious is all
 

My Computer

System One

  • OS
    11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    10700k@5.2
    Motherboard
    Gigabyte Gaming X Z490
    Memory
    Viper Steelseries 32gb@ 3600mhz
    Graphics Card(s)
    Gigabyte 2070 Super 8GB, +200 core + 600 memory
    Monitor(s) Displays
    ASUS 4k HDR, Two 1080p Benq and Samsung
    Screen Resolution
    3840x2160/2560x1440/1920x1080
    Hard Drives
    Adata XPG SX8200 PRO 1tb
    Samsung EVO 870 500GB
    PSU
    Corsair RX 650
    Case
    NZXT h510
    Cooling
    CM HYPER 212 RGB
    Keyboard
    Razer Ornata Chroma
    Mouse
    Steelseries Rival 710
I think you're right. Every single google search result points me to other people asking the same question without a solution. It used to be possible with my older PC; just not my new one.

Have you tried here? Perhaps a guru on things Intel might know...

https://community.intel.com/
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2 26100.3025
    Computer type
    PC/Desktop
    Manufacturer/Model
    Homebuilt
    CPU
    Intel Core i9 13900K
    Motherboard
    Asus ProArt Z790 Creator WiFi - Bios 2703
    Memory
    Corsair Dominator Platinum 64gb 5600MT/s DDR5 Dual Channel
    Graphics Card(s)
    Sapphire NITRO+ AMD Radeon RX 7900 XTX Vapor-X 24GB
    Sound Card
    External DAC - Headphone Amplifier: Cambridge Audio DACMagic200M
    Monitor(s) Displays
    Panasonic MX950 Mini LED 55" TV 120hz
    Screen Resolution
    3840 x 2160 120hz
    Hard Drives
    Samsung 980 Pro 2TB (OS)
    Samsung 980 Pro 1TB (Files)
    Lexar NZ790 4TB
    LaCie d2 Professional 6TB external - USB 3.1
    Seagate One Touch 18TB external HD - USB 3.0
    PSU
    Corsair RM1200x Shift
    Case
    Corsair RGB Smart Case 5000x (white)
    Cooling
    Corsair iCue H150i Elite Capellix XT
    Keyboard
    Logitech K860
    Mouse
    Logitech MX Ergo Trackball
    Internet Speed
    Fibre 900/500 Mbps
    Browser
    Microsoft Edge Chromium
    Antivirus
    Bitdefender Total Security
    Other Info
    AMD Radeon Software & Drivers 24.12.1
    AOMEI Backupper Pro
    Dashlane password manager
    Logitech Brio 4K Webcam
    Orico 10-port powered USB 3.0 hub
  • Operating System
    Windows 11 Pro 24H2 26100.2894
    Computer type
    Laptop
    Manufacturer/Model
    Asus Vivobook X1605VA
    CPU
    Intel® Core™ i9-13900H
    Motherboard
    Asus X1605VA bios 309
    Memory
    32GB DDR4-3200 Dual channel
    Graphics card(s)
    *Intel Iris Xᵉ Graphics G7 (96EU) 32.0.101.6078
    Sound Card
    Realtek | Intel SST Bluetooth & USB
    Monitor(s) Displays
    16.0-inch, WUXGA 16:10 aspect ratio, IPS-level Panel
    Screen Resolution
    1920 x 1200 60hz
    Hard Drives
    512GB M.2 NVMe™ PCIe® 3.0 SSD
    Other Info
    720p Webcam
Out of curiosity...why dyou wanna do this via the command line? No fuss just curious is all
I'm glad you asked! Home Assistant. Besides, its ability to control any smarthome device, it can also display information/status from any system with an API or command-line in a highly customizable interface. It's particularly useful for people who host (and monitor) several different unlike systems.
 

My Computer

System One

  • OS
    Windows 11
- note that the sensor data is accessed directly and not using Rainmeter

Code:
reg query HKEY_CURRENT_USER\SOFTWARE\HWiNFO64\VSB > c:\Temp\HWINFO.TXT
$file_data = Get-Content c:\Temp\HWINFO.TXT
$a = "<"
$b = ">"
$d = $a+$file_data[5]+$b
$e = $a+$file_data[20]+$b
$d = ($d).Replace("    ValueRaw","s")
$e = ($e).Replace("    ValueRaw","s")
$d
<s0    REG_SZ    35>
$e
<s3    REG_SZ    975>
$port= new-Object System.IO.Ports.SerialPort COM6,9600,None,8,one
$port.open()
$port.Write($d)
$port.Write($e)
$port.Close()
 

Attachments

  • PowerShellSession.jpg
    PowerShellSession.jpg
    77.8 KB · Views: 2

My Computers

System One System Two

  • OS
    Win 11, Win 10, Linux Mint 21.3
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    i5-11400
    Motherboard
    Gigabyte B560M DS3H
    Memory
    32GB Crucial RAM DDR4
    Graphics Card(s)
    none
    Sound Card
    Custom USB DAC (PCM5102A + STM32F411)
    Monitor(s) Displays
    32" Telefunken
    Screen Resolution
    1920x1080
    Hard Drives
    4 TB WD HDD
    1 TB WD SSD
    500 GB WD NVME
    500 GB Crucial P5 (OS's)
    PSU
    Corsair 550W
    Case
    ATX
    Cooling
    Fan
    Keyboard
    Genius
    Mouse
    Logitech
    Internet Speed
    4G/5G
    Browser
    Firefox
    Antivirus
    Defender
  • Operating System
    Win 10 Win 11 Linux Mint 21.3 Debian 12.5
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home
    CPU
    i5-12400
    Motherboard
    Gigabyte B660M D3H
    Memory
    32 GB DDR4
    Graphics card(s)
    none
    Sound Card
    USB DAC (Custom)
    Monitor(s) Displays
    27"
    Screen Resolution
    1920x1080
    Hard Drives
    4 TB WD HDD
    2 x 500 GB WD NVME
    PSU
    Corsair 550W
    Case
    Cooler Master
    Cooling
    Fan
    Mouse
    Logitec
    Keyboard
    Genius
    Internet Speed
    4G/5G
    Browser
    Firefox
    Antivirus
    Defender
- note that the sensor data is accessed directly and not using Rainmeter

Code:
reg query HKEY_CURRENT_USER\SOFTWARE\HWiNFO64\VSB > c:\Temp\HWINFO.TXT
$file_data = Get-Content c:\Temp\HWINFO.TXT
$a = "<"
$b = ">"
$d = $a+$file_data[5]+$b
$e = $a+$file_data[20]+$b
$d = ($d).Replace("    ValueRaw","s")
$e = ($e).Replace("    ValueRaw","s")
$d
<s0    REG_SZ    35>
$e
<s3    REG_SZ    975>
$port= new-Object System.IO.Ports.SerialPort COM6,9600,None,8,one
$port.open()
$port.Write($d)
$port.Write($e)
$port.Close()
Thank you. At least there is A solution. However, I'm hoping to find a solution that doesn't involve writing to disk unnecessarily 24/7 just to be able to read this data. HWInfo had a RESTful API webserver which would have been perfect if it still worked.
 

My Computer

System One

  • OS
    Windows 11
Try this code in batch file not sure it gets the correct temperature.

Code:
for /f "skip=1 tokens=2 delims==" %%A in ('wmic /namespace:\\root\wmi PATH MSAcpi_ThermalZoneTemperature get CurrentTemperature /value') do set /a "HunDegCel=(%%~A*10)-27315"
echo CPU Temperature %HunDegCel:~0,-2%.%HunDegCel:~-2% Degrees Celsius
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
Try this code in batch file not sure it gets the correct temperature.

Code:
for /f "skip=1 tokens=2 delims==" %%A in ('wmic /namespace:\\root\wmi PATH MSAcpi_ThermalZoneTemperature get CurrentTemperature /value') do set /a "HunDegCel=(%%~A*10)-27315"
echo CPU Temperature %HunDegCel:~0,-2%.%HunDegCel:~-2% Degrees Celsius
[/QUOTE]
Thanks, but wmic doesn't have access to the CPU core temps, only a general motherboard temp sensor.
 

My Computer

System One

  • OS
    Windows 11
Thank you. At least there is A solution. However, I'm hoping to find a solution that doesn't involve writing to disk unnecessarily 24/7 just to be able to read this data. HWInfo had a RESTful API webserver which would have been perfect if it still worked.
- note that the sensor data is accessed directly and not using Rainmeter

Code:
reg query HKEY_CURRENT_USER\SOFTWARE\HWiNFO64\VSB > c:\Temp\HWINFO.TXT
$file_data = Get-Content c:\Temp\HWINFO.TXT
$a = "<"
$b = ">"
$d = $a+$file_data[5]+$b
$e = $a+$file_data[20]+$b
$d = ($d).Replace("    ValueRaw","s")
$e = ($e).Replace("    ValueRaw","s")
$d
<s0    REG_SZ    35>
$e
<s3    REG_SZ    975>
$port= new-Object System.IO.Ports.SerialPort COM6,9600,None,8,one
$port.open()
$port.Write($d)
$port.Write($e)
$port.Close()

I finally figured out a great solution! I initially thought that HWInfo Restful web server was obsolete. I didn't bother trying it since it was developed back in 2013. It works great; and, doesn't require writing unnecessarily to the disk/windows registry. It's all done cleanly in memory. It also supports other utilities too.
 

Attachments

  • RemoteSensorMonitor.png
    RemoteSensorMonitor.png
    75.7 KB · Views: 7

My Computer

System One

  • OS
    Windows 11
Back
Top Bottom