Page 1 of 1

Key Authorization for Batch Program

Posted: 27 Mar 2022 10:44
by Bjorn94
Is it possible to enter an authentication key associated with the customer's HWID? So that the program cannot be used on other users on other PCs?

Re: Key Authorization for Batch Program

Posted: 27 Mar 2022 15:06
by ShadowThief
Batch is an interpreted language, so any obfuscation has to eventually get undone so that the command prompt can actually run the code. Making the code read-only won't help either, since people can just copy and paste the code into another instance of Notepad.

That said, you can certainly get the output of wmic csproduct get uuid and check it against any allowed values.