PS C:\WINDOWS\system32> Write-Host "Uninstalling current product key..." -ForegroundColor Cyan
Uninstalling current product key...
PS C:\WINDOWS\system32> Start-Process -FilePath "cscript.exe" -ArgumentList "C:\Windows\System32\slmgr.vbs /upk" -NoNewWindow -Wait
Microsoft (R) Windows Script Host Versione 10.0
Copyright (C) Microsoft Corporation. All rights reserved.
"Product Key" uninstallation complete.
PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> Write-Host "Clearing the product key from the registry..." -ForegroundColor Cyan
Clearing the product key from the registry...
PS C:\WINDOWS\system32> Start-Process -FilePath "cscript.exe" -ArgumentList "C:\Windows\System32\slmgr.vbs /cpky" -NoNewWindow -Wait
Microsoft (R) Windows Script Host Version 10.0
Copyright (C) Microsoft Corporation. All rights reserved.
Cancellazione codice "Product Key" dal Registro di sistema completata.
PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> Write-Host "Clearing any configured KMS server..." -ForegroundColor Cyan
Clearing any configured KMS server...
PS C:\WINDOWS\system32> Start-Process -FilePath "cscript.exe" -ArgumentList "C:\Windows\System32\slmgr.vbs /ckms" -NoNewWindow -Wait
Microsoft (R) Windows Script Host Version 10.0
Copyright (C) Microsoft Corporation. All rights reserved.
Key Management Service computer name deleted.
PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> Write-Host "Installing new product key..." -ForegroundColor Cyan
Installing new product key...
PS C:\WINDOWS\system32> Start-Process -FilePath "cscript.exe" -ArgumentList "C:\Windows\System32\slmgr.vbs /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX" -NoNewWindow -Wait
Microsoft (R) Windows Script Host Version 10.0
Copyright (C) Microsoft Corporation. All rights reserved.
Error: 0xC004F069 On a computer running a non-Core edition of Microsoft Windows, run 'slui.exe 0x2a 0xC004F069' to display the error text.
PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> Write-Host "Setting the KMS server to kms8.msguides.com..." -ForegroundColor Cyan
Setting the KMS server to kms8.msguides.com...
PS C:\WINDOWS\system32> Start-Process -FilePath "cscript.exe" -ArgumentList "C:\Windows\System32\slmgr.vbs /skms kms8.msguides.com" -NoNewWindow -Wait
Microsoft (R) Windows Script Host Version 10.0
Copyright (C) Microsoft Corporation. All rights reserved.
Key Management Service computer name set to kms8.msguides.com.
PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> Write-Host "Activating Windows..." -ForegroundColor Cyan
Activating Windows...
PS C:\WINDOWS\system32> Start-Process -FilePath "cscript.exe" -ArgumentList "C:\Windows\System32\slmgr.vbs /ato" -NoNewWindow -Wait
Microsoft (R) Windows Script Host Version 10.0
Copyright (C) Microsoft Corporation. All rights reserved.
Error: product not found.
PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> Write-Host "All commands completed." -Foreground
Write-Host "All commands completed." -ForegroundColor Green
All commands completed.
PS C:\WINDOWS\system32> Write-Host "Uninstalling current product key..." -ForegroundColor Cyan
Uninstalling current product key...
PS C:\WINDOWS\system32> Start-Process -FilePath "cscript.exe" -ArgumentList "C:\Windows\System32\slmgr.vbs /upk" -NoNewWindow -Wait
Microsoft (R) Windows Script Host Versione 10.0
Copyright (C) Microsoft Corporation. All rights reserved.
"Product Key" uninstallation complete.
PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> Write-Host "Clearing the product key from the registry..." -ForegroundColor Cyan
Clearing the product key from the registry...
PS C:\WINDOWS\system32> Start-Process -FilePath "cscript.exe" -ArgumentList "C:\Windows\System32\slmgr.vbs /cpky" -NoNewWindow -Wait
Microsoft (R) Windows Script Host Version 10.0
Copyright (C) Microsoft Corporation. All rights reserved.
Cancellazione codice "Product Key" dal Registro di sistema completata.
PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> Write-Host "Clearing any configured KMS server..." -ForegroundColor Cyan
Clearing any configured KMS server...
PS C:\WINDOWS\system32> Start-Process -FilePath "cscript.exe" -ArgumentList "C:\Windows\System32\slmgr.vbs /ckms" -NoNewWindow -Wait
Microsoft (R) Windows Script Host Version 10.0
Copyright (C) Microsoft Corporation. All rights reserved.
Key Management Service computer name deleted.
PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> Write-Host "Installing new product key..." -ForegroundColor Cyan
Installing new product key...
PS C:\WINDOWS\system32> Start-Process -FilePath "cscript.exe" -ArgumentList "C:\Windows\System32\slmgr.vbs /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX" -NoNewWindow -Wait
Microsoft (R) Windows Script Host Version 10.0
Copyright (C) Microsoft Corporation. All rights reserved.
Error: 0xC004F069 On a computer running a non-Core edition of Microsoft Windows, run 'slui.exe 0x2a 0xC004F069' to display the error text.
PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> Write-Host "Setting the KMS server to kms8.msguides.com..." -ForegroundColor Cyan
Setting the KMS server to kms8.msguides.com...
PS C:\WINDOWS\system32> Start-Process -FilePath "cscript.exe" -ArgumentList "C:\Windows\System32\slmgr.vbs /skms kms8.msguides.com" -NoNewWindow -Wait
Microsoft (R) Windows Script Host Version 10.0
Copyright (C) Microsoft Corporation. All rights reserved.
Key Management Service computer name set to kms8.msguides.com.
PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> Write-Host "Activating Windows..." -ForegroundColor Cyan
Activating Windows...
PS C:\WINDOWS\system32> Start-Process -FilePath "cscript.exe" -ArgumentList "C:\Windows\System32\slmgr.vbs /ato" -NoNewWindow -Wait
Microsoft (R) Windows Script Host Version 10.0
Copyright (C) Microsoft Corporation. All rights reserved.
Error: product not found.
PS C:\WINDOWS\system32>
PS C:\WINDOWS\system32> Write-Host "All commands completed." -Foreground
All commands completed.