SysPrep Product ID question

Page 1 of 2 12 LastLast

  1. Posts : 6
    Windows 7 Enterprise
       #1

    SysPrep Product ID question


    Good morning to all,

    I have a question and hopefully someone can answer it because I have searched high and low to no avail. I am creating a custom image for our department using SysPrep and Symantec System Recovery. The image works when I restore it to other machines in the environment but what I have noticed is that the machines all have the same Product ID. Windows activates after the machines are joined to the domain through KMS. The test machines are working fine all activated but with the same Product ID. I can't seem to find any information about this online. If more information is needed to properly help me please let me know.
      My Computer

  2.    #2
    Last edited by gregrocker; 01 Nov 2012 at 15:05.
      My Computer


  3. Posts : 6
    Windows 7 Enterprise
    Thread Starter
       #3

    I actually did. I ran the command from an admin command prompt. I captured the image after it shut down. This is the command. sysprep.exe /generalize /oobe /shutdown /unattend:sysprep.xml

    This is the Product ID the test machine are getting.
    Attached Thumbnails Attached Thumbnails SysPrep Product ID question-kms-info_product-id.jpg  
      My Computer


  4. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #4

    Hi Fsantiago, welcome to the Seven Forums.

    Although the generalize switch used when image is sysprepped does reset SID, it does not affect or change Product Key (ID).

    You should put the VLK runtime key inside Microsoft-Windows-Shell-Setup > ProductKey tags to be run on Specialize configuration pass. This is important: VLK runtime should be on Shell-Setup component! The runtime key is then changed to permanent key during OOBE pass.

    Kari
      My Computer


  5. Posts : 6
    Windows 7 Enterprise
    Thread Starter
       #5

    Since we use KMS to activate windows after the machine is joined to the domain would I have to just input the Windows 7 Enterprise Key? They are not joined to the domain during SysPrep. Also is this example correct if I were to add it to my xml file? It is only part of it. Thanks!


    <?xml version="1.0" encoding="utf-8"?>
    <unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="specialize">
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <ShowWindowsLive>false</ShowWindowsLive>
    <TimeZone>Eastern Standard Time</TimeZone>
    <CopyProfile>true</CopyProfile>
    <ProductKey></ProductKey>
    </component>
    <component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <ShowMenuBar>true</ShowMenuBar>
    <Home_Page>http://nursing.fau.edu</Home_Page>
    <DisableFirstRunWizard>true</DisableFirstRunWizard>
    <DisableWelcomePage>true</DisableWelcomePage>
    </component>
    </settings>
    Last edited by fsantiago; 01 Nov 2012 at 15:20.
      My Computer


  6. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #6

    Put the MAK / KMS key between the <component name="Microsoft-Windows-Shell-Setup> tags before anything else, for instance like this:
    Code:
    <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <ProductKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</ProductKey>
    <ShowWindowsLive>false</ShowWindowsLive>
    <TimeZone>Eastern Standard Time</TimeZone>
    <CopyProfile>true</CopyProfile>
    </component>
    It should work.

    BTW, edit your previous post to take the Product Key away!!! You can replace it with Xs.

    Kari
      My Computer


  7. Posts : 6
    Windows 7 Enterprise
    Thread Starter
       #7

    Thank you Kari. Is it suppose to be Xs in the answer file? Just got a little confused since that is a public key.

    I will test this out and see if it works. Thank you!
      My Computer


  8. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #8

    No :).

    Although we try to be honest and show we are against piracy here on the Seven Forums, the pirates are everywhere and product keys valuable for them, so I meant you should use for instance X's here when posting, instead of posting a valid product key. The sooner you edit your post to remove the key, the better.

    An answer file should and must have a valid MAK / KMS or VLK runtime key.

    Kari
      My Computer


  9. Posts : 6
    Windows 7 Enterprise
    Thread Starter
       #9

    Go it. Thanks!
      My Computer


  10. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #10

    Good.

    Come back to tell how it went.
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 09:59.
Find Us