Forum Discussion
Change from local KMS to M365 E3 Windows activation fails
Hi Marcel100
have you had a response yet. I too have a project that involves your steps and was wondering how you were going about it. Windows 10 1703 KMS Enterprise moving to M365 E5.
The process I was thinking was to;
1. remove KMS key
2. interrogate bios for Pro Key
3. install and activate Pro Key
4. following https://docs.microsoft.com/en-us/windows/deployment/deploy-enterprise-licenses to activate enterprise.
The script below hopefully will perform 1-3
@echo off
echo Remove KMS Key
slmgr.vbs /upk
FOR /F "skip=1" %%A IN ('wmic path SoftwareLicensingService get OA3xOriginalProductKey') DO (
SET "ProductKey=%%A"
goto InstallKey
)
:InstallKey
IF [%ProductKey%]==[] (
echo No key present
) ELSE (
echo Installing %ProductKey%
changepk.exe /ProductKey %ProductKey%
)
slmgr.vbs /ato
not sure if this helps you.
I ended up opening a ticket with our CSP and Microsoft escalated it. They had to re-apply licensing in our tenant. Once they completed that, everything worked as expect, so it was resolved. I wanted to leave this here for anybody that might find it in the future.
Open a MS ticket, it took them about a week of back and forth and then resolving it for me.