# Disable user switching

Prevent the user from switching to another account while his session is active.

- Type: dconf
- Key: /org/gnome/desktop/lockdown/disable-user-switching
- Default: false

Note: default system value is used for "Not Configured" and enforced if "Disabled".

Supported on Ubuntu 20.04, 22.04, 23.10, 24.04.



<span style="font-size: larger;">**Metadata**</span>

| Element      | Value            |
| ---          | ---              |
| Location     | User Policies -> Ubuntu -> Desktop -> Shell -> LockDown -> Disable user switching    |
| Registry Key | Software\Policies\Ubuntu\dconf\org\gnome\desktop\lockdown\disable-user-switching         |
| Element type | boolean |
| Class:       | User       |
