> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.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                                                        |

<a id="wduser_signin" />

## 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. |

<a id="wduser_signout" />

## wduser signout

Signs the specified user out of the device.

`wduser signout <email>`

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

<a id="wduser_delete" />

## wduser delete

Removes the specified user from the device.

`wduser delete <email>`

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

<a id="wduser_deleteall" />

## wduser deleteall

Removes all users from the device.

`wduser deleteall`

<a id="wduser_autosignin" />

## 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. |

<a id="wduser_addsponsored" />

## 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](/tools/tools-console/console_commandlinetools/consolecommandlinetools)

[XTF transport errors](/tools/tools-console/commandlinetools/xtf-transport-errors)


## Related topics

- [Console-based command-line tools](/tools/tools-console/console_commandlinetools/consolecommandlinetools.md)
- [Console-based command-line tools for XBOX](/tools/tools-console/console_commandlinetools/index.md)
- [Manage game streaming (wdgamestream.exe)](/tools/tools-console/console_commandlinetools/wdgamestream.md)
- [XBOX Live Test Account tool (XblTestAccountGui.exe)](/tools/tools-services/live-xbox-live-account-tool.md)
- [Manage game streaming (xbgamestream.exe)](/tools/tools-console/commandlinetools/xbgamestream.md)
