Windows 7 wrong assertion "Already activated with correct key"



  • Hello,

    I’m not sure about what to do with product key, I entered the correct product key in “GENERAL”

    (it automatically removes the “-” but they are automatically added after validation)

    I checked several times and made several test with different machines. After installing a sysprep’ed Windows 7 image, all is OK except this activation.

    The output of fog.log is:

    ------------------------------------------------------------------------------
    --------------------------------HostnameChanger-------------------------------
    ------------------------------------------------------------------------------
     22/04/2016 11:17 Client-Info Version: 0.9.12
     22/04/2016 11:17 HostnameChanger Running...
     22/04/2016 11:17 Middleware::Communication URL: http://diopside.courcouronnes.fr/fog/service/servicemodule-active.php?moduleid=hostnamechanger&mac=D8:CB:8A:0D:82:A2||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1
     22/04/2016 11:17 Middleware::Communication Response: Success
     22/04/2016 11:17 Middleware::Communication URL: http://diopside.courcouronnes.fr/fog/service/hostname.php?moduleid=hostnamechanger&mac=D8:CB:8A:0D:82:A2||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1
     22/04/2016 11:17 Middleware::Communication Response: Success
     22/04/2016 11:17 HostnameChanger Checking Hostname
     22/04/2016 11:17 HostnameChanger Hostname is correct
     22/04/2016 11:17 HostnameChanger Registering host with active directory
     22/04/2016 11:18 HostnameChanger The machine is already joined to the domain, code =  2691
     22/04/2016 11:18 HostnameChanger Checking Product Key Activation
     22/04/2016 11:18 HostnameChanger Already activated with correct key
    ------------------------------------------------------------------------------
    

    But Windows is still unactivated and countdown until activation still running.

    Did I do something wrong?



  • Thanks Tom,

    I don’t find any product key staying in my unattend.xml file (the one in c:\windows\system32\sysprep)

    Do you think the product key used for activating the Windows image can be the problem?

    <?xml version="1.0" encoding="utf-8"?>
    <!--This answer file generated by RT Seven Lite-->
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
        <settings pass="windowsPE">
            <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <SetupUILanguage>
                    <UILanguage>fr-FR</UILanguage>
                </SetupUILanguage>
                <InputLocale>040c:0000040c</InputLocale>
                <UserLocale>fr-FR</UserLocale>
                <UILanguage>fr-FR</UILanguage>
                <SystemLocale>fr-FR</SystemLocale>
            </component>
            <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <ImageInstall>
                    <OSImage>
                        <InstallFrom>
                            <MetaData wcm:action="add">
                                <Key>/IMAGE/NAME</Key>
                                <value>Windows 7 PROFESSIONAL</value>
                            </MetaData>
                        </InstallFrom>
                        <InstallToAvailablePartition>false</InstallToAvailablePartition>
                        <WillShowUI>OnError</WillShowUI>
                    </OSImage>
                </ImageInstall>
                <UserData>
                    <Organization>Courcouronnes</Organization>
                    <FullName>Courcouronnes</FullName>
                    <AcceptEula>true</AcceptEula>
                </UserData>
                <UseConfigurationSet>true</UseConfigurationSet>
            </component>
        </settings>
        <settings pass="oobeSystem">
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <UserAccounts>
                    <LocalAccounts>
                        <LocalAccount wcm:action="add">
                            <Name>admin</Name>
                            <Group>Administrators</Group>
                            <Password>
                                <PlainText>false</PlainText>
                                <Value>bgBiAGEAMQAyADMAUABhAHMAcwB3AG8AcgBkAA==</Value>
                            </Password>
                        </LocalAccount>
                    </LocalAccounts>
                    <AdministratorPassword>
                        <Value>cwBlAGMAdQBhAGQAbQBBAGQAbQBpAG4AaQBzAHQAcgBhAHQAbwByAFAAYQBzAHMAdwBvAHIAZAA=</Value>
                        <PlainText>false</PlainText>
                    </AdministratorPassword>
                </UserAccounts>
                <AutoLogon>
                    <Password>
                        <Value>cwBlAGMAdQBhAGQAbQBQAGEAcwBzAHcAbwByAGQA</Value>
                        <PlainText>false</PlainText>
                    </Password>
                    <Enabled>true</Enabled>
                    <LogonCount>5</LogonCount>
                    <Username>Administrator</Username>
                </AutoLogon>
                <OOBE>
                    <NetworkLocation>Work</NetworkLocation>
                    <HideEULAPage>true</HideEULAPage>
                    <ProtectYourPC>1</ProtectYourPC>
                    <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
                    <SkipMachineOOBE>true</SkipMachineOOBE>
                    <SkipUserOOBE>true</SkipUserOOBE>
                </OOBE>
                <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
                <TimeZone>Romance Standard Time</TimeZone>
                <OEMInformation>
                    <Manufacturer>SI</Manufacturer>
                    <SupportHours>L:J 8h15-17h30 V:8h15-15h30</SupportHours>
                    <SupportPhone>XXXXXXXX</SupportPhone>
                    <SupportURL>https://obsidienne.courcouronnes.fr/glpi</SupportURL>
                    <Model>1337</Model>
                    <Logo>%systemroot%\system32\OOBE\courcouronnes.bmp</Logo>
                </OEMInformation>
                <ShowWindowsLive>false</ShowWindowsLive>
                <RegisteredOrganization>Courcouronnes</RegisteredOrganization>
            </component>
        </settings>
        <settings pass="specialize">
            <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <ComputerName>RENOMMER</ComputerName>
                <CopyProfile>true</CopyProfile>
            </component>
            <component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <SkipAutoActivation>true</SkipAutoActivation>
            </component>
            <component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <RunSynchronous>
                    <RunSynchronousCommand wcm:action="add">
                        <Order>1</Order>
                        <Path>net user administrator /active:yes</Path>
                    </RunSynchronousCommand>
                </RunSynchronous>
            </component>
            <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <SkipAutoActivation>true</SkipAutoActivation>
            </component>
        </settings>
        <settings pass="generalize">
            <component name="Microsoft-Windows-Security-SPP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <SkipRearm>1</SkipRearm>
            </component>
            <component name="Microsoft-Windows-Security-Licensing-SLC" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                <SkipRearm>1</SkipRearm>
            </component>
        </settings>
        <cpi:offlineImage cpi:source="wim:d:/sources/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
    </unattend>
    

  • Senior Developer

    @ashledombos For the case of OEM, you should NOT have any Product Key in your unattend.xml file. The Unattend without product key tells Windows to activate by attempting to find SLIC. Having a product key means it’s going to try to activate using the key in the file. After oobe you have it resetting, but Windows is trying to active using the key that is typed in the field (which it IS doing.)



  • Hi Tom,

    it’s a real key coming from the OEM product key sticker associated with the computer, in one case, or a bought Microsoft single license in another case.

    I don’t know KMS so my guess is no, KMS is not used for activation :) Until now we enter key by hand after fog deployment (it’s the only thing not automated)

    The only thing I see that could interfere is that the sysprep windows (running in Virtual Box) is activated with another key from another bought license (dedicated) but after OOB process the key is wiped (at least I hope so, as Windows is deployed unactivated, which is the aimed goal)


  • Senior Developer

    @ashledombos is the system to be activated by kms? The key you have for this system is the real key or generic?


Log in to reply
 

437
Online

39.3k
Users

11.0k
Topics

104.6k
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.