Skip to content

Update ensure-privileged-accounts-with-sensitive-flag.md #188

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: public
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions ATPDocs/ensure-privileged-accounts-with-sensitive-flag.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,16 @@ For device accounts, setting them to "not delegated" is important to prevent it
The safest approach is to use a PowerShell script to configure the device to prevent it from being used in any delegation scenario, ensuring that credentials on this machine can't be forwarded to access other services.

```
$name = "ComputerA"
Get-ADComputer -Identity $name |
$name = "UserA"
Get-ADUser -Identity $name |
Set-ADAccountControl -AccountNotDelegated:$true
```
Another option is to set the `UserAccountControl` attribute to `NOT_DELEGATED = 0x100000` under the Attribute Editor tab for the exposed device.

For example:

![Screenshot of device profile.](media/ensure-privileged-accounts-with-sensitive-flag/device-profile.png)
![image](https://github.com/user-attachments/assets/48a76abc-19dc-4c98-8740-72e9f2ac95d8)


## Next steps

Expand Down