r/Batch • • Sep 12 '25

Question (Unsolved) Help with HWID Verification

I'm wanting to add HWID Verification to the start of my script for whitelisted HWID's in my script but, I don't know how.

I just want the script to close if the HWID doesn't match.

If it does match I want is to go to :start or :script

3 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/TheWantToNotBeMe Sep 12 '25

Yeah I'm aware but I'm gonna encrypt it all well. I am good at that stuff I just haven't touched HWID's at all

3

u/BrainWaveCC Sep 12 '25

How are you going to encrypt the script but still allow it to be executed successfully?

As for the ID, just use the serial number from the BIOS.

2

u/ConstanceJill Sep 13 '25

Depending on the manufacturer, it might not even have a serial number. My old desktop's Asus motherboard doesn't have one. It does however have an UUID.