Forum Discussion
KelseyYam
Apr 09, 2021Copper Contributor
Is there any PowerShell script for logging out office account(not license account)?
Hi all! Since I have no experience on coding, can PowerShell log out office apps account (Word, Excel, PowerPoint, Outlook) but does not affect the license account? Case: We have a windows 10 ...
Stefan_ITGuy
Jul 07, 2021Copper Contributor
OK it took me 3 minutes to get an answer myself using PROCESS EXPLORER (sysinternals)
The REGISTRY-Tree holds information to the account
Computer\HKEY_USERS\S-1-5-21-1.....(edited)........-1280\SOFTWARE\Microsoft\Office\16.0\Common\Identity\Identities\JohnDoe@contoso.com_AD
Inside is a hex-key called "SignedOut"
Set it to "1" and you have it 😉
ProcessExplorer = best Windows debugging tool EVER
The REGISTRY-Tree holds information to the account
Computer\HKEY_USERS\S-1-5-21-1.....(edited)........-1280\SOFTWARE\Microsoft\Office\16.0\Common\Identity\Identities\JohnDoe@contoso.com_AD
Inside is a hex-key called "SignedOut"
Set it to "1" and you have it 😉
ProcessExplorer = best Windows debugging tool EVER