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, 22.10.
Registry Hive | HKEY_CURRENT_USER |
Registry Path | Software\Policies\Ubuntu\dconf\org\gnome\desktop\lockdown\disable-user-switching |
Value Name | metaValues |
Value Type | REG_SZ |
Enabled Value | {"20.04":{"empty":"false","meta":"b"},"22.04":{"empty":"false","meta":"b"},"22.10":{"empty":"false","meta":"b"},"all":{"empty":"false","meta":"b"}} |
Disabled Value | {"20.04":{"meta":"b"},"22.04":{"meta":"b"},"22.10":{"meta":"b"},"all":{"meta":"b"}} |
Registry Hive | HKEY_CURRENT_USER |
Registry Path | Software\Policies\Ubuntu\dconf\org\gnome\desktop\lockdown\disable-user-switching |
Value Name | all |
Value Type | REG_SZ |
Default Value | false |
True Value | true |
False Value | false |
Registry Hive | HKEY_CURRENT_USER |
Registry Path | Software\Policies\Ubuntu\dconf\org\gnome\desktop\lockdown\disable-user-switching |
Value Name | Override22.10 |
Value Type | REG_SZ |
Default Value | false |
True Value | true |
False Value | false |
Registry Hive | HKEY_CURRENT_USER |
Registry Path | Software\Policies\Ubuntu\dconf\org\gnome\desktop\lockdown\disable-user-switching |
Value Name | 22.10 |
Value Type | REG_SZ |
Default Value | false |
True Value | true |
False Value | false |
Registry Hive | HKEY_CURRENT_USER |
Registry Path | Software\Policies\Ubuntu\dconf\org\gnome\desktop\lockdown\disable-user-switching |
Value Name | Override22.04 |
Value Type | REG_SZ |
Default Value | false |
True Value | true |
False Value | false |
Registry Hive | HKEY_CURRENT_USER |
Registry Path | Software\Policies\Ubuntu\dconf\org\gnome\desktop\lockdown\disable-user-switching |
Value Name | 22.04 |
Value Type | REG_SZ |
Default Value | false |
True Value | true |
False Value | false |
Registry Hive | HKEY_CURRENT_USER |
Registry Path | Software\Policies\Ubuntu\dconf\org\gnome\desktop\lockdown\disable-user-switching |
Value Name | Override20.04 |
Value Type | REG_SZ |
Default Value | false |
True Value | true |
False Value | false |
Registry Hive | HKEY_CURRENT_USER |
Registry Path | Software\Policies\Ubuntu\dconf\org\gnome\desktop\lockdown\disable-user-switching |
Value Name | 20.04 |
Value Type | REG_SZ |
Default Value | false |
True Value | true |
False Value | false |