Creating an installation image of windows 10. Creating a customized image of the operating system. A note about setting user parameters

Hello. Thanks for answering.

But my problem is a little different.

I wanted to activate Windows which is in the AiRecovery section.

I have a license in the AiRecovery windows 7pro x64 section.

After installing from the AiRecovery partition via F9

activated with a key on the back

laptop lid, 100% no problem.

Now just a little inconvenience after

installations from the AiRecovery section. Before renovation

when i installed windows 7 it automatically

activated. If the Internet was not connected, then windows

installed with 3 day automatic activation,

if within 3 days there was no access to the network, then windows

switched to a 30 day trial status, and activate

could be done manually.

Now, when installed in the right

in the lower corner of the screen under the ASUS obviatorium in small print

writes that I'm using a non-legal version of windows.

And after installation, the screen is black, installation

picture is not installed. This means that I must

activate windows manually every time and after

activation install installation image

also by hand.

4 years ago there was an article on asus.ru

Editing the Recovery partition. The article included such

After the successful completion of the process, you need to boot the laptop from the actual disk ... and ... The loaded OS, which we deployed from the images, will be launched in Audit mode.

I did not succeed, apparently the article was written

for windows 7 x32.

On the official website of asus I found

If you have configured your Windows image to boot to OOBE, but then need to make further configurations to your image in audit mode, you can do one of the following:
Use the CTRL+SHIFT+F3 keyboard shortcut. The computer will reboot into audit mode.
This option may trigger any scripts that you have configured to launch in OOBE

and the only way I was able to get into the audit mode. By activating Windows

and after passing the “generalize” I lost two drivers

these are video and audio drivers.

In general, with Windows activation

everything worked out, but since I reinstalled the drivers

Windows turned out to be about 500 megabytes longer.

And I have 3 questions:

one). Is it possible to combine the swm images into a wim image in the AiRecovery section and activate windows in it,

as this is the best way to solve this issue.

2). If not, is it possible to prevent the flight

video and audio drivers when going through “generalize”.

3). If not, is it possible to activate drivers that,

if you look at the volume, most likely deactivated

when passing “generalize”

since when installing new drivers, the volume of windows increases by the volume of the newly installed drivers.

This documentation has been archived and is no longer maintained.

Building and Deploying a Windows 10 Classic Edition Image (Home, Pro, Enterprise, and Education)

In this article

You can use the Windows Imaging and Configuration Designer (ICD) to create a new Windows 10 desktop image and customize it with drivers, apps, language packs, settings, and more. You can also create deployment media in a folder or USB key.

Note This imaging method requires a Windows Image file (Install.wim) that contains a base Windows image.

