The above code will do nothing if you are Unlicensed(0) or Genuine(1). LicenseStatus > 1 will retrieve Out-of-Box, Out-of-Tolerance, NonGenuine, Notification and Extended Grace periods only.
There are seven different channels of activation in Windows 7 Code: OEM_COA_SLP channelID: 022a1afb-b893-4190-92c3-8f69a49839fb RETAIL channelID: 4a8149bb-7d61-49f4-8822-82c7bf88d64b OEM_SLP channelID: 7cfd4696-69a9-4af7-af36-ff3d12b6b6c8 RETAIL channelID: a0cde89c-3304-4157-b61c-c8ad785d1fad RETAIL channelID: ac96e1a8-6cc4-4310-a4ff-332ce77fb5b8 RETAIL channelID: afd5f68f-b70f-4000-a21d-28dbc8be8b07 OEM_COA_NSLP channelID: cfb3e52c-d707-4861-af51-11b27ee6169c When you are in grace period the second channel is used for the trial retail key. At any given time only one of the channel will have LicenseStatus value greater than zero.
Thanks, from where did you get those? And what could be the reason that it gives different things on different operating systems? server standard: 20000000000 server enterprise: 00002000 server datacenter 0000002 All clean unactivated installs