> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/zh/active-directory/credentials/non-interactive-authentication.md).

# 非交互式身份验证

#### 定义

非交互式身份验证用于成功完成交互式身份验证之后。

在这种情况下，用户不会重新输入其凭据。

Windows 会重用已建立的信息来访问网络服务。

示例：

* 访问 SMB 共享；
* 连接到另一台机器；
* 访问远程服务；
* 使用 Kerberos 查询服务票据。

<figure><img src="/files/50b33dc21abc6c989c93e48a4b7c389c69cf0701" alt="" width="370"><figcaption></figcaption></figure>

#### 实验中的示例

在已通过身份验证的会话中，你可以访问管理共享：

```bash
cd //WS01/c$
```

如果用户拥有必要的权限，Windows 不一定会再次要求提供凭据。

系统会重用现有会话和网络身份验证机制，通常通过 Kerberos 实现。

{% embed url="<https://learn.microsoft.com/en-us/sysinternals/downloads/logonsessions>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://hacking-notes.jord4n.pro/zh/active-directory/credentials/non-interactive-authentication.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
