PC Name Stuck at Invalid – How to Fix?


BuddhaNature

Well-known member
Member
Local time
8:41 AM
Posts
83
Location
Scotland
OS
Win 11 Pro. 24H2
In IBM tech just installed a new motherboard to my Lenovo Legion laptop. This was to deal with a USB-A ports problem. The repair seems to have worked fine. However, when I did a quick check to see if Windows was still activated properly (it was) I see in Settings > Home that the my PC name is considered 'Invalid'. The name I had, and which I want to keep using is LEGION

PC Name Invalid.webp

I tried (temporarily) renaming to LEGION2 but on reboot this too was said to be Invalid. So I renamed back to LEGION. Which, once again, after reboot was said to be Invalid.

Cutting a long story short, and following advice on the internet, I did the following:

1) Ran [CODE]dism /Online /Cleanup-Image /RestoreHealth[/CODE] This completed successfully.
2) I then did an SFC /SCANNOW This also completed with no problems.

Then using Powershell as administrator I changed the name a couple of times between LEGION and LEGION2 — all without success, the name is still reported as Invalid. So now I've changed the name back to LEGION, still marked as Invalid, and now I'm stuck.

Does anyone know how I can cure this problem?

P.S. I should say that as far as I can see the system seems to be running fine. I would also note that I am an administrator on this machine and seems to be running fine from that point of view too.
 
Windows Build/Version
Windows Versin 24H2 (OS Build 26100.3775)

My Computers

System One System Two

  • OS
    Win 11 Pro. 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Customised "Chillblast Apex Intel Core i7 Office PC"
    CPU
    Intel Core i7-14700 (Raptor Lake)
    Motherboard
    ASUS Prime B760M-A WiFi D4
    Memory
    32GB Corsair Vengeance LPX (DDR4)
    Graphics Card(s)
    Intel UHD 770 — onboard standard as supplied by Intel/Asus
    Monitor(s) Displays
    Dell P2421 24 inch WUXGA (1920x1200) 16:10 Monitor
    Screen Resolution
    1920x1200
    Hard Drives
    First (Boot Drive Only): 2TB Samsung SSD 990 Pro.
    Second (Data Drive) 2TB Samsung SSD 990 Pro.
    PSU
    850W Corsair RM850x 80 Plus Gold
    Cooling
    Just standard fans for both the case and CPU.
    Keyboard
    Unicomp Model M (IBM Style keyboard)
    Mouse
    Wired Mouse
    Internet Speed
    1.6 MB/s
    Browser
    Firefox
    Antivirus
    Microsoft's Defender
  • Operating System
    Win 11 Pro 24H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo Legion Pro 7i Gen 9 (16" Intel)
    CPU
    14th Generation Intel® Core™ i9-14900HX
    Memory
    32 GB DDR5-5600MHz
    Graphics card(s)
    NVIDIA® GeForce RTX™ 4080 Laptop GPU 12GB GDDR6
    Monitor(s) Displays
    16" WQXGA (2560 x 1600), IPS, Anti-Glare, Non-Touch, HDR 40
    Screen Resolution
    2560 x 1600
    Hard Drives
    First (Boot): 1 TB SSD M.2 2280 PCIe Gen4 TLC
    Second (Data): 1 TB SSD M.2 2280 PCIe Gen4 TLC
    Mouse
    Wired Mouse
    Keyboard
    Per-Key RGB-Coloured Backlit - English (UK)
    Internet Speed
    1.6 MB/s
    Browser
    Firefox
    Antivirus
    Microsoft's Defender
Hello, :alien:

The "INVALID" name shown in your screenshot would be for the system product name instead of computer name. This is often specified by the OEM.

You should be able to change this using the method in the tutorial below.

 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
Thank you Brink! I don't have what is displayed in your tutorial on my PC. System > About just shows LEGION INVALID -- it does not say anything about "System Product Name".

If I restore the laptop from an image file made before the tech changed the motherboard would that solve the issue? (This problem would not be in the image file I made.)

I did look in the registry as per the tutorial but there is nothing there.
 

My Computers

System One System Two

  • OS
    Win 11 Pro. 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Customised "Chillblast Apex Intel Core i7 Office PC"
    CPU
    Intel Core i7-14700 (Raptor Lake)
    Motherboard
    ASUS Prime B760M-A WiFi D4
    Memory
    32GB Corsair Vengeance LPX (DDR4)
    Graphics Card(s)
    Intel UHD 770 — onboard standard as supplied by Intel/Asus
    Monitor(s) Displays
    Dell P2421 24 inch WUXGA (1920x1200) 16:10 Monitor
    Screen Resolution
    1920x1200
    Hard Drives
    First (Boot Drive Only): 2TB Samsung SSD 990 Pro.
    Second (Data Drive) 2TB Samsung SSD 990 Pro.
    PSU
    850W Corsair RM850x 80 Plus Gold
    Cooling
    Just standard fans for both the case and CPU.
    Keyboard
    Unicomp Model M (IBM Style keyboard)
    Mouse
    Wired Mouse
    Internet Speed
    1.6 MB/s
    Browser
    Firefox
    Antivirus
    Microsoft's Defender
  • Operating System
    Win 11 Pro 24H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo Legion Pro 7i Gen 9 (16" Intel)
    CPU
    14th Generation Intel® Core™ i9-14900HX
    Memory
    32 GB DDR5-5600MHz
    Graphics card(s)
    NVIDIA® GeForce RTX™ 4080 Laptop GPU 12GB GDDR6
    Monitor(s) Displays
    16" WQXGA (2560 x 1600), IPS, Anti-Glare, Non-Touch, HDR 40
    Screen Resolution
    2560 x 1600
    Hard Drives
    First (Boot): 1 TB SSD M.2 2280 PCIe Gen4 TLC
    Second (Data): 1 TB SSD M.2 2280 PCIe Gen4 TLC
    Mouse
    Wired Mouse
    Keyboard
    Per-Key RGB-Coloured Backlit - English (UK)
    Internet Speed
    1.6 MB/s
    Browser
    Firefox
    Antivirus
    Microsoft's Defender
This is normal.

If you don't have a Model string value, you'll have to manually add it per the note box under step 3.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
I just phoned Lenovo Tech Services on this and they said they will have to get the tech out again to fix the problem. Hence, forget about this for now. I'll just wait see how it goes with the tech. Thanks you very much for your responses.
 

My Computers

System One System Two

  • OS
    Win 11 Pro. 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Customised "Chillblast Apex Intel Core i7 Office PC"
    CPU
    Intel Core i7-14700 (Raptor Lake)
    Motherboard
    ASUS Prime B760M-A WiFi D4
    Memory
    32GB Corsair Vengeance LPX (DDR4)
    Graphics Card(s)
    Intel UHD 770 — onboard standard as supplied by Intel/Asus
    Monitor(s) Displays
    Dell P2421 24 inch WUXGA (1920x1200) 16:10 Monitor
    Screen Resolution
    1920x1200
    Hard Drives
    First (Boot Drive Only): 2TB Samsung SSD 990 Pro.
    Second (Data Drive) 2TB Samsung SSD 990 Pro.
    PSU
    850W Corsair RM850x 80 Plus Gold
    Cooling
    Just standard fans for both the case and CPU.
    Keyboard
    Unicomp Model M (IBM Style keyboard)
    Mouse
    Wired Mouse
    Internet Speed
    1.6 MB/s
    Browser
    Firefox
    Antivirus
    Microsoft's Defender
  • Operating System
    Win 11 Pro 24H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo Legion Pro 7i Gen 9 (16" Intel)
    CPU
    14th Generation Intel® Core™ i9-14900HX
    Memory
    32 GB DDR5-5600MHz
    Graphics card(s)
    NVIDIA® GeForce RTX™ 4080 Laptop GPU 12GB GDDR6
    Monitor(s) Displays
    16" WQXGA (2560 x 1600), IPS, Anti-Glare, Non-Touch, HDR 40
    Screen Resolution
    2560 x 1600
    Hard Drives
    First (Boot): 1 TB SSD M.2 2280 PCIe Gen4 TLC
    Second (Data): 1 TB SSD M.2 2280 PCIe Gen4 TLC
    Mouse
    Wired Mouse
    Keyboard
    Per-Key RGB-Coloured Backlit - English (UK)
    Internet Speed
    1.6 MB/s
    Browser
    Firefox
    Antivirus
    Microsoft's Defender
Ok. Please let us know how it went, and if you need more help with this.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender

Latest Support Threads

Back
Top Bottom