diff --git a/docs/Usage.md b/docs/Usage.md index 6586386..fbe590d 100644 --- a/docs/Usage.md +++ b/docs/Usage.md @@ -28,7 +28,7 @@ You may want to select the locale ID of your country instead. See [here](https://msdn.microsoft.com/en-us/library/cc233982.aspx) for a list of valid _LCIDs_. -w or --hwid -> Use specified _HWID_ for all products. Use `-w RANDOM` to generate a random HWID. Default is _364F463A8863D35F_. +> Use specified _HWID_ for all products. Use `-w RANDOM` to generate a random HWID. Default is random. Hardware Identification is a security measure used by Microsoft upon the activation of the Windows operating system. As part of the Product Activation system, a unique HWID number is generated when the operating system is first installed. The _HWID_ identifies the hardware components that the system @@ -232,8 +232,8 @@ ENV RENEWAL_INTERVAL 10080 # hwid # Use this flag to specify a HWID. # The HWID must be an 16-character string of hex characters. -# The default is "364F463A8863D35F" or type "RANDOM" to auto generate the HWID. -ENV HWID 364F463A8863D35F +# The default is "RANDOM" to auto-generate the HWID or type a specific value. +ENV HWID RANDOM # log level ("CRITICAL", "ERROR", "WARNING", "INFO", "DEBUG") # Use this flag to set a Loglevel. The default is "ERROR". diff --git a/py-kms/pykms_Server.py b/py-kms/pykms_Server.py index f506455..318d32f 100755 --- a/py-kms/pykms_Server.py +++ b/py-kms/pykms_Server.py @@ -192,8 +192,8 @@ for server OSes and Office >=5', 'def' : None, 'des' : "clientcount"}, 'sql' : {'help' : 'Use this option to store request information from unique clients in an SQLite database. Deactivated by default.', 'def' : False, 'file': os.path.join('.', 'pykms_database.db'), 'des' : "sqlite"}, 'hwid' : {'help' : 'Use this option to specify a HWID. The HWID must be an 16-character string of hex characters. \ -The default is \"364F463A8863D35F\" or type \"RANDOM\" to auto generate the HWID.', - 'def' : "364F463A8863D35F", 'des' : "hwid"}, +Type \"RANDOM\" to auto-generate the HWID.', + 'def' : "RANDOM", 'des' : "hwid"}, 'time0' : {'help' : 'Maximum inactivity time (in seconds) after which the connection with the client is closed. If \"None\" (default) serve forever.', 'def' : None, 'des' : "timeoutidle"}, 'time1' : {'help' : 'Set the maximum time to wait for sending / receiving a request / response. Default is no timeout.',