Building a custom Windows 10 image for classic editions

    On the Windows ICD start page, select the command.

    You can also choose Create project... on the menu File.

    In the window Enter project details indicate Name and Location your project. Optionally, you can also enter a short Description to describe your project.

    If you have chosen a team Create a new custom Windows image on the start page, skip this step.

    In the window Select a project workflow select Working with images from the list of available project workflows and click the button Further.

    In the window Selecting the source format for creating the image select item Windows image based on .wim file and press the button Further.

    In the window Image selection click Review to start File Explorer. Search and find the path to the Install.wim file.

    After selecting the Install.wim file, all Windows images in the .wim file are listed in the panel Available Skins. By default, the first Windows image in the list is selected, and information about that image is displayed in the panel. Image Information.

    Select the Windows image you want to use and click the button Further.

    Optional. If you have a provisioning package that contains customizations already made in another project and you want to reuse them from that package, click Review on the screen Import a provisioning package and find the provisioning package exported from another project.

    Note You can only import one provisioning package.

    Click the button Ready.

    All settings that can be customized based on the selected edition of Windows will be loaded. Once all available settings have loaded, the settings page will be displayed.

    On this page, select the resources and options you want to configure from the panel Available settings. Here may be:

    • Applications
    • Driver set
    • Drivers
    • Components on demand
    • Language Packs
    • Reference device data
    • Options
    • Windows updates

    For more information about configuring resources and settings, see .

    Note

    • The resources and options available for customization depend on the edition of Windows you selected in the previous step, so not all of these resources may be available.

      Adding language packs can include a set of dependencies. See the article for more information.

      If you want to add languages ​​to the Windows Recovery Environment, you will need to do so separately. See the section for more information.

    Not necessary. Once you've finished configuring your custom image, you can export a provisioning package if you want to reuse all or most of the settings configured in that project.

    To do this, click the dropdown Export in the main menu, select Preparation package, add the required information about the package, set the options, and create the package.

    If you've finished configuring your custom image, or finished exporting your provisioning package (optional), create the media that will host the image.

    To do this, click Create from the main menu, and then select one of the media types.

    • Working media- media to be used by OEMs. This carrier can be run in full autopilot mode. This media provides the ability to boot in audit mode and use an optional test script.

      The production media provides several optimization options to save deployment time.

      Clean install media- This media can only be used by the end user for a clean install. This media starts up the first time the computer is turned on, waits for end user input, and continues to boot into desktop mode. The installation itself is completed before starting the first time you turn on the computer.

      When you build the clean install media, all resources are placed in the provisioning package along with the install.wim file. The .ppkg file is not embedded in the installation, but is embedded in the operating system during deployment.

      System recovery media- this media can only be used by the end user to recover the data of a partially functioning (signs of life) device. It can only be in WIM image format.

    • On the screen Select image format you can choose WIM or FFU format to create the image.

      • WIM- the image is created in the Windows Image (WIM) file format.

        This option lets you build the media in a local folder on your computer or on a network folder, or create bootable media on a USB drive.

        FFU- the image is being assembled in the Full Flash Update (FFU) file format.

    • You can also select image options, such as enable compact OS and define first-boot behavior. This includes booting in audit mode and selecting a script to run during the first boot.

      On the screen Deployment media select the type of media you want to create.

      • If this option is selected, enter or select the path for the destination.

        Create a bootable USB drive- a bootable media is created on a USB drive.

        If this option is selected, Windows ICD detects all available USB drives connected to the host computer and lists them in a drop-down list Output drives. If Windows ICD does not detect USB drives, connect the USB drive to your computer and click Refresh.

    Click the button Further, and then click Build to start building the image. Project details are displayed on the build progress page, and a progress bar indicates the status of the build.

    To cancel the build, click the button Cancel. The current build process will be cancelled, the wizard will close and you will be returned to the settings page.

    If the build fails, an error message will be displayed with a link to the project folder. You can review the logs to determine what caused the error. After you resolve the issue, try building the image again.

    If the build is successful, the image name, output directory, and project directory will be displayed.

    • If needed, you can build the image again by selecting a different image format, selecting the deployment media (or both), and starting another build. To do this, click Back to select the item you want to change and click Further to start another build.
    • When you're done, click the button Ready to close the wizard and return to the settings page.

    Important The files generated when creating media with Windows ICD should only be used for installation during boot from media. Partners must not modify or use these files for purposes other than downloading from media.

Deploying an image on a computer

    Insert the USB drive that contains the bootable media into your computer and boot your computer from the USB drive.

    Enter your product key.

    Accept the terms of the license agreement and wait for the installation to complete.

This documentation has been archived and is no longer maintained.

Applying the Sysprep Tool to a Windows Installation (Getting Started)

Use the tool Sysprep to prepare the Windows installation. To deploy a Windows image to different computers, you must first prepare the image. You can use the System Preparation Tool (Sysprep) or you can specify a setting in a response file to prepare the image as part of an unattended installation. To prepare an image, you must remove information about a specific computer from it. This process is called preparation image.

