

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 在 EC2 Windows 執行個體啟動期間，使用 EC2Launch v1 代理程式執行任務
<a name="ec2launch"></a>

適用於 Windows Server 2016 與 2019 的 Amazon 受管 AMI 包括名稱為 EC2Launch 的 Windows Powershell 指令碼集。EC2Launch 會在初始執行個體開機期間執行任務。如需有關包含在 AWS Windows AMIs 中的 EC2Launch 版本的資訊，請參閱 [AWS Windows AMI 參考](https://docs.aws.amazon.com/ec2/latest/windows-ami-reference/windows-amis.html)。

**注意**  
Windows Server 2016 及更新作業系統版本的最新啟動代理程式為 EC2Launch v2，可取代 EC2Config 和 EC2Launch，並預先安裝於 AWS Windows Server 2016 與 2019 AMI，且名詞以 `EC2LaunchV2-Windows_Server-*` 開始。您亦可在 Windows Server 2016 與 2019 上手動安裝及設定代理程式。如需詳細資訊，請參閱[安裝 EC2Launch v2](ec2launch-v2-install.md)。  
為了搭配使用 EC2Launch 與 IMDSv2，版本必須為 1.3.2002730 或以上版本。

您可以使用下列 Windows PowerShell 命令可確認已安裝的 EC2Launch 版本。

```
Test-ModuleManifest -Path "C:\ProgramData\Amazon\EC2-Windows\Launch\Module\Ec2Launch.psd1" | Select Version
```

## EC2Launch 任務
<a name="ec2launch-tasks"></a>

根據預設，EC2Launch 會在初始執行個體開機期間執行下列任務：
+ 設定呈現執行個體資訊的新桌面。
+ 將電腦名稱設定為執行個體私有 IPv4 地址。
+ 傳送執行個體資訊到 Amazon EC2 主控台。
+ 傳送 RDP 憑證指紋到 EC2 主控台。
+ 為管理員帳戶設定隨機密碼。
+ 新增 DNS 尾碼。
+ 動態擴充作業系統分割區，以包含任何未分割的空間。
+ 執行使用者資料 (若指定)。如需指定使用者資料的詳細資訊，請參閱[當使用使用者資料輸入啟動 EC2 執行個體時執行命令](user-data.md)。
+  設定持續性靜態路由以到達中繼資料服務和 AWS KMS 伺服器。
**重要**  
如果從這個執行個體建立自訂 AMI，則會擷取這些路由做為作業系統組態的一部分，任何從該 AMI 啟動的新執行個體會保留相同路由，而不論子網放置何處。若要更新路由，請參閱[啟動自訂 AMI 時更新 Server 2016 和更新版本的中繼資料/KMS 路由](ec2launch-sysprep.md#update-metadata-KMS)。

下列任務可協助維護與 EC2Config 服務回溯相容的功能。您也可以設定 EC2Launch 在啟動期間執行這些任務：
+ 初始化輔助 EBS 磁碟區。
+ 傳送 Windows 事件日誌到 EC2 主控台日誌。
+ 傳送「Windows 已可使用」**訊息到 EC2 主控台。

## EC2Launch 目錄結構
<a name="ec2launch-directories"></a>

根據預設，EC2Launch 會安裝於根目錄 `C:\ProgramData\Amazon\EC2-Windows\Launch` 中的 Windows Server 2016 和更新版本 AMI。

**注意**  
根據預設，Windows 會將檔案和資料夾隱藏在 `C:\ProgramData` 下。若要檢視 EC2Launch 目錄和檔案，您必須在 Windows 檔案總管中輸入路徑或變更資料夾屬性，才可顯示隱藏的檔案和資料夾。

`Launch` 目錄包含下列子目錄。
+ `Scripts` – 含有構成 EC2Launch 的 PowerShell 指令碼。
+ `Module` – 含有建置 Amazon EC2 相關指令碼的模組。
+ `Config` – 含有您可以自訂的指令碼組態檔案。
+ `Sysprep` – 含有 Sysprep 資源。
+ `Settings` – 含有 Sysprep 圖形使用者介面的應用程式。
+ `Library` - 包含 EC2 啟動代理程式的共用程式庫。
+ `Log` – 包含指令碼的子目錄與指令碼產生的日誌檔案。

## 遙測
<a name="ec2launch-telemetry"></a>

遙測是其他資訊，有助於 AWS 更了解您的需求、診斷問題和提供功能，以改善您的 AWS 服務體驗。

EC2Launch 版本 `1.3.2003498` 及更新版本會收集遙測，例如用量指標和錯誤。這些資料是從執行 EC2Launch 的 Amazon EC2 執行個體中收集的資料。這包括 擁有的所有 Windows AMIs AWS。

EC2Launch 會收集下列類型的遙測：
+ **用量資訊** – 代理程式命令、安裝方法和排程的執行頻率。
+ **錯誤和診斷資訊** – 代理程式安裝和執行錯誤代碼。

收集資料的範例：

```
2021/07/15 21:44:12Z: EC2LaunchTelemetry: IsAgentScheduledPerBoot=true
2021/07/15 21:44:12Z: EC2LaunchTelemetry: IsUserDataScheduledPerBoot=true
2021/07/15 21:44:12Z: EC2LaunchTelemetry: AgentCommandCode=1
2021/07/15 21:44:12Z: EC2LaunchTelemetry: AgentCommandErrorCode=5
2021/07/15 21:44:12Z: EC2LaunchTelemetry: AgentInstallCode=2
2021/07/15 21:44:12Z: EC2LaunchTelemetry: AgentInstallErrorCode=0
```

預設為啟用遙測。您可隨時停用遙測收集。如果啟用遙測，EC2Launch 會傳送遙測資料，而不會傳送其他通知給客戶。

您選擇啟用或停用遙測收集。

您可以選擇加入或退出遙測收集。您選取加入或退出遙測收集，以確保我們遵守您的遙測選項。

**遙測可見性**  
啟用遙測時，它會在 Amazon EC2 主控台輸出中顯示，如下所示：

```
2021/07/15 21:44:12Z: Telemetry: <Data>
```

**停用執行個體的遙測**  
若要藉由設定系統環境變數來停用遙測，請以管理員身分執行下列命令：

```
setx /M EC2LAUNCH_TELEMETRY 0
```

若要在安裝期間停用遙測，請執行 `install.ps1`，如下所示：

```
. .\install.ps1 -EnableTelemetry:$false
```

**Topics**
+ [EC2Launch 任務](#ec2launch-tasks)
+ [EC2Launch 目錄結構](#ec2launch-directories)
+ [遙測](#ec2launch-telemetry)
+ [安裝最新版本的 EC2Launch](ec2launch-download.md)
+ [在 Windows 執行個體設定 EC2Launch v1 代理程式](ec2launch-config.md)
+ [EC2Launch 版本歷史記錄](ec2launch-version-details.md)

# 安裝最新版本的 EC2Launch
<a name="ec2launch-download"></a>

使用下列程序可在執行個體上下載和安裝 EC2Launch 最新版本。

**下載和安裝 EC2Launch 最新版本**

1. 如果您已在執行個體上安裝和設定 EC2Launch，請備份 EC2Launch 組態檔案。安裝程序不會保留此檔案的變更內容。根據預設，檔案位於 `C:\ProgramData\Amazon\EC2-Windows\Launch\Config` 目錄。

1. 下載 [EC2-Windows-Launch.zip](https://s3.amazonaws.com/ec2-downloads-windows/EC2Launch/latest/EC2-Windows-Launch.zip) 到執行個體上的目錄。

1. 下載 [install.ps1](https://s3.amazonaws.com/ec2-downloads-windows/EC2Launch/latest/install.ps1) 到您下載 `EC2-Windows-Launch.zip` 的同一個目錄。

1. 執行 `install.ps1`

1. 如果您備份了 EC2Launch 組態檔案，請將其複製到 `C:\ProgramData\Amazon\EC2-Windows\Launch\Config` 目錄。

**使用 PowerShell 下載和安裝最新版本 EC2Launch**  
如果您已在執行個體上安裝和設定 EC2Launch，請備份 EC2Launch 組態檔案。安裝程序不會保留此檔案的變更內容。根據預設，檔案位於 `C:\ProgramData\Amazon\EC2-Windows\Launch\Config` 目錄。

若要使用 PowerShell 安裝最新版本 EC2Launch，請以管理員身分在 PowerShell 視窗執行下列命令：

```
mkdir $env:USERPROFILE\Desktop\EC2Launch
$Url = "https://s3.amazonaws.com/ec2-downloads-windows/EC2Launch/latest/EC2-Windows-Launch.zip"
$DownloadZipFile = "$env:USERPROFILE\Desktop\EC2Launch\" + $(Split-Path -Path $Url -Leaf)
Invoke-WebRequest -Uri $Url -OutFile $DownloadZipFile
$Url = "https://s3.amazonaws.com/ec2-downloads-windows/EC2Launch/latest/install.ps1"
$DownloadZipFile = "$env:USERPROFILE\Desktop\EC2Launch\" + $(Split-Path -Path $Url -Leaf)
Invoke-WebRequest -Uri $Url -OutFile $DownloadZipFile
& $env:USERPROFILE\Desktop\EC2Launch\install.ps1
```

**注意**  
如果您在下載檔案時收到錯誤，且您使用 Windows Server 2016，則可能需要為 PowerShell 終端機啟用 TLS 1.2。您可以使用下列命令為目前的 PowerShell 工作階段啟用 TLS 1.2，然後再試一次：  

```
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
```

檢查啟動代理程式以確認安裝。以管理員身分透過 PowerShell 視窗執行下列命令：

```
Import-Module C:\ProgramData\Amazon\EC2-Windows\Launch\Module\Ec2Launch.psm1
Import-LocalizedData -BaseDirectory C:\ProgramData\Amazon\EC2-Windows\Launch\Module\ -FileName 'Ec2Launch.psd1' -BindingVariable moduleManifest
$moduleManifest.Get_Item('ModuleVersion')
```

# 在 Windows 執行個體設定 EC2Launch v1 代理程式
<a name="ec2launch-config"></a>

在您的執行個體第一次初始化後，您可以設定 EC2Launch 再次執行並執行其他啟動任務。

**Topics**
+ [設定初始化任務](#ec2launch-inittasks)
+ [排程 EC2Launch 在每次開機時都執行](#run-on-every-boot)
+ [初始化磁碟機和映射磁碟機代號](#ec2launch-mapping)
+ [傳送 Windows 事件日誌到 EC2 主控台。](#ec2launch-sendlogs)
+ [在成功開機後傳送「Windows 已就緒」訊息](#ec2launch-sendwinisready)

## 設定初始化任務
<a name="ec2launch-inittasks"></a>

在 `LaunchConfig.json` 檔案中指定設定以啟用或停用下列初始化任務：
+ 將電腦名稱設定為執行個體私有 IPv4 地址。
+ 將監視器設定為永遠保持開啟狀態。
+ 設定新的桌面。
+ 新增 DNS 尾碼清單。
**注意**  
這會新增下列網域的 DNS 尾碼查詢，並設定其他標準尾碼。如需啟動代理程式如何設定 DNS 尾碼的詳細資訊，請參閱 [設定 EC2 Windows 啟動代理程式的 DNS 尾碼](launch-agents-set-dns.md)。  

  ```
  region.ec2-utilities.amazonaws.com
  ```
+ 擴充開機磁碟區大小。
+ 設定管理員密碼。

**進行初始化設定**

1. 在要設定的執行個體上，於文字編輯器中開啟下列檔案：`C:\ProgramData\Amazon\EC2-Windows\Launch\Config\LaunchConfig.json`。

1. 視需要更新下列設定並儲存變更。只有在 `adminPassword` 是 `adminPasswordtype` 時，才要在 `Specify` 中提供密碼。

   ```
   {
   	"setComputerName": false,
   	"setMonitorAlwaysOn": true,
   	"setWallpaper": true,
   	"addDnsSuffixList": true,
   	"extendBootVolumeSize": true,
   	"handleUserData": true,					  
   	"adminPasswordType": "Random | Specify | DoNothing",
   	"adminPassword": "password that adheres to your security policy (optional)"
   }
   ```

   密碼類型的定義如下：  
`Random`  
EC2Launch 會產生密碼並以使用者金鑰將其加密。系統會在執行個體啟動後停用此設定，以便執行個體重新開機或停止再啟動時，能持續使用這個密碼。  
`Specify`  
EC2Launch 會使用您在 `adminPassword` 中指定的密碼。如果該密碼不符合系統要求，EC2Launch 會改為產生隨機密碼。系統會將該密碼以純文字存放於 `LaunchConfig.json`，並在 Sysprep 設定管理員密碼後予以刪除。EC2Launch 會以使用者金鑰加密該密碼。  
`DoNothing`  
EC2Launch 會使用您在 `unattend.xml` 檔案中指定的密碼。如果您未在 `unattend.xml` 中指定密碼，會停用管理員帳戶。

1. 在 Windows PowerShell 中，執行下列命令以排程指令碼做為 Windows 排程任務執行。該指令碼會在下一次開機期間執行一次，然後停用這些任務，以避免再次執行。

   ```
   C:\ProgramData\Amazon\EC2-Windows\Launch\Scripts\InitializeInstance.ps1 -Schedule
   ```

## 排程 EC2Launch 在每次開機時都執行
<a name="run-on-every-boot"></a>

您可排程 EC2Launch 在每次開機時都執行，不是只在初次開機時執行。

啟用 EC2Launch 在每次開機時都執行 

1. 開啟 Windows PowerShell 並執行下列命令：

   ```
   C:\ProgramData\Amazon\EC2-Windows\Launch\Scripts\InitializeInstance.ps1 -SchedulePerBoot
   ```

1. 或使用下列命令執行可執行檔：

   ```
   C:\ProgramData\Amazon\EC2-Windows\Launch\Settings\Ec2LaunchSettings.exe
   ```

   然後選取 `Run EC2Launch on every boot`。您可指定 EC2 執行個體 `Shutdown without Sysprep` 或 `Shutdown with Sysprep`。

**注意**  
當您啟用 EC2Launch 以便在每次開機時執行時，下次 EC2Launch 執行時會發生下列情況：  
如果 `AdminPasswordType` 仍然設定為 `Random`，EC2Launch 將在下次開機時產生新密碼。開機之後，`AdminPasswordType` 會自動設定為 `DoNothing`，以防止 EC2Launch 在後續開機時產生新密碼。若要防止 EC2Launch 在第一次開機時產生新密碼，請手動將 `AdminPasswordType` 設定為 `DoNothing`，然後再重新開機。
`HandleUserData` 會設回 `false`，除非使用者資料將 `persist` 設成 `true`。如需詳細資訊，請參閱[使用者資料指令碼](user-data.md#user-data-scripts)。

## 初始化磁碟機和映射磁碟機代號
<a name="ec2launch-mapping"></a>

在 `DriveLetterMappingConfig.json` 檔案中指定設定，以將磁碟機代號映射到您的 EC2 執行個體上的磁碟區。指令碼會初始化尚未初始化和分割的磁碟機。如需有關在 Windows 中取得磁碟區詳細資訊的更多詳細資訊，請參閱 Microsoft 文件中的 [Get-Volume](https://learn.microsoft.com/en-us/powershell/module/storage/get-volume)。

**將磁碟機代號映射到磁碟區**

1. 在文字編輯器中開啟 `C:\ProgramData\Amazon\EC2-Windows\Launch\Config\DriveLetterMappingConfig.json` 檔案。

1. 指定下列磁碟區設定並儲存您的變更：

   ```
   {
   	"driveLetterMapping": [
   		{
   			"volumeName": "sample volume",
   			"driveLetter": "H"
   		}
   	]
   }
   ```

1. 開啟 Windows PowerShell，並使用下列命令執行初始化磁碟的 EC2Launch 指令碼：

   ```
   C:\ProgramData\Amazon\EC2-Windows\Launch\Scripts\InitializeDisks.ps1
   ```

   若要在每次執行個體開機時初始化磁碟，請新增 `-Schedule` 標記，如下所示：

   ```
   C:\ProgramData\Amazon\EC2-Windows\Launch\Scripts\InitializeDisks.ps1 -Schedule
   ```

## 傳送 Windows 事件日誌到 EC2 主控台。
<a name="ec2launch-sendlogs"></a>

在 `EventLogConfig.json` 檔案中指定設定，以傳送 Windows 事件日誌到 EC2 主控台日誌。

**進行設定以傳送 Windows 事件日誌**

1. 在執行個體上，於文字編輯器中開啟 `C:\ProgramData\Amazon\EC2-Windows\Launch\Config\EventLogConfig.json` 檔案。

1. 進行下列日誌設定並儲存您的變更：

   ```
   {
   	"events": [
   		{
   			"logName": "System",
   			"source": "An event source (optional)",
   			"level": "Error | Warning | Information",
   			"numEntries": 3
   		}
   	]
   }
   ```

1. 在 Windows PowerShell 中執行下列命令，讓系統排程指令碼在每次執行個體開機時做為 Windows 排程任務執行。

   ```
   C:\ProgramData\Amazon\EC2-Windows\Launch\Scripts\SendEventLogs.ps1 -Schedule
   ```

   日誌可能要花費三分鐘 (含) 以上才會顯示在 EC2 主控台日誌中。

## 在成功開機後傳送「Windows 已就緒」訊息
<a name="ec2launch-sendwinisready"></a>

EC2Config 服務會在每次開機後，傳送「Windows 已就緒」訊息到 EC2 主控台。EC2Launch 只會在初次開機後傳送這個訊息。若要與 EC2Config 服務回溯相容，您可以排程 EC2Launch 在每次開機後傳送這個訊息。在執行個體上，開啟 Windows PowerShell 並執行下列命令。系統會排程指令碼做為 Windows 排程任務執行。

```
C:\ProgramData\Amazon\EC2-Windows\Launch\Scripts\SendWindowsIsReady.ps1 -Schedule
```

# EC2Launch 版本歷史記錄
<a name="ec2launch-version-details"></a>

若要下載和安裝 EC2Launch 的最新版本，請參閱[安裝最新版本的 EC2Launch](ec2launch-download.md)。

下表說明 EC2Launch 發行版本。


| 版本 | 詳細資訊 | 發行日期 | 
| --- | --- | --- | 
| 1.4.299 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html)  | 2026 年 3 月 3 日 | 
| 1.4.183 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html)  | 2026 年 2 月 4 日 | 
| 1.4.6 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html)  | 2025 年 10 月 13 日 | 
| 1.3.2005119 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html)  | 2025 年 2 月 11 日 | 
| 1.3.2005065 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html)  | 2024 年 10 月 22 日 | 
| 1.3.2005008 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html)  | 2024 年 8 月 6 日 | 
| 1.3.2004959 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html)  | 2024 年 7 月 2 日 | 
| 1.3.2004891 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html)  | 2024 年 5 月 31 日 | 
| 1.3.2004617 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html)  | 2024 年 1 月 15 日 | 
| 1.3.2004592 | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html) 如需 EC2Launch 目錄的存取許可及使用者帳戶許可詳細資訊，請參閱 [EC2Launch 目錄結構](ec2launch.md#ec2launch-directories)。 | 2024 年 1 月 2 日 | 
| 1.3.2004491 | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html) | 2023 年 11 月 9 日 | 
| 1.3.2004462 | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html) | 2023 年 10 月 18 日 | 
| 1.3.2004438 | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html) | 2023 年 10 月 4 日 | 
| 1.3.2004256 | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html) | 2023 年 7 月 7 日 | 
| 1.3.2004052 | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html) | 2023 年 3 月 8 日 | 
| 1.3.2003975 | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html) | 2022 年 12 月 24 日 | 
| 1.3.2003961 | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html) | 2022 年 12 月 6 日 | 
| 1.3.2003923 | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html) | 2022 年 11 月 9 日 | 
| 1.3.2003919  | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html) | 2022 年 11 月 8 日 | 
| 1.3.2003857 | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html) | 2022 年 10 月 3 日 | 
| 1.3.2003824 | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html) | 2022 年 8 月 30 日 | 
| 1.3.2003691 | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html) | 2022 年 6 月 21 日 | 
| 1.3.2003639 | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html) | 2022 年 5 月 10 日 | 
| 1.3.2003498 | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html) | 2022 年 1 月 31 日 | 
| 1.3.2003411 | 已變更密碼產生邏輯，以排除複雜性低的密碼。 | 2021 年 8 月 4 日 | 
| 1.3.2003364 | 更新了支援 IMDSv2 的 Install-EgpuManager。 | 2021 年 6 月 7 日 | 
| 1.3.2003312 |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html)  | 2021 年 5 月 4 日 | 
| 1.3.2003284 | 透過更新將使用者資料存放至 LocalAppData 的位置，來改善許可模型。 | 2021 年 3 月 23 日 | 
| 1.3.2003236 | [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html) | 2021 年 2 月 11 日 | 
| 1.3.2003210 | install.ps1 的本地化修正程式。 | 2021 年 1 月 7 日 | 
| 1.3.2003205 | 更新 %ProgramData%AmazonEC2-WindowsLaunchModuleScripts 目錄權限的 install.ps1 安全性修正程式。 | 2020 年 12 月 28 日 | 
| 1.3.2003189 | 新增路由後新增 w32tm resync。 | 2020 年 12 月 4 日 | 
| 1.3.2003155 | 已更新執行個體類型資訊。 | 2020 年 8 月 25 日 | 
| 1.3.2003150 | 新增 OsCurrentBuild 和 OsReleaseId 至主控台輸出。 | 2020 年 4 月 22 日 | 
| 1.3.2003040 | 修正 IMDS 第 1 版備用邏輯。 | 2020 年 4 月 7 日 | 
|  1.3.2002730  | 已新增對 IMDS V2 的支援。 | 2020 年 3 月 3 日 | 
|  1.3.2002240  | 已修正輕微的問題。 | 2019 年 10 月 31 日 | 
|  1.3.2001660  | 修正在第一次執行 Sysprep 後未使用密碼的使用者自動登入的問題。 | 2019 年 7 月 2 日 | 
|  1.3.2001360  | 已修正輕微的問題。 | 2019 年 3 月 27 日 | 
|  1.3.2001220  | 所有 PowerShell 指令碼已簽署。 | 2019 年 2 月 28 日 | 
|  1.3.2001200  | 已修正下列 InitializeDisks.ps1 問題：在 Windows Server 容錯移轉叢集的節點上執行指令碼，將格式化遠端節點上的磁碟機，而其磁碟機代號符合本機磁碟機代號。 | 2019 年 2 月 27 日 | 
|  1.3.2001160  | 已修正 Windows 2019 中遺漏桌布的問題。 | 2019 年 2 月 22 日 | 
|  1.3.2001040  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html)  | 2019 年 1 月 21 日 | 
|  1.3.2000930  | 修正在已啟用 ipv6 的 ENI 上新增路由到中繼資料的問題。 | 2019 年 1 月 2 日 | 
|  1.3.2000760  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html)  | 2018 年 12 月 5 日 | 
|  1.3.2000630  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html)  | 2018 年 11 月 9 日 | 
|  1.3.2000430.0  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html)  | 2018 年 9 月 19 日 | 
|  1.3.200039.0  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html)  | 2018 年 8 月 15 日 | 
|  1.3.2000080  | 已修正輕微的問題。 |  | 
|  1.3.610  |  已修正將輸出和錯誤重新導向到使用者資料之檔案的問題。  |  | 
|  1.3.590  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html)  |  | 
|  1.3.580  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html)  |  | 
|  1.3.550  |  新增了 `-NoShutdown` 選項以啟用 Sysprep 而不關機。  |  | 
|  1.3.540  |  已修正輕微的問題。  |  | 
|  1.3.530  |  已修正輕微的問題。  |  | 
|  1.3.521  |  已修正輕微的問題。  |  | 
|  1.3.0  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html)  |  | 
|  1.2.0  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html)  |  | 
|  1.1.2  |  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AWSEC2/latest/UserGuide/ec2launch-version-details.html)  |  | 
|  1.1.1  |  初始版本.  |  | 