this is the result after i copy and paste the things that you want me to do
Microsoft Windows [Version 10.0.17134.228]
(c) 2018 Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>cd /d %ProgramFiles%\Microsoft Office\Office16&cscript ospp.vbs /unpkey:KHGM9&cscript ospp.vbs /sethst:kms8.msguides.com&cscript ospp.vbs /act
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
---Processing--------------------------
<Product key not found>
---Exiting-----------------------------
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
---Processing--------------------------
Successfully applied setting.
---Exiting-----------------------------
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
---Processing--------------------------
Installed product key detected - attempting to activate the following product:
SKU ID: 1ecbf9c7-7c43-483e-b2ad-06ef5c5744c4
LICENSE NAME: Office 16, Office16HomeStudentR_Grace edition
LICENSE DESCRIPTION: Office 16, RETAIL(Grace) channel
Last 5 characters of installed product key: DJ3QD
ERROR CODE: 0xC004F017
ERROR DESCRIPTION: The Software Licensing Service reported that the license is not installed.
Installed product key detected - attempting to activate the following product:
SKU ID: 70d9ceb6-6dfa-4da4-b413-18c1c3c76e2e
LICENSE NAME: Office 16, Office16ProPlusR_Grace edition
LICENSE DESCRIPTION: Office 16, RETAIL(Grace) channel
Last 5 characters of installed product key: BTDRB
ERROR CODE: 0xC004F017
ERROR DESCRIPTION: The Software Licensing Service reported that the license is not installed.
Installed product key detected - attempting to activate the following product:
SKU ID: 95820f84-6e8c-4d22-b2ce-54953e9911bc
LICENSE NAME: Office 16, Office16O365HomePremR_SubTrial5 edition
LICENSE DESCRIPTION: Office 16, TIMEBASED_SUB channel
Last 5 characters of installed product key: YDTPW
ERROR CODE: 0xC004C003
ERROR DESCRIPTION: The activation server determined the specified product key has been blocked.
NOTICE: A KB article has been detected for activation failure: 0xC004C003
Installed product key detected - attempting to activate the following product:
SKU ID: b322da9c-a2e2-4058-9e4e-f59a6970bd69
LICENSE NAME: Office 15, OfficeProPlusVL_KMS_Client edition
LICENSE DESCRIPTION: Office 15, VOLUME_KMSCLIENT channel
Last 5 characters of installed product key: GVGXT
ERROR CODE: 0xC004F074
ERROR DESCRIPTION: The Software Licensing Service reported that the product could not be activated. No Key Management Service (KMS) could be contacted. Please see the Application Event Log for additional information.
To view the activation event history run: cscript ospp.vbs /dhistorykms
NOTICE: A KB article has been detected for activation failure: 0xC004F074
Installed product key detected - attempting to activate the following product:
SKU ID: d450596f-894d-49e0-966a-fd39ed4c4c64
LICENSE NAME: Office 16, Office16ProPlusVL_KMS_Client edition
LICENSE DESCRIPTION: Office 16, VOLUME_KMSCLIENT channel
Last 5 characters of installed product key: WFG99
ERROR CODE: 0xC004F074
ERROR DESCRIPTION: The Software Licensing Service reported that the product could not be activated. No Key Management Service (KMS) could be contacted. Please see the Application Event Log for additional information.
To view the activation event history run: cscript ospp.vbs /dhistorykms
NOTICE: A KB article has been detected for activation failure: 0xC004F074
---Exiting-----------------------------