> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Manage user accounts (wduser.exe)

> Manage user accounts (wduser.exe)

Use this tool to delete, control sign-in state, and manage other user accounts for testing and development purposes.

| Command | Description |
| - | - |
| [signin](#wduser_signin) | Signs the specified user in to the device |
| [signout]() | Signs the specified user out of the device |
| [delete](#wduser_delete) | Removes the specified user from the device |
| [deleteall]() | Removes all users from the device |
| [autosignin](#wduser_autosignin) | Marks a user to automatically sign in when the device turns on or to not automatically sign in |
| [addsponsored]() | Signs a sponsored user in to the device |

## wduser signin

Signs the specified user in to the device. If the password is required or the user isn't present on the device, a base64-encoded password must be provided. The encoding doesn't provide any security but is designed to avoid special character errors when stored in a script.

`wduser signin <email> [<base64 encoded password>] `

| Option | Description |
| - | - |
| `email` | The user's email address. |
| `base64 encoded password` | The user's base64-encoded password. |

## wduser signout

Signs the specified user out of the device.

`wduser signout <email>`

| Option | Description |
| - | - |
| `email` | The user's email address. |

## wduser delete

Removes the specified user from the device.

`wduser delete <email>`

| Option | Description |
| - | - |
| `email` | The user's email address. |

## wduser deleteall

Removes all users from the device.

`wduser deleteall`

## wduser autosignin

Marks a user to automatically sign in when the device turns on or to not automatically sign in.

`wduser autosignin <email> <status>`

| Option | Description |
| - | - |
| `email` | The user's email address. |
| `status` | The new state for `autosignin`. The allowed values are on and off. |

## wduser addsponsored

Signs a sponsored user in to the device. A regular user is required to be signed in for this method to succeed.

`wduser addsponsored`

## See also

[Console Command-line tools](https://docs.xbox.com/tools/tools-console/console_commandlinetools/consolecommandlinetools.md)

[XTF transport errors](https://docs.xbox.com/tools/tools-console/commandlinetools/xtf-transport-errors.md)


## Related topics

- [Console-based command-line tools](https://docs.xbox.com/tools/tools-console/console_commandlinetools/consolecommandlinetools.md)
- [Console-based command-line tools for XBOX](https://docs.xbox.com/tools/tools-console/console_commandlinetools/index.md)
- [User management (xbuser.exe)](https://docs.xbox.com/tools/tools-console/commandlinetools/xbuser.md)
- [Manage game streaming (wdgamestream.exe)](https://docs.xbox.com/tools/tools-console/console_commandlinetools/wdgamestream.md)
- [Test Account tool (XblTestAccountGui.exe)](https://docs.xbox.com/tools/tools-services/live-xbox-live-account-tool.md)