In most Windows 8 deployment scenarios, it is no longer necessary to use the SkipRearm answer file option to reset the Windows activation clock when you run the command Sysprep on the computer several times. In Windows 8, the SkipRearm parameter is used to indicate the licensing status of Windows. If you provide a retail product key or a volume installation key, Windows will automatically activate. team Sysprep can be run up to 8 times with a single Windows image. After running Sysprep 8 times on a Windows 8 image, you must reimage Windows. For more information about the Windows features and settings that can be added to an answer file, see the Windows Unattended Setup Reference .

Attention

Do not use the Windows Store to update the Windows Store app before running sysprep /generalize. Sysprep cannot prepare the image in this scenario. This issue also affects Windows Store apps that are included with Windows 8 (such as Mail, Maps, Bing Finance, Bing News, and more). This can happen when you set up an audit mode installation as a built-in administrator, or when a special account is used. The following error appears in the sysprep log files (%WINDIR%\System32\Sysprep\Panther):

Was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.

For work Sysprep /generalize all applications are required to be provisioned for all users. However, when you update an app from the Windows Store, that app becomes unprovisioned and account-bound.

Instead of using the Windows Store to update apps, you should download unpublished updates to line-of-business apps or prompt users to update apps on target computers using the Windows Store. In managed environments where access to the Windows Store has been disabled by your IT administrator, you won't be able to update Windows 8 Store apps.

If your Network Policy Server (NPS) configuration defines RADIUS clients or external RADIUS server groups, you must remove this information before deploying to another computer. See the section for more information.

In this section

Preparing the image for use

When preparing a Windows image, Windows Setup handles the settings in the configuration pass. Even if the technician computer and the reference computer have the same hardware configuration, you must run the command Sysprep with parameter /generalize. Team Sysprep /generalize removes unique system information from a Windows installation, making it safe to use the image on another computer. However, you can save the drivers during the provisioning setup pass.

Important

When you set up a reference computer, Windows Setup installs drivers for all detected devices. By default, Windows Setup uninstalls these drivers when the system is ready for use. If you are deploying the image to computers with the same hardware and devices, you will need to have Windows Setup install the same drivers again. To leave these drivers on the computer during system preparation, set the Microsoft-Windows-pnpsysprep | PersistAllDeviceInstalls value true. Learn more about Windows-related components Sysprep that you can add to your answer file, see the Unattend Windows Setup Reference .

When executing the command Sysprep Windows only replaces the computer security identifier (SID) on the operating system volume. When Sysprep prepares the image, only the general partition is prepared. Therefore, if several operating systems are installed on the same computer, you must run Sysprep for each image separately.

Preparing the image for use

    Add one of the following options to your answer file.

    • Use the Microsoft-Windows-Deployment | Generalize . Set Mode to OOBE or audit, and for ForceShutdownNow the value true. The computer will automatically prepare the image for use and exit.

      Add the setting Microsoft-Windows-Deployment | Reseal in the setting phase. Set Mode to audit. After booting the computer in audit mode and displaying the window System Preparation Tool use one of the following methods:

      • In the window System preparation program select Preparation for use and click Shutdown, and then click OK.

        Close the window System Preparation Tool %WINDIR%\system32\sysprep. Use command Sysprep with parameters /generalize, /shutdown and /oobe. For example:

        The computer will prepare the image for use and exit.

    Dism /capture-image in the Deployment Image Servicing and Management Tool ( DISM).

See the and sections for more information.

If you need to configure additional settings, you can enter audit mode manually and complete the configuration before preparing the image for use and deploying it.

