Length AD Attribute containing Personal Site URL: registry value adpersonalsitepropertylenUserHKCU\software\policies\microsoft\office\16.0\common\portal
- Policy ID
- L_LengthADattributecontainingPersonalSiteURL
- Scope
- User Configuration
- Supported on
- At least Windows Server 2008 R2 or Windows 7
- Source
- Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
- Category
- Microsoft Office 2016 › Server Settings
Registry
adpersonalsitepropertylen
REG_DWORDUser- Enabled value
- Depends on the option value
- Element
- -
- Value type
- REG_DWORD
- Minimum value
- 256
- Maximum value
- 2048
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\portal] ; Value names and types follow the ADMX. Replace <enter value> below with your own data "adpersonalsitepropertylen"=dword:<enter value>
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data reg add "HKCU\software\policies\microsoft\office\16.0\common\portal" /v "adpersonalsitepropertylen" /t REG_DWORD /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\portal' -Force | Out-Null New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\portal' -Name 'adpersonalsitepropertylen' -PropertyType DWord -Value '<enter value>' -Force | Out-Null