These instructions are written in context of Activation Troubleshoot option in MAS.
________________________________
 KMS38 Activation Troubleshoot:
________________________________
 - Make sure you are using the latest version of the activator, to check it, browse the links listed 
   in the bottom of this page.
 - Make sure to completely remove any previously-installed KMS activators if any exist, before 
   applying KMS38 activation.
 - Reboot the system.
 - Now run the script to activate Windows, and if unsuccessful, 
   Try the troubleshoot button in the Settings > Update & Security > Activation, page.
 - If still unsuccessful and you want to try another activator then use,
   'WinActivate' by @Luzea  https://github.com/luzeadev/winactivate
   Tip - Don't start to search and use other unknown tools found on unreliable sites via google search 
   result, they may (some already do) ruin your system with malwares.
 - If still unsuccessful then try additional troubleshoot steps listed below.
_______________________________________________________________________________________________________
 - Apply: [4] Dism RestoreHealth
   Reboot the system
 - Apply: [5] SFC Scannow
   Reboot the system (If error found in SFC Scan, run the scan again) and run the activation script, 
   and if unsuccessful, 
 - Apply: [8] Clean ClipSVC Licences
   Reboot the system and run the activation script, and if unsuccessful, 
 - Apply: [9] Rebuild Licensing Tokens
   Reboot the system and run the activation script, and if unsuccessful, 
 - Either try HWID / KMS activation or do repair install of Windows 10-11 with an In-place upgrade, 
   check below link for how to.
 
   https://www.tenforums.com/tutorials/16397-repair-install-windows-10-place-upgrade.html
   https://www.elevenforum.com/t/repair-install-windows-11-with-an-in-place-upgrade.418/
 * Rearm is not suggested because script already applies Specific APP-SKU rearm if required.
_______________________________________________________________________________________________________
   - Some machines are not able to generate GenuineTicket.xml file using gatherosstate.exe
     The reason is unknown (to me). Please contact me if it happens to you.
_______________________________________________________________________________________________________
   Homepage: massgrave.dev
      Email: windowsaddict@protonmail.com
_______________________________________________________________________________________________________