> For the complete documentation index, see [llms.txt](https://documentation.2pintsoftware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.2pintsoftware.com/deployr/getting-started/securing/windows-authentication.md).

# Windows authentication

You can use the following groups for authentication in this method:

* Local Groups (on the DeployR Server)
  * Nested with Local Users, AD groups, AD users
* Active Directory Groups \[from the AD the DeployR server is joined to]
  * Nested with AD groups, AD users

### Enabling in Config Editor

Enable Windows authentication in the DeployR Config Editor in the Security Settings area. Toggle "Enable Windows authentication" to the right (on position) and then set a Local Windows group on the DeployR Server or Active Directory group name. By default, it will use the local **administrators** group on the DeployR server.

{% hint style="info" %}
The Windows group in the Config Editor, put the exact group name, do not add a domain name prefix into the field.
{% endhint %}

### Example: Configure with Active Directory Group

In active directory, another group was created called **DeployR WinPE Auth** which was probably a poor name looking back, but I don't feel like changing it now, but "DeployR OSD Auth" would have been more accurate.  However, I also know many organizations have the oddest naming standards, so the group name might not make any sense at all, but that's neither here nor there, so moving along, the group has been created and members have been added that will then be able to authenticate to DeployR's OSD process.  Currently there are 4 user accounts in the **DeployR WinPE Auth** group, including the user **DeployR OSD** with a login name of **DROSD.** &#x20;

Add the exact name from your AD group into the field:

<figure><img src="/files/s9rS63E5POccl0B1RZfG" alt=""><figcaption></figcaption></figure>

Now any users in that group will be able to auth:

<figure><img src="/files/51pcKvWb1DC7isKyZnWP" alt=""><figcaption></figcaption></figure>

### Example: Configure with Local group & nested AD groups

This is handy in cases that additional accounts need to be created for techs and the DeployR server is not part of Active Directory or if you want to add additional accounts for OSD only that do not have rights in Active Directory.

At this point, a local group can be created along with local user accounts that can be added to that local group, or Active Directory users and/or groups can be added, so you could have a mix of local accounts and AD accounts all able to authenticate the task sequence process.

In this example, a new local group called **DeployROSDAuth** has been created on the local DeployR server, which has been populated with an AD group and 2 local accounts.  The local group is set in the Config Editor

<figure><img src="/files/Q91PhAs3RN1adBSMmQtW" alt=""><figcaption></figcaption></figure>

Now that the group is set, anything in or nested in the group **DeployROSDAuth** will have rights to authenticate the task sequence:

<figure><img src="/files/UAET5lt1jElDJjBarhB4" alt=""><figcaption></figcaption></figure>

### Task Sequence Variables | Reporting

When using authentication, once authenticated into the task sequence, the user is captured into a varaible which can be used in your task sequence, or just used later to look up who ran the task sequence:

<figure><img src="/files/LCItFUnlJpvuZgfedAmI" alt=""><figcaption></figcaption></figure>


---

# 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://documentation.2pintsoftware.com/deployr/getting-started/securing/windows-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.
