> For the complete documentation index, see [llms.txt](https://ret2basic.gitbook.io/ctfnote/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ret2basic.gitbook.io/ctfnote/red-teaming/active-directory-ad/domain-enumeration/manual-enumeration.md).

# Manual Enumeration

## net user

Enumerate all local accounts:

```powershell
net user
```

Enumerate all users in the entire domain:

```powershell
net user /domain
```

Enumerate a specific user in the domain:

```powershell
net user <username> /domain
```

## net group

Enumerate all groups in the domain:

```powershell
net group /domain
```