Optional action. Entering audit mode manually before preparing an image for use

    When the startup screen appears when you turn on your computer for the first time, press CTRL+SHIFT+F3. Windows will restart the computer in audit mode and a window will appear System preparation program.

    Attention

    The Ctrl+Shift+F3 keyboard shortcut prevents you from skipping all the steps in the startup process when you turn on your computer for the first time, such as running scripts and applying answer file settings in the configuration pass.

    Add any settings you want to enable.

    In the window System preparation program select Preparation for use and click Shutdown, and then click OK

    Close the window System Preparation Tool, open a command prompt window as an administrator and navigate to the directory %WINDIR%\system32\sysprep. Use command Sysprep with parameters /generalize, /shutdown and /oobe. For example:

    Sysprep /generalize /shutdown /oobe

    The computer will prepare the image for use and exit.

    After the computer is shut down, capture the image using Image Capture. For this you can use the command Dism /capture-image in the facility DISM.

    Deploy this image to the reference computer. When booting up the reference computer, the startup screen will appear when you turn on the computer for the first time.

For more information about audit mode, see the topics.

Want to optimize Windows 10? Then you need to create a custom system installer that will install a clean OS without unnecessary applications and add-ons. See how to create an ISO image of Windows 10.

Windows 10 has a number of add-ons that many users never use. Along with the system, Modern programs such as Skype for Windows 10, Weather, Mail, Contacts and Maps are installed. Not to mention games like Candy Crush Soda Saga from the Windows Store. Added to all this are features that annoy many users, including Microsoft telemetry (data collection), the built-in OneDrive cloud, and many other additions that were not in the widely popular version of Windows 7.

Many are looking for ways to remove these unnecessary applications and features preinstalled in the system. But you can approach this problem from the other side and make changes to the system installation image itself so that these additions are not added at all during the installation of Windows 10.

Thus, you can create a custom image of Windows 10 that will immediately install a clean system without unnecessary add-ons.

What do you need to create your own Windows 10 installer?

You can make changes to the ISO image with Windows 10 using the MSMG Toolkit utility. This program allows you to make changes to the ISO image and create your own installer. That is, you can remove all Modern applications from the installation, as well as disable all unnecessary features.

To create it, you will need the indicated MSMG Toolkit, as well as the latest Windows 10 ISO image. You can download them from the following links.

Download MSMG Toolkit (file ToolKit-v7.3.7)

Download Media Creation Tool for Windows 10

Run the Media Creation Tool, then accept the agreement that appears.

In the next step, specify the next action. Here you can choose the system update function, as well as the option to download the Windows 10 installer. Check the second option, that is, "Create installation media for another computer."

Media Creation Tool will automatically offer to download the appropriate language version of the operating system compatible with the architecture of your computer. If the settings do not match, then uncheck "Use recommended settings" and specify the version and architecture 32-bit or 64-bit yourself.

On the next screen, you need to specify where you want to download the installer, directly to a USB flash drive or to an ISO file. In our case, you need to download in an ISO file, because before downloading to a USB flash drive, you need to create your own installer and make the appropriate changes using the MSMG Toolkit. Open the ISO image download item, and specify the disk location for downloading it.

After downloading the utility, unzip it to the specified folder. Before running the tool, you need to unpack the downloaded image into a "DVD" folder inside the MSMG directory.

An ISO image can be unpacked using any archiver, such as WinRAR or 7-Zip. To do this, right-click on the image and select "Open with" and select a program such as WinRAR.
The data extraction utility window will open. Select the "Extract to..." option and then navigate to the DVD folder which is inside the MSMG directory.

After extracting the data, launch MSMG using the ToolKit-v7.3.cmd file. A window will appear notifying you that the author is not responsible for any problems and you must acknowledge that you are using the service at your own risk. Press the A key to accept the terms.

The program will check the Windows 10 system image unpacked to the DVD folder. When the message “Press ENTER Key to Continue” appears, press the indicated button.

The main menu will open with the available options. Bookmarks are opened using the number buttons. You can return to the main menu with the X button.

Let's move on to how to create a system image in Windows 10 without unnecessary features and programs.

1. Go to the "Convert" tab and select the "Convert ESD Image to Wim Image" option. When the program asks which version of the operating system was downloaded, select according to the downloaded one. The process of converting the Install.esd file to Install.wim will begin.

2. After the process is completed, return to the main menu and open the "Source" tab, and then "Select Source from Folder". Recognized versions of Windows 10 will appear in the list - press a key, for example, 1, to select the downloaded one. When a notification is displayed, whether you want to mount the image, confirm with the Y (Yes) key. Wait until the message “Press any key to continue” appears on the screen and press any key to return to the main menu.

3. Go to the "Remove" section and select "Remove Default Metro Apps". This setting is responsible for deleting applications of type Modern. You can check the "All Apps" option to remove all programs of this type, or "Any individual apps" and select individual ones to remove. If you want to remove all Modern apps, select All Apps (Windows Store will also be removed).

4. Return to the "Remove" tab again and select "Remove default Metro Apps Associations". This option removes all remnants and relationships associated with Modern.

5. Go back to the "Remove" tab and open "Remove Components". Here you can check the “All Windows Components” option to remove all Windows 10 components or “Any desired option” to remove unnecessary functions yourself.

Among these components are telemetry (data collection) service, Xbox app complete with overlay for games, Geolocation, Cortana, OneDrive cloud and others.

6. Now return to the main menu and go to the "Apply" item. Confirm saving the changes with the "Apply & Save Changes to Source Images" button.

7. Click the "Apply" tab again, and this time click on "Rebuild Source Images" to rebuild the installer files and apply your changes.

8. Finally, return to the main menu and open the "Target" option, then go to "Make a DVD ISO Image". This option will create a custom Windows 10 installer in ISO format, ready to burn to DVD or create a bootable flash drive.

The created image will be available in the "ISO" folder in the directory with the MSMG program. Now you can burn the ISO image to a disk or flash drive and install a clean version of Windows 10 from it without unnecessary services and applications.

Hello friends! Today's article is a continuation of the article:-« Create your own customized Windows 10 distribution. The easy way for beginners» . The difference between today's article and the previous one is that we will use only the tools built into the operating system, or rather, the command line and the Windows Deployment Kit (Windows ADK).

Create your own customized Windows 10 distribution. The advanced method

I will not once again rant to you about why you need your own customized distribution of Windows 10, I think this is clear to everyone, I will only say briefly. You install Windows 10 on a laptop, a simple computer, or even a virtual machine, then install all the necessary software along with an antivirus, and after all this, you create an operating system distribution kit that, in your opinion, meets all the requirements of modern times.

You can install Windows 10 using such a customized distribution kit on any computer, after installation the system will already be configured, and all programs will be installed and you will only have to install drivers.

  • Note: If the article seems too complicated for you, then read our article ""

So, to implement our plans, we need two computers or one computer, but with a virtual machine installed on it. If you have one computer, then the option with a virtual machine is described at the end of the article.

I will do without a virtual machine, since I have a laptop and a regular desktop computer.

I'll start by installing the Windows 10 operating system on a laptop with all the drivers and programs I need, as well as an antivirus. After installing Windows 10 on a laptop with the necessary software, with download on the official Microsoft website .

After creating a bootable USB flash drive with Win 10, we launch the "sysprep" utility built into the system, designed specifically to prepare a customized Windows image along with installed programs for transfer to another computer. Launch the command prompt as an administrator and enter the command:

C:\Windows\System32\Sysprep\Sysprep.exe

The "sysprep" utility starts

In the window that appears with the parameters, set everything as in the screenshot

Putting the system into mode (OOBE).

We mark the point - Preparation for use.

Shutdown

and press OK.

1. Putting the system into OOBE mode - the operating system transfer mode is activated the next time the system starts.

2. Preparation for use - all data that should not be copied with the image (security identifiers (SIDs), activation information, and so on) will be deleted from the system, but installed software should migrate without problems.

Windows 10 is prepared by the "sysprep" utility in a few minutes.

Then the laptop turns off.

Create a Windows 10 Image File in ESD Format

Connecting to a laptopUSB portable hard drive and bootable flash drive with Windows 10.

Boot laptop from flash drive. In the initial window of the Windows 10 installation, press the keyboard shortcut "Shift + F10",

The command line opens, I enter the commands:

diskpart

lis vol (with this command we display a list of hard disk partitions, we see that the partition with Windows 10 installed is assigned a drive letter C:, and a portable hard drive letter I:)

exit (exit DiskPart)

enter the following command, which will capture the disk (C :) with Windows 10 installed into an ESD image file and save it to a portable USB hard drive (drive letter (I:).

Dism /Capture-Image /ImageFile:I:\install.esd /CaptureDir:C:\ /Name:Windows

install.esd: is the name of the future ESD disk image (C:) with Windows 10.

I:\ - location to save the ESD image.

C:\ - partition with Windows 10 installed.

compression fast(the fast option provides faster image compression, but the resulting files are larger than files compressed with the maximum, the fast compression type acts by default if the compression argument is not specified (we have not specified it)).

Operation progress 100%. The Windows 10 image was created on the (I:) partition.

Saving the image

[==========================100.0%==========================]

Operation completed successfully.

I turn off my laptop.

Compress:recovery

I turn on the desktop computer, connect the USB hard drive to it.

On the (I:) partition of the USB portable hard drive, there is a Windows 10 image file - install.esd with a size of 4.80 GB.

I compress the Windows 10 image file even more - install.esd with the command (it is not necessary to do this, I just want to further reduce the Win 10 image)

DISM /Export-Image /SourceImageFile:I:\install.esd /SourceIndex:1 /DestinationImageFile:I:\install2.esd /Compress:recovery

that is, with this command we create another file of this image with the file name install2.esd and compression recovery. Or smart words - convertinstall.esd to a new file install2.esd, applying the new compression type Compress:recovery(archive compression is usually called converting).

A second Windows 10 image file, install2.esd, 3.5 GB in size, appears on the (I:) partition of the USB portable hard drive. First file install.esd 4.80 GB we delete, and the second fileinstall2.esd 3.5 GB rename to install.esd.

In total, there is one install.esd file of 3.5 GB in size on a portable USB hard drive (disk I :).

Windows 10 ISO Image

Then we create a folder on partition (I:) of the USB portable hard drive and name it 10, then copy the contents of the Windows 10 ISO image to it.

After the files have been copied, go to the disk (I:) and copy the install.esd file.

Go to folder I: \10\sources, right click and select Insert.

Choose Replace file in destination folder.

The original install.esd file from the Windows 10 distribution has been replaced by our install.esd file.

Windows Deployment Kit (Windows ADK)

Friends, now it remains for us to turn the folder 10 with Windows 10 files into an installation ISO distribution.

If you are an experienced user, then you probably have installed on your computer Windows Deployment Kit (Windows ADK), if not, download it from the link and install it

https://www.microsoft.com/en-us/download/details.aspx?id=39982

After installation, we launch the deployment tools environment and work with images.

enter the command:

Oscdimg /u2 /m /bootdata:2#p0,e,bI:\10\boot\Etfsboot.com#pef,e,bI:\10\efi\microsoft\boot\Efisys.bin I:\10 I:\ Windows.iso

u2, is a UDF file system, and m- the size of the image is unlimited.

b- write boot sector etfsboot.com, the path to the etfsboot.com file when specifying b(boot) is written without a space b I :\10\boot\etfsboot.com

bI:- where I: - drive letter.

I:\10- create an ISO image from files and folders located on partition I: in folder 10

I:\Windows.iso- place the created image on partition I:

name the image - Windows .

Windows distribution.iso on disk I: ready.

Create a bootable flash drive

I propose to create a bootable Windows 10 USB flash drive with the WinSetupFromUSB program, with it you can create a universal USB flash drive with which you can install Windows 10 on a new laptop with UEFI BIOS, as well as on a simple computer with a regular BIOS. I would not like to dwell on this in detail, everything is very well described in

Share with friends or save for yourself:

Loading...