> ## 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.

# GET (/ext/unattendedsetup/configure)

> GET (/ext/unattendedsetup/configure)

# GET (/ext/unattendedsetup/configure)

检索脚本运行方式的配置数据。

* [URI 参数](#ID4ET)
* [必需的请求标头](#ID4E1)
* [必需的请求正文](#ID4EBB)
* [响应](#ID4EIB)

## URI 参数

无。

## 必需的请求标头

无。

## 必需的请求正文

无。

## 响应

如果调用成功，服务将返回具有以下成员的 JSON 对象。

| 成员 | 说明 |
| - | - |
| RunOobeScript | 布尔值，指示我们是否应在下一次启动时运行任何一次性脚本（预期脚本名称为 oobe.cmd）。 |
| BlockUsbScript | 布尔值，指示当处于 USB 设备上时，我们是否应阻止无人参与脚本运行。 |
| SkipAbortToast | 布尔值，指示我们是否应在启动时立即运行脚本，而不是等待中止窗口。 |
| BlockAllScripts | 布尔值，指示我们是否应阻止无人参与脚本运行。 |
| HasScript | 布尔值，指示目标主机当前是否有启动脚本。 |

### HTTP 状态代码

服务针对使用此方法对此资源发出的请求返回本节中的一个状态代码。

\| 代码 | 说明 |
\| --- | --- | --- | --- |
\| 200 | 操作成功。 |
\| 4XX | 错误代码。 |
\| 5XX | 错误代码。 |

## 另请参阅

##### 父级

[/ext/unattendedsetup/configure](https://devdocs.xbox.com/zh-CN/reference/deviceportal/unattendedsetup/uri-extunattendedsetupconfigure)


## Related topics

- [Unattended Setup URIs (API contents)](https://devdocs.xbox.com/reference/deviceportal/unattendedsetup/atoc-rest-unattendedsetup.md)
- [URI de configuration sans assistance (contenu de l'API)](https://devdocs.xbox.com/fr/reference/deviceportal/unattendedsetup/atoc-rest-unattendedsetup.md)
- [URI de l'installation sans assistance (contenu de l'API)](https://devdocs.xbox.com/fr-CA/reference/deviceportal/unattendedsetup/atoc-rest-unattendedsetup.md)
- [Unattended Setup URI（API 内容）](https://devdocs.xbox.com/zh-CN/reference/deviceportal/unattendedsetup/atoc-rest-unattendedsetup.md)
- [URIs de configuração autônoma (conteúdo da API)](https://devdocs.xbox.com/pt-BR/reference/deviceportal/unattendedsetup/atoc-rest-unattendedsetup.md)
