Enable this group policy to delete mobile account and its local home folder automatically after a period of inactivity.
When a user enables a mobile account, macOS usually creates a local home folder on the computer he or she is using. If that user enables mobile accounts on several computers, each of those computers has a local home folder for the user. If the user doesn't use those computers, the local home folders are unused and waste disk space.
If this policy is enabled, the mobile account and its local home folder are deleted after a period of inactivity.
You can also set an expiration period of 0 to delete the mobile account and its local home folder as soon as possible, i.e after the user logs out.
Expiry settings do not affect external accounts. An external account is a mobile account where the local home folder is stored on an external drive, allowing the user to access his or her account on any computer.
Once enabled, this group policy takes effect when users log out and back in.
Registry Hive | HKEY_CURRENT_USER |
Registry Path | Software\Policies\Centrify\CentrifyDC\Settings\MacMCX\Mobility\1012 |
Value Name | enableAccountExpiry |
Value Type | REG_SZ |
Enabled Value | 1 |
Disabled Value | 0 |
Delete mobile accounts at specified time after user's next login:
Registry Hive | HKEY_CURRENT_USER |
Registry Path | Software\Policies\Centrify\CentrifyDC\Settings\MacMCX\Mobility\1012 |
Value Name | expirytime |
Value Type | REG_DWORD |
Default Value | 5 |
Min Value | 0 |
Max Value | 3550 |
Registry Hive | HKEY_CURRENT_USER |
Registry Path | Software\Policies\Centrify\CentrifyDC\Settings\MacMCX\Mobility\1012 |
Value Name | expiryfactor |
Value Type | REG_SZ |
Value | 3600 |
Registry Hive | HKEY_CURRENT_USER |
Registry Path | Software\Policies\Centrify\CentrifyDC\Settings\MacMCX\Mobility\1012 |
Value Name | expiryfactor |
Value Type | REG_SZ |
Value | 86400 |
Registry Hive | HKEY_CURRENT_USER |
Registry Path | Software\Policies\Centrify\CentrifyDC\Settings\MacMCX\Mobility\1012 |
Value Name | expiryfactor |
Value Type | REG_SZ |
Value | 604800 |