| Policy Path | Setting | |-------------|---------| | User Configuration\Administrative Templates\Microsoft Office 2016\Tools \ Options \ General \ Service Settings... | – Prevents Office from using cached identity. | | ...\Identity | Block signing into Office – Completely disables cloud identities. | | ...\Roaming Settings | Disable roaming of identity – Prevents identity from following user between devices. |
| Related Key | Purpose | |-------------|---------| | HKCU\Software\Microsoft\Office\16.0\Common\SignIn | Sign-in UI and behavior settings. | | HKCU\Software\Microsoft\Office\16.0\Common\Internet | Proxy/network settings for identity endpoints. | | HKLM\Software\Policies\Microsoft\Office\16.0\Common\Identity | Machine-wide policy overrides. | | HKCU\Software\Microsoft\Office\16.0\Common\Licensing | Activation state tied to identity. | List current signed-in user Get-ItemProperty -Path "HKCU:\Software\Microsoft\Office\16.0\Common\Identity" -Name "LastLoggedInUser" -ErrorAction SilentlyContinue Enumerate all stored identities $path = "HKCU:\Software\Microsoft\Office\16.0\Common\Identity\Identities" Get-ChildItem -Path $path | ForEach-Object Get-ItemProperty -Path $_.PSPath | Policy Path | Setting | |-------------|---------| |