Sysprep - Como criar uma Imagem Universal do Windows 10 (parte1).

2 min read 4 months ago
Published on Aug 13, 2024 This response is partially generated with the help of AI. It may contain inaccuracies.

Table of Contents

Introduction

This tutorial provides a step-by-step guide on how to create a universal Windows 10 image using Sysprep. By following these instructions, you will learn how to prepare a Windows installation that can be deployed on different hardware configurations, making it easier to manage multiple computers.

Step 1: Understand Sysprep

  • Sysprep, short for System Preparation Tool, is a Microsoft utility that prepares a Windows installation for imaging.
  • It generalizes the installation by removing specific computer information, including the security identifier (SID).
  • You can configure Sysprep to boot into either audit mode or the Out-Of-Box Experience (OOBE) mode.

Step 2: Prepare Your Windows Installation

  • Ensure your Windows 10 installation is set up as desired:
    • Install necessary applications.
    • Configure system settings.
    • Make any customizations needed for end-users.
  • It’s recommended to work in audit mode to facilitate these changes.

Step 3: Run Sysprep

  1. Open a command prompt as an administrator.
  2. Navigate to the Sysprep directory:
    cd C:\Windows\System32\Sysprep
    
  3. Execute the Sysprep command:
    sysprep.exe /oobe /generalize /shutdown
    
    • The /oobe option prepares the system for the first-time user experience.
    • The /generalize option removes system-specific data.

Step 4: Capture the Image

  • After Sysprep shuts down the computer, you can capture the image using a tool like DISM (Deployment Image Service and Management Tool) or a third-party imaging software.
  • To use DISM, boot from a Windows PE (Preinstallation Environment) USB drive, then run:
    dism /capture-image /imagefile:C:\MyImage.wim /capturedir:C:\ /name:"Windows 10 Universal Image"
    

Step 5: Deploy the Image

  • To deploy the captured image on another computer:
    1. Boot the target computer using Windows PE.
    2. Use DISM to apply the image:
      dism /apply-image /imagefile:C:\MyImage.wim /index:1 /applydir:C:\
      
    3. Complete the setup process for the new hardware.

Practical Tips

  • Always test your image on a similar hardware setup before deploying it widely.
  • Keep a backup of your original installation before running Sysprep.
  • Document any specific configurations you make for easier replication in future images.

Conclusion

Creating a universal Windows 10 image with Sysprep streamlines the deployment process across multiple computers. By following these steps, you can efficiently manage systems with varying hardware. After mastering this process, consider exploring additional features of Sysprep, such as using answer files for automated configurations during setup.