> ## Documentation Index
> Fetch the complete documentation index at: https://docs.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)

## URI 參數

無。

## 必要的要求標頭

無。

## 必要的要求本文

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

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

## 回應

### HTTP 狀態碼

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

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

## 另請參閱

##### 父項

[/ext/unattendedsetup/configure](https://docs.xbox.com/zh-TW/reference/deviceportal/unattendedsetup/uri-extunattendedsetupconfigure.md)


## Related topics

- [/ext/unattendedsetup/configure (API 內容)](https://docs.xbox.com/zh-TW/reference/deviceportal/unattendedsetup/uri-extunattendedsetupconfigure.md)
- [GET (/ext/unattendedsetup/configure)](https://docs.xbox.com/zh-TW/reference/deviceportal/unattendedsetup/uri-extunattendedsetupconfigure-get.md)
- [POST (/ext/unattendedsetup/default)](https://docs.xbox.com/zh-TW/reference/deviceportal/unattendedsetup/uri-extunattendedsetupdefault-post.md)
- [POST (/ext/unattendedsetup/quickaction)](https://docs.xbox.com/zh-TW/reference/deviceportal/unattendedsetup/uri-extunattendedsetupquickaction-post.md)
- [POST (/ext/unattendedsetup/test)](https://docs.xbox.com/zh-TW/reference/deviceportal/unattendedsetup/uri-extunattendedsetuptest-post.md)
