Skip to content

"'wmic' is not recognized as an internal or external command" on Windows #14

Description

@chetbox

We have an Electron app that uses a serial number from this library to validate license keys via serial number.

One of our customers is getting the following error (which we found via automated crash reporting):

Error: Command failed: wmic csproduct get IdentifyingNumber
'wmic' is not recognized as an internal or external command,
operable program or batch file.

Is there a workaround we need for this user? Do they need to the fix the %PATH% on their machine? Or is this a valid environment this library does not take into account?

Thanks for this library by the way, it's been super helpful!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions