Windows 10: System Image - Create Hardware Independent System Image

Discus and support System Image - Create Hardware Independent System Image in Windows 10 Tutorials to solve the problem; How to: System Image - Create Hardware Independent System Image How to Create Hardware Independent System Image for Installing Windows 10 [img]... Discussion in 'Windows 10 Tutorials' started by ThrashZone, Oct 3, 2014.

  1. System Image - Create Hardware Independent System Image


    How to: System Image - Create Hardware Independent System Image

    How to Create Hardware Independent System Image for Installing Windows 10


    System Image - Create Hardware Independent System Image [​IMG]
    Information In this tutorial we will prepare a Windows 10 image customizing the default user profile and install software we want to include in a clean Windows installation. When everything is as we want we will generalize the image, making it totally hardware independent. This image can then be used to install (deploy) Windows 10 to any hardware setup, any physical or virtual machine capable to run Windows. You can create the image on a Windows running on Parallels virtual machine on a Mac, take the image and use it to install Windows on your new desktop.

    Default User Profile is stored in a hidden folder in main profile folder Users. When a new user is created, either when installing Windows or any time later, Windows uses this default profile as base for the new user profile. As you might know Windows does not create the user folders for a new user instantly when the user account is created; instead the user profile folder is first created when the new user signs in to Windows first time. This is why the first sign in to a new user account takes a bit longer, Windows needs some time to copy the default profile to new user profile and create the user.

    In this tutorial we do the customization in so called Audit Mode. It is a special mode of Windows, allowing us to interrupt Windows installation to customize and install all software we want to include in image before any user accounts are created. When finished, we run Windows System Preparation Tool (Sysprep) to generalize the image. Generalizing removes all hardware related information and drivers from the image making it universal, hardware independent. When finished we create a system image containing our image and instead of installing Windows on a new computer traditionally we simply restore the image. Notice that this is much faster than installing; the same computer that requires 20 minutes to install Windows from a DVD needs less than 10 minutes to restore an image containing not only the full Windows OS but also the software we included in image. (Times from "test for fun" I did a few hours ago, installing Windows on an i5 / 6GB desktop and directly thereafter wiping the HDD and restoring an image I had created earlier.)

    Although this procedure as described in this tutorial contains some advanced methods and commands, it is in fact quite an easy task. Doing as instructed, following the tutorial to the letter, there's no reason why a user with quite basic knowledge of Windows couldn't make it.

    Please post any questions and concerns in this thread.



    System Image - Create Hardware Independent System Image [​IMG]
    Tip To get better screenshots I did this on a Hyper-V virtual machine running on Windows 10 Tech Preview. Using a virtual machine as reference computer is easy, images which will be created are exactly the same except one very positive thing: a Windows installation on a virtual machine is smaller than the same installation on a physical computer, so an image created on a vm is also smaller.

    If interested check this tutorial for creating a Windows vm on Hyper-V: Hyper-V virtualization - Setup and Use in Windows 10

    System Image - Create Hardware Independent System Image [​IMG]
    Note In this tutorial we will use the free Macrium Reflect imaging software to create our system image and later deploy it (install) to another computers. Before you start, download Macrium, install it on any computer and create the Macrium Rescue Disk as instructed when you launch Macrium first time.

    You can of course use any third party imaging software you are familiar with, or the Image-X from Microsoft. If you decide to use Macrium, my esteemed fellow geek Wolfgang has made an easy to follow tutorial which you'll find at our sister site The Seven Forums: Imaging with free Macrium - Windows 7 Help Forums.

    If creating the Macrium Rescue Media causes problems, see this excellent tutorial by Colin, another fellow senior geek: http://www.sevenforums.com/tutorials...usb-drive.html.

    CONTENTS:

    Part One: Install Windows
    Part Two: Customize Default User Profile
    Part Three: Create an Unattended Answer File
    Part Four: Run Sysprep
    Part Five: Create the system image
    Part Six: Deploy (install) Windows using your customized image






    Part One [/i] Install Windows, enter Audit Mode

    1.1) Boot your computer or virtual machine normally from a valid Windows install media

    1.2) Follow the steps in our installation tutorial until you reach Step 12 and see this screen:

    System Image - Create Hardware Independent System Image [​IMG]

    1.3) Do not click any buttons nor press Enter. Instead press CTRL + SHIFT + F3 (press and hold down both CTRL and SHIFT keys, press F3, release all keys)

    1.4) Windows reboots now entering a so called Audit Mode using the built-in administrator account. When Windows Desktop will be shown you'll notice the System Preparation Tool dialog in the middle of your screen. Close it for now by pressing the Cancel button:

    System Image - Create Hardware Independent System Image [​IMG]




    Part Two [/i] Customize Default User Profile

    2.1) You can now change the Windows colors, sounds, wallpaper and theme, icon placing and folder view options. You can set Internet Explorer home page and favorites, install applications and so on

    2.2) For this tutorial I did the following customizations (numbers in screenshot, see explanations below):

    System Image - Create Hardware Independent System Image [​IMG]

    1. Placed shortcuts for Mail and News app and PC Settings to desktop
    2. Installed VLC Player and Office 2013 Professional. As Office 2013 can be installed without a product key which is first asked when one of the programs in Office suite is launched first time, it can be included in this image and only needs a product key when image is deployed to a computer and its user wants to use Office. If user does not need or want Office, it can then be easily uninstalled. Placed VLC and Office shortcuts to bottom left
    3. Set Explorer icon view = large icons, set ribbon to be shown, added Libraries to Explorer left pane tree view
    4. Added my favorite forums to IE favorites
    5. Changed the default homepage to https://www.tenforums.com/
    6. Changed the wallpaper and theme colors
    2.3) You can change and customize quite a lot but there are a few things that can't be set now for default user profile. Pinned Taskbar icons and Start Menu / Start Screen items for instance will not be copied to default user profile. A rule of thumb: You can customize everythin related to themes, fonts, colors, sounds, icons, desktop and IE. You cannot customize anything on Start Menu and Taskbar.




    Part Three [/i] Create an Unattended Answer File

    3.1) We are almost ready. We just need a so called Unattended Answer File, a set of instructions in an XML script file to tell Sysprep what we want it to do. An answer file must follow strict syntax rules and it contains all command we want to pass to Sysprep in order to modify the Windows image as we want to.

    I have prepared the answer file needed for this procedure. Copy and paste the below code to a new file in Notepad:

    Code:
    Change the following details if needed (see the parts in red in above code):
    • The value of variable ProcessorArchitecture must be "amd64" if you are installing a 64 bit Windows regardless of if you have an Intel or AMD processor, and "x86" if you are installing a 32 bit Windows
    • The value in CopyProfile tags must be True if you want the customizations to be copied to default user profile
    • On the last line of code, change the location of Windows 10 install media. In this example the media is on drive X:
    • Following the install media location, separated with #, see that you have the Windows version correctly (Windows TECHNICALPREVIEW for Windows 10 Tech Preview). Notice that the installation media must be present when we continue with Sysprep!

    System Image - Create Hardware Independent System Image [​IMG]
    Tip For advanced users:

    I like to use Sysprep and an answer file to completely relocate the main user profile folder Users to another disk, to save space on C: drive. The method is described more in-depth in tutorial here but if you want to, you can easily add the relocation commands to above answer file. See the below example answer file, the lines in red are the additional lines needed in order to tell Sysprep to move the C:\Users to D:\Users. This answer file would not only customize the default user profile but also move the complete Users folder to another drive:
    Code:
    The new location of the Users folder must be told in <ProfilesDirectory>D:\Users</ProfilesDirectory> tags, in this case D:\Users.

    3.2) Save the file as an XML file to root of any drive except C:. In this example I save the answer file there as D:\customize.xml:

    System Image - Create Hardware Independent System Image [​IMG]

    3.3) Close the Notepad




    Part Four [/i] Run Sysprep

    4.1) Press WIN + X, select Command Prompt (Admin). To ensure that WMP Network Sharing Service is stopped, give the following command:

    net stop wmpnetworksvc


    The service is most probably not running but if it is, it will now be stopped. When this service is running, Sysprep fails.

    4.2) Now the Sysprep command itself. Type the following:

    %windir%\system32\sysprep\sysprep.exe /generalize /oobe /shutdown /unattend:d:\customize.xml

    The above command tells system to run the Sysprep from Windows\System32\Sysprep folder reading instructions from the unattended answer file D:\customize.xml, generalize Windows (remove all hardware related information), prepare the computer for an OOBE boot (OOBE = the first boot of newly installed Windows)and finally shutdown the computer when ready:


    System Image - Create Hardware Independent System Image [​IMG]

    4.3) Hit Enter, you will see Sysprep starting to do its magic and when done, shutting down the computer:


    System Image - Create Hardware Independent System Image [​IMG]





    Part Five [/i] Create the system image

    5.1) Boot your reference computer we just sysprepped with your Macrium Rescue Disk (or use any other imaging software you are familiar with)

    5.2) If your reference computer uses BIOS, see the screenshot for what to include in image:


    System Image - Create Hardware Independent System Image [​IMG]


    5.3) If your reference computer uses UEFI, see the screenshot for what to include in image:


    System Image - Create Hardware Independent System Image [​IMG]

    5.4) Create the system image as instructed in respective user guides and tutorials for the imaging software of your choice

    5.5) Shutdown the computer. If you reboot it now letting it boot from the hard disk, Windows will continue the installation from where we left it in Part One Step 1.2




    Part Six [/i] Deploy (install) Windows using your customized image

    6.1) To install or rather deploy (a fancy geek word meaning installing Windows from a premade image) Windows to any other computer using the customized image you have to boot the PC in question with Macrium Rescue Disk and use the image restoration feature. If you made the image using another imaging solution, use the sam software for restore.

    6.2) When the image is restored, reboot the computer and it will continue from the point told in Part One Step 1.2. No user accounts exist, Windows is "virgin" like after a clean install, with one big difference: When you arrive at Desktop first time you'll notice that all customizing we did in Audit Mode is there. The apps you installed, theme and colors, icons there where you put them, wallpaper, everything.

    See the screenshot in Part Two Step 2.2 and compare it to this screenshot after I have restored the image:

    System Image - Create Hardware Independent System Image [​IMG]

    1. Shortcuts for Mail and News app and PC Settings are where we placed them
    2. Installed apps VLC Player and Office 2013 Professional there, shortcuts exactly where we placed them
    3. Explorer icon view = large icons, ribbon shown, added Libraries in Explorer left pane tree view, exactly as set in Audit Mode customization
    4. Favorites as we set them, homepage https://www.tenforums.com/ as set
    5. If you did as told in the tip for advanced users in Part Three Step 3.1, the main profile folder has been moved to D:
    6.3) Last check: Let's create a new local user and login to that account. As we can see, everything really works as we wanted, the new user has all the customizations in his profile as the screenshot shows (I just moved the app shortcuts to show the Start Menu):

    System Image - Create Hardware Independent System Image [​IMG]

    6.4) Notice that the synchronization settings of a Microsoft Account override all other customizations. When a Microsoft Account is used to sign in to Windows 10 and following settings are enabled, they override all other customizations:

    System Image - Create Hardware Independent System Image [​IMG]

    Customizations work only if the above sync settings are disabled, and on all local user accounts.



    That's it, you have now created a customized Windows image and can use it instead of usual install media to install Windows 10 Technical Preview to any computer.

    Kari


    Related Tutorials

    :)
     
    ThrashZone, Oct 3, 2014
    #1
  2. Sumit Dhiman2, Oct 3, 2014
    #2
  3. custom Refresh Image and create System image

    Yes, you can.
     
    Andre Da Costa, Oct 3, 2014
    #3
  4. chun96 Win User

    System Image - Create Hardware Independent System Image

    Can this be done on Windows 8.1 and Windows 7?
     
    chun96, Oct 10, 2014
    #4
  5. Kari Win User
    Hi Chun, welcome to the Ten Forums.

    Yes. This method works on all versions and editions of Windows since Windows Vista, the procedure being exactly the same in Windows 8 & 8.1 and slightly different in Windows 7.

    Tutorial for Windows 7: http://www.sevenforums.com/tutorials...udit-mode.html

    To completely customize and create Windows 7 image in Audit Mode: http://www.sevenforums.com/tutorials...e-sysprep.html.
    (The above mentioned tutorial also applies to Windows 8 and later except a few minor details.)

    If you are only interested in customizing the default user profile, here's the tutorial for it for Windows 7: http://www.sevenforums.com/tutorials...tallation.html.

    The user profile customization for Windows 10 (also applies to 8 & 8.1): https://www.tenforums.com/tutorials/2...dows-10-a.html
     
  6. chun96 Win User
    Thanks Kari.

    Another question. Currently I am using EaseUS Todo Backup Free and I found out that it can only restore an image to a partition that is the same size as the original one. Can Macrium Reflect Free restore image to a partition with different sizes?
     
    chun96, Oct 11, 2014
    #6
  7. Kari Win User
    Using Macrium (and most of the imaging programs) the HDD must be the same size of bigger than the all partitions total you are restoring to it.

    Some examples:

    Your image only contains a 100 GB drive C:, this image can be restored to any HDD 100 GB or bigger. If the HDD is bigger Macrium creates a 100 GB C: drive and leaves the rest unused. This unused space can then be partitioned as the user wishes.

    If the image contains a 100 GB C: drive on HDD1 and a 200 GB drive D: on HDD2, it can be restored to a system with two hard disks where the HDD1 is at least 100 GB and HDD2 200 GB.

    If the image contains two partitions C: and D: on the same HDD, both 100 GB, this image can be restored to any drive 200 GB or bigger. When restored first 100 GB on new HDD will be used for C:, the next 100 GB for D: and rest unused. In this case the drive C: cannot be expanded later because it is directly followed by the drive D: and the unused space is only after D:.
     
  8. FredM8 Win User

    System Image - Create Hardware Independent System Image

    After a system has been prepared in line with the above, could a Clone created by Acronis or the like be used in another machine ?
     
    FredM8, Nov 28, 2015
    #8
  9. Kari Win User
    Yes. The image will be hardware independent and can be deployed to any hardware capable of running WIndows.
     
  10. FredM8 Win User
    Great stuff !
    Doing a HDD Clone on a drive that is not normally switched on has to be the best back up. That way you are protected form a virus or system faults. I am setting up my machine with some new HDDs, so then I will start to play and experiment.
    Thanks for the info/tutorial !
     
    FredM8, Nov 28, 2015
    #10
  11. Good day sir Kari. i have a problem while doing your tutorial... i am stuck at "just a moment" after continuing the windows installation... whats do you think is the problem sir? by the way i was successful at folowing your tutorial like this on windows 7. thank you very much...
     
    tekkenatin, Feb 10, 2016
    #11
  12. Kari Win User
    More information is needed. What have you done, exact steps you have taken?
     
  13. System Image - Create Hardware Independent System Image

    Thanks for the reply sir. I am at "part 4 Run Sysprep, there was no error during the sysprep process. i also just copied your unattended answer file and replace the correct drive location of the install.wim. My reference computer shutdown properly after sysprep. I created the system image successfully. then i tried to boot my reference computer and continue the os installation but at the part when i press the "use express setting" i was just stuck at "just a moment"

    After i press "use express setting"

    System Image - Create Hardware Independent System Image [​IMG]
    .

    i am stuck at "just a moment"

    System Image - Create Hardware Independent System Image [​IMG]

    credits to the owner of pic

    additional info sir, i also did try and test to install my windows 10 media that i used and it work properly.
    i already tried doing the tutorial for several times, doing several windows 10 install but no luck still the same problem
     
    tekkenatin, Feb 11, 2016
    #13
  14. smokin Win User
    Try this SelfImage

    I used it to resize an 80GB partition down to a 25GB partition.
    I actually imaged a larger drive to the smaller drive.
    There was/is a process involved to get the newer smaller disk/drive to boot properly but it can be done.
     
    smokin, Jun 23, 2016
    #14
  15. smokin Win User
    Very useful tutorial, thank you.

    Following the install media location, separated with #, see that you have the Windows version correctly [/quote] Assuming this method works on other versions of Windows 10...

    How does one determine the correct information for the cpi:source name?
    I.E. that which comes after the #

    Also, for the publickKeyToken ?
     
    smokin, Jun 26, 2016
    #15
Thema:

System Image - Create Hardware Independent System Image

Loading...
  1. System Image - Create Hardware Independent System Image - Similar Threads - System Image Create

  2. create system image

    in Windows 10 Software and Apps
    create system image: just updated to win 8.1 difficulty in find how to do a system image for future recovery. What am I missing? https://answers.microsoft.com/en-us/windows/forum/all/create-system-image/97d4d168-ad0f-4b73-9126-deada0a14ede
  3. create system image

    in Windows 10 Installation and Upgrade
    create system image: I just got a new HP laptop with Windows 10 installed. How do i create system image or repair disc so i can reload Windows if needed? https://answers.microsoft.com/en-us/windows/forum/all/create-system-image/85580817-ed8a-415b-8225-143159961fff
  4. Create system image

    in Windows 10 Installation and Upgrade
    Create system image: I have heard roumors that the function "Create System Image" that is included in Windows 10 will be removed soon. Can anyone tell me when Microsoft intends to remove this function from Windows 10? Kind regards...
  5. Create System Image

    in Windows 10 Installation and Upgrade
    Create System Image: Hi there I am trying to create a system image of my primary drive. This includes 3 partitions: EFI System Partition, System C: and a hidden recovery partition. The problem is that in drives selection page I don't see the recovery partition as you can see in the photo....
  6. Creating a system image

    in Windows 10 Installation and Upgrade
    Creating a system image: Hi, I wanted to create a system image . I have some screen shots for the issue.Note that this has not been an issue before 2004 version. As you can see in the screen shots "Back up and Restore" includes D: in system but in the computer management it is not a...
  7. CREATE A SYSTEM IMAGE

    in Windows 10 Installation and Upgrade
    CREATE A SYSTEM IMAGE: Trying to create a system image for my Windows 10 desktop to a usb 3.0 flash drive formatted for NTFS as required. Receiving an error message "the drive is not a valid backup location". Can anyone help?...
  8. Create a System Image

    in Windows 10 Installation and Upgrade
    Create a System Image: I have a Dell Latitude E6540 running Windows10. I am trying to create a System Image. I am trying to put it on a external hard drive. I have an older Seagate 500GB hard drive that I put into a Sabrent USB 3.0 3.5" SATA Hard Drive Aluminum Enclosure. I open the control panel...
  9. Create a System Image

    in Windows 10 Installation and Upgrade
    Create a System Image: THE RPC SERVER IS UNAVAILABLE. [0x800706BA] How to fix it? https://answers.microsoft.com/en-us/windows/forum/windows_10-update/create-a-system-image/95446696-2248-4748-ae35-8e3c4b340128
  10. Creating a System Image

    in Windows 10 Installation and Upgrade
    Creating a System Image: When I try to create a system immage, it starts then error 0x800706ba appears and it stops https://answers.microsoft.com/en-us/windows/forum/windows_10-update/creating-a-system-image/9877495c-d9a8-47dd-8847-de3fb145c981