Windows 10: Upgraded PC win7 to win10 tried to install image activation not valid?

Page 2 of 3 FirstFirst 123 LastLast
  1. Kari's Avatar
    Posts : 10,068
    Windows 10 Pro
       12 Jun 2016 #11

    MikeNomad said: View Post
    Hi I followed the sysprep tutorial...
    Which tutorial you followed? I assume we are speaking about this one: Windows 10 Image - Customize in Audit Mode with Sysprep - Windows 10 Forums

    MikeNomad said: View Post
    I see ok, so at what point does Windows try to activate - when I first install windows on the VM I have internet disabled after I enter sysprep I enable internet access so I can dl and install the software I want to use. should I image before I create a new user or just make sure the internet is off before creating the new Admin and standard user which I customise and copy to the default profile?

    I am asuming while in sysprep mode windows will not try and activate?
    I am not rewriting the complete tutorial here but to summarize how the process should be done, check this list and see if you did something differently. List is based on scenario you told, a Windows 10 PC upgraded from Windows 7, before starting the process PC is activated with digital entitlement, and Hyper-V vm is used to create the image.
    1. Create the vm, Generation 1 if the image will be deployed to BIOS / MBR systems, Generation 2 if the image will be deployed to UEFI / GPT systems
    2. Make sure that virtual hard disks on it are a bit smaller than smallest physical hard disks on any of the computers the image will be deployed to
      • Example 1: If the physical computer(s) only have one HDD or SSD, and the smallest of them is 512 GB, use a max. 500 GB virtual hard disk on vm
      • Example 2: If the physical computer(s) have two hard disks and your answer file customizations also relocate some system elements like Users folder to another disk, create vm adding two virtual hard disks. Both virtual disks must be a bit smaller than the smallest primary disk and smallest secondary disk on computers the image will be deployed to. If the smallest physical HDD is 512 GB and smallest secondary HDD 1 TB, make the vm with max 500 GB primary VHD and max 900 GB secondary VHD
      • If no system elements will be relocated to another drive than system drive C: then you only need one VHD, regardless how many disks the physical computers have
    3. Clean install Windows 10 to your new vm, boot it to Audit Mode from first settings dialog after the installation
    4. Install your software, customize default user profile, update Windows
    5. Create the answer file
    6. Run sysprep with your answer file, Windows will shut down automatically
    7. Capture the image. In the tutorial I use the easiest possible method, booting the vm with Macrium Reflect Free boot disk / USB and creating a system image
    8. Boot the physical computer(s) with Macrium boot disk / USB, restore the image
    9. Boot the physical computer(s) normally to OOBE mode, set up the initial user
    10. When on desktop, let the PC be on and connected to Internet, it might take, based on my own experience, anything up to a few hours for Windows to pick up the digital entitlement and activate

    That's it. On above list, steps 1 to 6 are shown in first video included in the tutorial, covering tutorial parts 1 through 6, steps 7 through 10 on above list are shown in the second video, covering tutorial parts 7 through 9.

    Kari
      My System SpecsSystem Spec

  2.    12 Jun 2016 #12

    Hi sorry yes you sysprep tutorial, after I Run sysprep with your answer file, Windows will shut down automatically on reboot I am back in as the Administrator and greeted with
    Click image for larger version. 

Name:	Screenshot_5.png 
Views:	23 
Size:	9.5 KB 
ID:	84825

    is this normal ? I should image at this point and then setup the users once I have imaged the disk, I guess thats where I went wrong the first time

    thanks for your help
      My System SpecsSystem Spec

  3. Kari's Avatar
    Posts : 10,068
    Windows 10 Pro
       13 Jun 2016 #13

    MikeNomad said: View Post
    Is this normal?

     Short answer

    NO and YES.

    No, that is not normal and does never happen when a user follows the instructions given in tutorial.

    Yes, that is normal and happens often when user does not follow the instructions given in tutorial.


     Long answer

    Windows starting back to Audit Mode and showing the Sysprep dialog means that you have not followed the instructions, not told Sysprep to exit Audit Mode and next time when started start in Windows OOBE Mode.

    I suggest you start from scratch, this time following the instructions in the tutorial. Especially if a certain procedure is not familiar to you, it is important to follow the instructions given in order they are given. Read every step carefully, if watching the videos pause it often to think what you have seen, go back and play again if something was not clear.

    There are no unnecessary steps or instructions in the tutorial, the procedure will fail if you decide something like "Oh that step / command must not be important, I'll skip it / do it differently".

    Install Windows, boot to Audit Mode with CTRL + SHIFT + F3 from first setup dialog (Custom settings / Express settings). When in Audit Mode desktop, close the Sysprep dialog as told in tutorial step 2.2:

    The Windows System Preparation Tool (later in tutorial Sysprep) dialog is automatically shown when Windows enters the Audit Mode. For our purposes now we need to close it without running it. Click Cancel to close the dialog.
    Customize Windows (tutorial parts 3 through 5). Open an admin command prompt as told in step 6.1, jump to Sysprep folder as told in step 6.2, then run sysprep as told with this command:

    Code:
    sysprep.exe /generalize /oobe /shutdown /unattend:E:\customize.xml

    The first highlight in above command (/oobe) tells system to start in normal mode, Windows setup mode OOBE when Windows will be started next time.

    The latter highlight in above command shows where you enter the path and name of your answer file.

    Now boot with Macrium boot disk and capture / create the image for deployment as told in tutorial (Part 7 if the image will never be deployed / restored to any other PC than the one you have been working with, Part 8 if your intention is to deploy & restore the image to other computers, too).

    Kari
      My System SpecsSystem Spec

  4.    13 Jun 2016 #14

    Thanks Karl, In the tutorial it says to open up the answer file to check it is correct do I need to change the wim.install to point to the CD I am using to install windows or leave it pointed to the desktop version I coppied and made writable ?
      My System SpecsSystem Spec

  5. Kari's Avatar
    Posts : 10,068
    Windows 10 Pro
       13 Jun 2016 #15

    MikeNomad said: View Post
    Thanks Karl, In the tutorial it says to open up the answer file to check it is correct do I need to change the wim.install to point to the CD I am using to install windows or leave it pointed to the desktop version I coppied and made writable ?
    As long as the CPI Source points to a valid install.wim, everything is OK, regardless where install.wim is. At Sysprep phase it does no longer need to be writable, it's only important when creating a catalog file from it to make an answer file.
      My System SpecsSystem Spec

  6.    13 Jun 2016 #16

    Ok I will try again thanks for the help
      My System SpecsSystem Spec

  7.    13 Jun 2016 #17

    Ok so I followed the guide step by step
    I installed programs using chocoltey, I installed office2016 and adobe cloud, I installed photoshop, dreamweaver, I set a default theme, I edited the policy settings to lock down the PC I set the start menu and lock screen images, I uninstalled most of the windows apps, I installed avast business and disabled until reboot

    this is my sysprep working as I expected
    Click image for larger version. 

Name:	Screenshot_6.png 
Views:	2 
Size:	70.3 KB 
ID:	84974

    I created an image file then restarted the machine and get this error
    Click image for larger version. 

Name:	Screenshot_7.png 
Views:	15 
Size:	6.6 KB 
ID:	84975

    guess its back to the drawing board
      My System SpecsSystem Spec

  8.    13 Jun 2016 #18

    And this is my xml file
    Click image for larger version. 

Name:	Screenshot_8.png 
Views:	2 
Size:	59.3 KB 
ID:	84976

    I created a checkpoint prior to running the syprep cmd
      My System SpecsSystem Spec

  9. Kari's Avatar
    Posts : 10,068
    Windows 10 Pro
       13 Jun 2016 #19

    First something I noticed in your screenshot: Sysprep will automatically use an answer file unattend.xml in C:\Windows\System32\Sysprep folder.

    Therefore, if the answer file is named as unattend.xml AND it is saved in C:\Windows\System32\Sysprep folder, then the /unattend:X:\AnswerFilePathAndName.xml switch is not needed.

    If the answer file is named anything else than unattend.xml OR it is not saved in C:\Windows\System32\Sysprep folder, then the /unattend:X:\AnswerFilePAthAndName.xml switch is required.

    Examples:
    • Answer file unattend.xml saved in C:\Windows\System32\Sysprep folder, sysprep command is:
      Code:
      sysprep.exe /generalize /oobe /shutdown
    • Answer file anyname.xml saved in C:\Windows\System32\Sysprep folder, sysprep command is:
      Code:
      sysprep.exe /generalize /oobe /shutdown /unattend:C.\Windows\System32\Sysprep\anyname.xml
    • Answer file unattend.xml saved in D:\Sysprep folder, sysprep command is:
      Code:
      sysprep.exe /generalize /oobe /shutdown /unattend:D:\Sysprep\unattend.xml

    The answer file is OK, assuming your Windows is 64 bit. I have not a clue why Windows failed to finish OOBE boot.

    Did you install any third party AV suite other than Windows Defender in Audit Mode? Those can easily screw up Sysprep (Avast, Avira, Panda and so on) and should never be installed for an image that will be sysprepped.

    Some of them do not disturb the process if they are completely turned off when sysprepping but the above recommendation is generally speaking better: simply do not install any third party AV programs in Audit Mode before sysprep.

    As you have a checkpoint, you can check this quite fast. Restore the checkpoint, uninstall any third party AV and if possible remove all traces of it from registry, then sysprep again.

    To avoid extra work, when the vm shuts down after Sysprep, right click it in Hyper-V Manager and create a checkpoint (they can be created also when vm is turned off!). When done, start the VM to test. It's unnecessary to create an image every time you have syspreppd and shut down, only create a checkpoint, do a test run and if / when everything is OK apply the checkpoint and create the image.

    Kari
    Last edited by Kari; 15 Jun 2016 at 04:19. Reason: Worst typos fixed
      My System SpecsSystem Spec

  10.    14 Jun 2016 #20

    Bingo looks like Avast was the problem, it restarted with the correct screen

    - I will create an image and try it out on the machine - thanks for your help
      My System SpecsSystem Spec


 
Page 2 of 3 FirstFirst 123 LastLast

Related Threads
Activation method Win7 v Win10 in Windows Updates and Activation
I just reinstalled Win7 Ultimate x64 on a SLIC-enabled Dell laptop (same OS as the OEM installed) by inserting the appropriate VLK when prompted during installation, followed by running slmgr.vbs -ilc with the appropriate digital certificate once...
Hello, I haven't installed Win 10 since it was introduced and from reading and hearing from others who have done it, it seems that there are still some issues that people are facing with this new OS, and I currently only want to install Win 10...
I deleted the win7.old folder is there another way to install win7 by removing win10 and still keep the files, since it's saying it will completely delete win10 and files and folders but I want to keep the files I have there
Dual install - WIN10 and WIN7 in AntiVirus, Firewalls and System Security
I did a dual install with win10 and win7 - after installation of win10 went and ran win7 and nearly all my executable icons had a security shield on them. I wanted to keep my win7 install with all my stuff on - just me. ;) Why did win10 do this...
Hi All, I successfully upgraded from Win 8.1 to Win 10 (both Pro 64-bit) in PC's old HDD. Now I want do a clean install on a brand new SSD. I have a few questions before I buy the SSD. 1. First off, is it possible to do a clean install of Win...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 23:24.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums