> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# POST (/ext/unattendedsetup/configure)

> POST (/ext/unattendedsetup/configure)

# POST (/ext/unattendedsetup/configure)

設定指令碼執行方式的設定資料。

* [URI 參數](#ID4ET)
* [必要的要求標頭](#ID4E1)
* [必要的要求本文](#ID4EBB)
* [回應](#ID4EOC)

<a id="ID4ET" />

## URI 參數

無。

<a id="ID4E1" />

## 必要的要求標頭

無。

<a id="ID4EBB" />

## 必要的要求本文

要求必須包含具有下列成員的 JSON 本文。

| 成員 | 描述 |
| - | - |
| RunOobeScript | 布林值，指出是否應在下次開機時執行任何一次性指令碼 (預期的指令碼名稱為 oobe.cmd)。 |
| BlockUsbScript | 布林值，指出位於 USB 裝置上時是否應封鎖自動安裝指令碼的執行。 |
| SkipAbortToast | 布林值，指出是否應在開機時立即執行指令碼，而不等待中止視窗。 |
| BlockAllScripts | 布林值，指出是否應封鎖自動安裝指令碼的執行。 |

<a id="ID4EOC" />

## 回應

<a id="ID4EUC" />

### HTTP 狀態碼

服務會傳回本節中的其中一個狀態碼，以回應使用此方法對此資源所提出的要求。

\| 代碼| 描述|
\| --- | --- | --- | --- |
\| 200| 作業成功。|
\| 4XX| 錯誤碼。 |
\| 5XX| 錯誤碼。 |

<a id="ID4E2D" />

## 另請參閱

<a id="ID4E4D" />

##### 父項

[/ext/unattendedsetup/configure](/zh-TW/reference/deviceportal/unattendedsetup/uri-extunattendedsetupconfigure)


## Related topics

- [Unattended Setup URIs](/reference/deviceportal/unattendedsetup/atoc-rest-unattendedsetup.md)
- [URI de configuration sans assistance](/fr/reference/deviceportal/unattendedsetup/atoc-rest-unattendedsetup.md)
- [URI de l'installation sans assistance](/fr-CA/reference/deviceportal/unattendedsetup/atoc-rest-unattendedsetup.md)
- [URIs de configuração autônoma](/pt-BR/reference/deviceportal/unattendedsetup/atoc-rest-unattendedsetup.md)
- [URI de configuración desatendida](/es/reference/deviceportal/unattendedsetup/atoc-rest-unattendedsetup.md)
