Skip to content
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