I'm asking this because this forum doesn't allow any such KMS software on consumer OS installations. Maybe you can activate Windows and show the license status so I can prepare a fixlist for you.
Or, do a Reset with the Keep files options.
How to reset Windows 10 keeping files - Pureinfotech: https://pureinfotech.com/reset-pc-keeping-files-windows-10/