Electrical-Forenics Home ray@RayFranco.com                       601.529.7473
   © Dr. Ray Franco, PhD, PE  -  208 Fairways Dr., Vicksburg, MS 39183

Retrive 25 Digit Windows Product Key

To retrive the 25 digit product key for Micosoft Windows 7, 8 or 10, in the search bar, type:

cmd

At the command prompt, type:

wmic path softwarelicensingservice get oa3xoriginalproductkey

Or from the search bar, type:

powershell

(get-wmiobject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey

References

Software Licensing Management Tool (slmgr)

I purchased a HP Elitedesk mini G6 i7-10700T from Ebay in Sept 2023. The first time, I booted the system, it started installing Micosoft Windows 11. I am not sure if it installed the Pro, Enterprise or IoT Enterprise.

After running a few performance benchmarks, I wanted to do a clean install of Windows 11 Pro. I used the same USB thumb drive that I had used numerious times before, but this time, at the very beginning, it prompted me for a 25-digit product key. I exited out of the install program. I retrived the 25-digit product key in the UEFI/BIOS and tried again to do a clean install of Windows Pro 11. When I entered the 25-digit product key, it said that the entered key did not match any Windows OS that were available for downloading.

I contacted the ebay seller and asked how to do a clean install of Windows 11 Pro. The seller sent me a screenshot from a "message" on their iPhone. The message consisted of the three instructions below. Having never used the slmgr command before, I looked at some of references, and added comments to the three instructions:

Change the Product Key:

slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX

Set the Volume Licensing Key Management Sevice (KMS) server and/or the port used KMS activation:

slmgr /skms kms8.msguide.com

Activate Windows license and product key against Microsoft server:

slmgr /ato

In Microsoft's article on KMS [4], I learned that the above 25-digit product key is Microsoft's (Semi-Annual) Generic Volume Liciensing Key for Windows 11 Pro. To use this key, there has to be KMS server on your local network. Futhermore, I believe that this liciense has to be vertified against the local KMS server every six months.

The seller is obviously not technical and because the seller sent me a screenshot of a message on thier iPhone, I believe the seller is getting help from an IT person. The seller said that at one time, they were the CFO of an engineering company.

I did finally manage to do a clean install of Windows Pro 11 using my USB thumb drive. You can do this in two ways. When it prompts for the product key, enter the above Generic key or click on the button, you do not have a product key. In either case, it will install Windows 11 Pro, but it will not be activated. If I activated with the 25-digit product key that was (is) in the UEFI/BIOS, it will activate, but the OS will change from Windows 11 Pro to WIndows 11 Iot Enterprise.

The good news, is that when I check the expiration with the folowing command:

slmgr /xpr

It says indefinate.

I beleive that an Enterprise edition of Windows 11 was installed on this pc, and it may not be possible to now recover the old 25-digit product key.

References:

  1. Lifewire - How to Use the Slmgr Command in Windows
  2. How-To-Greek - How to Use Slmgr to Change, Remove, or Extend Your Windows License
  3. How to Use Slmgr to View, Install, Uninstall, Activate, or Extend Your Windows License
  4. Microsoft - Key Management Services (KMS) client activation and product keys
  5. Microsoft - Downgrade from Enterprise to Pro
  6. Generic Windows 11 Product Keys and How to Retrieve Windows 11 Product keys
  7. Microsoft - How to make clean install of Windows 11

HP 800 mini G4 (2018)

G44CB16UT#ABAMXL92030CNNVCCM-RJ7DT-GGVF3-HG248-82QGP
G44CB16UT#ABAMXL92030F847J4N-YTYDD-D22PJ-BPT96-6F4C2
G44CB16UT#ABAMXL94641F2WVG4N-HGW7G-4GP83-T7H3M-MY49C
G620J48UT#ABAMXL12840BHYQNPW-HBJKW-MKCMC-DHDGJ-Q7CMQ

SSD Tests

Solid State Disk (SSD) and Hard Drives can determine their own health. Build into them is, Self-Monitoring, Analysis, and Reporting Technology (SMART). HP's computer have diagnostics build into the BIOS. The SSD on one of the HP mini 800 G4's I purchase off of Ebay reported that the SMART SSD failed.

To view primative SMART data with the Windows OS, from the command line:

wmic diskdrive get status

To view detailed SMART data use the free program, CrystalDiskInfo.

References:

 

Crystal Disk Mark:

Crystal Disk Mark only runs on Microsoft Windows OS. However, if you are dual-drive, dual boot, it can check both drives.

 GenSeq. Read 1 Seq. Write 1 Seq. Read 2 Seq. Write 2 Ran. Read 1 Ran. Write 1 Ran. Read 2 Ran. Write 2
MZVL2256HCHQ Samsung $304x4 3,5322,6633,5232,6541,2116736097
WD Gen 3x43.4652,5891,9432,13055525051180
Samsung 9803x4 3,1662,2681,3812,15947538953120
WD Gen #13x21,7281,2961,7341,29487561244118
Old 128 3x43,222721254370457838942100
WD 570 4x43,5532,4872,5152,43952943151136

 

Samsung Magician

Serial NumDescriptionSequential ReadSequential WriteRandom ReadRandom Write
$35 New 980 Gen 3x43,1662,250159,179113,769
MXL94641F2WD Gen 3x2 1,7301,302157,470115,722
MXL92030CNold 128GB Gen 3x42,984169163,08535,400

Dual Channel Ram

DDR - Double Data Rate

One of the three HP mini 800 G4's I purchased from Ebay only had one 16 GB memory card. THe HP G4 supports duel channel memory. When I run the bios diagnostic short memory test, it takes 11 minutes to complete - compared to 6.5 minutes for the G4's with two memory cards. All of the memory cards were 2400 instead of 2666. That is an 11 percent decrease in performance.

Computer Type Size Speed Time
HP 800 mini G4 Dual 16 GB 2666 SA2-11 6:38
HP 800 mini G4 Dual 16 GB 2400T SA1-11 6:51
HP 800 mini G4 Dual 16 GB 3200 cl 22 7:58
HP 800 mini G4 Single 16 GB 2400T cl 11:00
HP 800 mini G9 Dual 16 GB 4800 4:20

References:

HP 800 mini G4 (2018)

Gen.CPUSerial No.Model No.Cost
G4i7-8700TMXL92030CN4CB16UT#ABA$230
G4i7-8700TMXL92030F84CB16UT#ABA$230
G4i7-8700TMXL94641F24CB16UT#ABA$230
G4i7-8700TMXL94123BX14CB17UT#ABA$200
G5i7-9700TMXL04150TH 7LJ66UT#ABA$200
G6i7-10700T   $350
G9i7-12700TMXL3132C4R 6B384UT#ABA$500

HP EliteDesk 800 min: G5 i7-9700T vs G4 i7-8700T

UEFI/BIOS

The G5 UEFI/BIOS has considerably more diagnostic. This includes PC Stress tests of 15 ninutes and 30 minutes.

CPU Stress Test for 15 Minutes
 12345678
0 2624222323222523
155556555557545655
305656565657555756

Passmark ver 11.0

30 day free trial

Pass Mark 11.0

30 Day Free Trial. The Pass Mark 11.0 benchmark takes less than 15 to run.

Pass MarkHP-G5HP-G4% Diff
Overall2,2712,0609.3
CPU11,1567,82429.9
2D37029320.8
3D1,2731,2462.1
Memory2,9712,30222.6
DisK20,67219,2017.7

PC Mark10 Benchmark (UL)

Underwriter Laboratory (UL), in 2014, acquired Futuremark, which owned PC Mark 10. They did this to accelerate their expansion into benchmarking services.

This is a large program; the zip file is almost 3 GB. When it is running, it shows on the screen Libra Office Writer, Libra Office Spreadsheet, and Gimp. It could be installing and uninstalling these programs or parts of them.

According to UL's website: PCMark 10 is now available for everyone . Futhermore it states, it is free for home users and available on their website and Steam. It looks like that was in 2017. I could not find the free basic edition at either location. However, I did find PC Mark10v2-1-2574.zip, which is acturally PC Mark10 version 5.50.1092.0 at: https://www.techspot.com/downloads/6986-pcmark-10.html".

The free basic edition of PC Mark10 takes about 30 minutes to run.

PC Mark 10 Version 5.50.1092.0
GenerationHP-G6HP-G5HP-G4% Diff
Processori7-10700Ti7-9700Ti7-8700T 
Overall 4,085305325.3
Essential 8,1336,70117.6
App Start-up 10,5407,37030.1
Video Conferencing 6,8366,6123.3
Web Browsing 7,4686,17617.3
Productivity 6,3763,95537.9
Spread Sheest 6,7514,25237.0
Writting 6,0233,67938.9
Digital Contents Creating 3,5692,91118.4
Photo Editing 5,0624,10310.9
Rendering & Visalization 2,2112,247-1.6
Video Editing 4,0622,67734.1

If 5,000 or above, the PC is good for that task. Hence, the HP 800 EliteDesk G5 i7-9700T is good for Essential and Productivity, but is not good for Digitial Contents Creating. This is not surprising, since it does not have discreate graphics.

HP's UEFI/BIOS setting will effect benchmarks. The table below shows the effect of enabling/disabling realtime power management in the UEFI/BIOS.

HP 800 EliteDesk G5 i7-9700T - 16KB
 Real Time Power Management
 OnOFF% Diff
Overall2,2712,00611.6
CPU11,1567,02837.0
2D37027525.7
3D1,2731,2571.3
Memory2,9711,98033.4
Disk20,67219,9623.4
 
PC Mark10OnOff% Diff
Overall40852,80631.3
Essential8,1335,70229.9
App Start-up10,540 6,15741.6
Video Conferencing 6,8365,21023.8
Web Browsing 7,4685,78222.6
Productivity 6,3763,35547.4
Spread Sheest 6,7513,65045.9
Writting 6,0233,08419.8
Digital Contents Creating 3,5692,86119.8
Photo Editing 5,0624,03220.4
Rendering & Visalization 2,2112,1741.7
Video Editing 4,0622,67434.2

HP Diagnostics

To Download the latest HP PC Diagnostic Tools:

CPU Fan - HP P/N L19561-001

Ideally for a computer that sits on your desk, you want it to be silence. More precisely, you don't want to hear the fan humming or turning at a high spead.

The quietest replacement fan for the HP mini G4 or G5 is the AVC fan, Model BAZA0813R2. it states on the lable that it has a hdryic bearing. It is the only fan that I have found that has a manufacturers lable on it. The label has www.AVC.com.tw on it (Twian). There is a listing for a fan that depicts this lablel on Amazon: but the fan I received was had no lable on it.
 
CPU Cooling Fan for HP EliteDesk 800 G4, 705 G4, 705 G5, 800 G3, ProDesk 405 G4, 600 G4 Desktop Mini PC L19561-001 ,
 
and it cost $44!.
 
The only place that I have found that you can purchase the fan with the lable is off of EBay:
 
Ebay - New For HP EliteDesk 800 G4 35W Desktop Mini PC CPU Cooling Fan L19561-001 ,
 
It cost only $20, but it has a long delievery time.
 
References:

  1. Elitedesk G4 mini Fan Speed Problems

Fan Noise Windows

Some people, including me, have had problems with the HP mini 800 G4/G5 and the audio service "CxULUSvc.Service" consuming large amounts of CPU and memory resources. All I did to stop this was, to stop the service and reboot. Other say the service needs to be perminently disabled.

References:

  1. HP Forums - High CPU for CxUIUSvc service

Fan Noise Debian

Although this seems counter intutive, to dramically reduce the fan noise, disable "Runtime Power Managent" in the BIOS - under Adavanced | Power Management Options.

Heatsinks

There are two heatsinks:

  • HP P/N L19564-001 - Aluminum for 35 Watt CPU
  • HP P/N L19563-001 - Copper for 65 & 95 watt CPU's

 
You can order used copper heatsinks off of Ebay:
 
EBay - HP ELITEDESK 800 G4 MINI FAN AND HEATSINKL19561-001 L19563-001 ,
 
or from AliExpress in China:
 
New Original For HP EliteDesk 800 600 400 G4 DM G5 G6 Heatsink With Fan Radiator L19563-001 L19561-001 100% Tested Fast Ship
 
StoneTaskin High quality L19563-001 L19561-001 For HP EliteDesk 800 400 G4 Heatsink with Fan radiator New Original 100% Tested
 
Cleaning Aluminum:
 
Tips Bulletin - How to Clean Aluminum

DisplayPort & HP Z27 Monitor 4K

The HP Z27 monitor has a number quirks. It often says that the Display Input is inactive and the screen is blank. This is not an OS problem. It occurrs with Windows and Linux. The only way that I have found to fix this problem is:

  1. Use the memu buttons to put the Z27 monitor in the auto detect input mode.
  2. Cut off power to the monitor off with the toogle switch at the back of monitor for at least 30 seconds. Using the push-button switch under the monitor will not work.

Linux Work Arround
 
In most Linux distro's you can put the pc in sleep or hibernation before you put the screen to sleep.
 
Windows 11 Work Arround
 
Under Settings | Power set Screen and Sleep to "Never".
Under Settings | Power | Energy Recommendations use the blank screen savor.

Temporary Map Network Drive

net use * \\server\shared_folder /p:no

It will prompt use for your user_name and password. You can put the net use command in a batch (.bat) file.

References:

Apple Keyboard

To get the fn-delete key to perform a forward delelte. You have to install the bootcamp driver for an apple keyboard. More precisely, copy the file T://BootCamp6/AppleKeyboardInstaller64.exe to the local machine and double click on it

Linux/LXDE

Taskbar

Right click the taskbar.
Geometry tap - Position: top; Aligment: left, and adjust taskbar size.
Appearence tap: Background: System Theme; Font: Custom Color: Black, and adjust font size.

Bluetooth

You have install bluetooth and its manager:

sudo apt install bluetooth
sudo apt install blueman

A bluetooth icon should appear in the taskbar on the right side.

Sound Problems with Internal Intel Graphics

The magic code that enables sound through hdmi and displayport:

  1. sudo apt install alsa-tools
  2. sudo apt install alsa-tools-gui
  3. You should now have new menu entries under Video & Sound. Run hdajackretask.
  4. At the top, under select a codec, I selected “Intel Kabylake HDMI”. This name may vary depending on your CPU, but I’d suspect HDMI or DP will always show up in the title.
  5. Select “show unconnected pins”
  6. Tick the boxes to override them all and select “HDMI / Displayport” for each.
  7. Select “Install Boot Override”. Give your password when prompted & reboot. NOTE: The "apply now" button does not work, so don't bother with it.
  8. (optional) Remove alsa-tools and alsa-tools-gui if desired (they are no longer necessary).

References:

LXDE Scaling with Xresources

References:

  1. How to Fix Fractional Scaling in Linux - Or,
    How to be Good at xrandr
  2. A Flawless i3wm experience on a HiDPI/Retina display

Install Real-VNC Viewer

References:

  1. How to install RealVNC viewer on Debian Linux

Secure Boot: