Skip to content

Fixed the problem of not being able to obtain hardware information after replacing the memory stick#989

Open
KavenLong wants to merge 1 commit intosebhildebrandt:masterfrom
KavenLong:systeminformation_hardware_fix
Open

Fixed the problem of not being able to obtain hardware information after replacing the memory stick#989
KavenLong wants to merge 1 commit intosebhildebrandt:masterfrom
KavenLong:systeminformation_hardware_fix

Conversation

@KavenLong
Copy link

I found that I could not get the hardware information after I replaced the memory stick of my computer. I hope to make a compatible process for this uncontrollable special situation to ensure that the hardware information can be obtained stably.

@sebhildebrandt
Copy link
Owner

sebhildebrandt commented Jan 8, 2026

@KavenLong ... as I am currently trying to catch up with issues and pull requests:

Can you describe the problem more clearly? I was not really able to reproduce it ... So what I tried:

  • calling uuid() in systeminformation (with I assume correct values)
  • replace memory stick
  • calling uuid() again in systeminformation

I still get correct values.

One more problem: your problem reintroduces wmic which is deprecated and therefore we completely removed the usage of wmic ...

So maybe you can explain your issue once again and maybe we can think of fixing it differently.

Some general thought: replacing memory stick should never change UUID (which comes from SMBIOS (DMI) data provided by BIOS/UEFI firmware)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants