Bug related to https://forums.fogproject.org/topic/6391/endless-windows-key-activation-burning-oem-keys
@Jbob said:
v0.9.10 has been released and addresses this issue.
I updated to v.0.9.11 on a test client today.
Looking at the log file i found the following lines:
15.03.2016 11:55 HostnameChanger Checking Product Key Activation
15.03.2016 11:55 Bus Registering ParseBus in channel Power
15.03.2016 11:55 Bus Became bus client
15.03.2016 11:55 Bus Registering OnNotification in channel Notification
15.03.2016 11:55 Bus Registering OnUpdate in channel Update
15.03.2016 11:55 HostnameChanger Windows has correct key but is not licensed
15.03.2016 11:55 WinActivation Installing Product key
15.03.2016 11:56 Process --> Exit Code = 0
15.03.2016 11:56 WinActivation Activating Product key
15.03.2016 11:56 Process --> Exit Code = 0
These steps repeats every few minutes,
Running slmgr.vbs /dli shows the following status:
Does the following lines in https://github.com/FOGProject/fog-client/blob/master/Modules/HostnameChanger/Windows/WinActivation.cs need to be changed so the german “lizenziert” will be recognized?
public static bool IsActivated()
{
var info = GetSLMGROutput("/dli");
var flattenedInfo = string.Join(" ", info);
return flattenedInfo.Contains("Licensed");
}
Suggestion by Quazz:
@Quazz said:
Might be safer to have the opposite check (check for unlicensed and only then try to activate rather than check for licensed and try to activate when that doesn’t match) to prevent keys from burning. I think people would prefer their computers not activating because of language issues rather than keys burning.