In the output that displays, check the values for the AzureAdJoined, EnterpriseJoined and DomainJoined parameters in the Device State section. To check whether your device is managed, run the dsregcmd /status command in an elevated command prompt. If your operating system isn't compatible, you'll see the notification "Unsupported Windows 10 version!". The script can only be run on Windows 10 version 1803 and later. On AADJ and HAADJ devices, it will not affect the Single Sign-On (SSO) state of the applications and the device state. The signoutofwamaccounts.ps1 script will remove the tokens and accounts associated with Office and is safe to run. There are no steps that you can run manually to clear WAM accounts associated with Office on the device for AADJ and HAADJ devices.ĭownload the signoutofwamaccounts.zip file, extract, and run the signoutofwamaccounts.ps1 script as administrator. These configurations use Web Account Management (WAM), which stores credentials in different locations. Devices are considered managed if they're Microsoft Entra joined (AADJ), Microsoft Entra hybrid joined (HAADJ), or Workplace Joined (WPJ). Section B: Clear cached Office credentials for managed devicesįor managed devices, there are additional locations from which you need to remove cached Office credentials. HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Licensing.Repeat the cscript ospp.vbs /unpkey command as needed to remove the licenses for the applications listed in the output from step 3. You should see the message “Product key uninstall successful” when the license is removed. Run the following command to remove the license for an application by using the associated partial product key: If a partial product key is returned for the applications whose licenses you want to remove, note the value displayed for Last 5 characters of the installed product key to use in step 4, below. If it displays No installed product keys detected, skip steps 4 and 5 and go to step 6, "Delete the following registry entry", below. NOTE The output could include licenses for multiple applications. Run the following command to get a list of the licenses currently in use: cd "C:\Program Files (x86)\Microsoft Office\Office16".For a 32-bit Office installation on a 64-bit operating system:.cd "C:\Program Files\Microsoft Office\Office16".For a 64-bit Office installation on a 64-bit operating system:.Run one of the following commands from an elevated command prompt, as appropriate for your Office installation:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |