How to use Sysprep to create and install a custom Windows AMI that may be reused? AWS

Are you looking for instructions on how to use Sysprep to create and install custom reusable Windows AMIs?

Sysprep, a Microsoft utility, can be used to capture custom Windows images.

The instance security identifiers (SID), computer name, and drivers are all removed by Sysprep from an Amazon EC2 Windows instance.

Please keep the following points in mind before running Sysrep.

  1. First and foremost, do not utiliseSysprep to backup your instance.
  2. Second, do not use Sysprep on a live system.
  3. On Windows Server 2016 Nano Server, Sysprep isn’t supported.
  4. Run Sysprep with EC2Config on Windows Server 2008 through Windows Server 2012 R2.
  5. Sysprep with EC2Launch is required for Windows Server 2016 and later.

Let’s have a look at the steps taken by our Support team today:

  1. First, access the Amazon EC2 console, and then use Remote Desktop Protocol to connect to your Windows EC2 instance (RDP).
  2. From the Windows Start menu, select:

Open EC2ConfigService Settings and select the Image tab for Windows Server 2008 through Windows Server 2012 R2.

Open EC2 Launch Settings on Windows Server 2016 or later.

Then select Random for Administrator Password.

  1. Select Shutdown with Sysprep from the drop-down menu.
  2. After that, select Yes.

Please note that the new password must be retrieved from the EC2 console on the next startup.

  1. From the navigation pane of the Amazon EC2 console, select Instances.
  2. Select your instance after the instance status switches to stopped.

Choose Image, Create image from the Actions menu.

Enter a name for the image.

  1. (Optional) Enter a description for the image.
  2. Finally, select Create image from the drop-down menu.

At Velan, our server support engineers can help to reverse your AWS EC2server degradation. If you are interested in our service, please fill the Quick connect form to get in touch with us.

Credentials

Quick Connect With Us

captcha reload