Please read everything here: https://www.microsoft.com/en-us/security/portal/threat/encyclopedia/Entry.aspx?Name=HackTool:Win32/AutoKMS
"Hacktools are often installed intentionally. Deleting their installed components will remove them.**."
If you have any kind of a cracked software on your computer - it doesn't even have to be installed -: delete it.
Suggestion to
a) run some additional scans: https://malwaretips.com/blogs/remove-hacktool-win32-autokms/
c) read: Best Practices for Safe Computing - Prevention of Malware Infection
Cheers,
Julia