Outlook Profile Reset
| 0 Votes |
Description
This task will close Outlook, Skype, and Teams. It will then delete all mail profiles from the currently logged in user, including OST. The mail profile will need to be set up from scratch.
Property Details
| 24867 | |
| Beta - Preliminary testing ready for more | |
| Outlook Profile Reset | |
| BESC | |
| Scripting | |
| Internal | |
| 12/13/2017 12:00:00 AM | |
| Outlook Mailbox Reset | |
| True | |
| ReynardMuldrake on 12/14/2017 12:09:21 PM | |
| ReynardMuldrake on 12/14/2017 12:09:21 PM | |
| 5953 Views / 13 Downloads | |
* Average over 0 ratings.
** Log In or Register to add your rating.
|
Relevance
Actions
Action 1 (default)
Action Link Click
here to deploy this action.
Script Type
BigFix Action Script
// Disable wow64 redirection on x64 OSes
//action uses wow64 redirection {not x64 of operating system}
waithidden "C:\Program Files (x86)\BigFix Enterprise\BES Client\__BESData\BES Support\taskkill.exe" /F /T /IM OUTLOOK.EXE
waithidden "C:\Program Files (x86)\BigFix Enterprise\BES Client\__BESData\BES Support\taskkill.exe" /F /T /IM lync.exe
waithidden "C:\Program Files (x86)\BigFix Enterprise\BES Client\__BESData\BES Support\taskkill.exe" /F /T /IM SkypeHost.exe
waithidden "C:\Program Files (x86)\BigFix Enterprise\BES Client\__BESData\BES Support\taskkill.exe" /F /T /IM Teams.exe
waithidden "C:\Program Files (x86)\BigFix Enterprise\BES Client\__BESData\BES Support\taskkill.exe" /F /T /IM OneDrive.exe
dos reg delete "HKEY_USERS\{component string of sid of security account (name of logged on user)}\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles" /f
dos reg delete "HKEY_USERS\{component string of sid of security account (name of logged on user)}\Software\Microsoft\Office\16.0\Outlook\Profiles" /f
folder delete "C:\Users\{name of logged on user}\AppData\Local\Microsoft\Outlook"
Success Criteria
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
| Social Media: |
Comments
|
|
|
| Code is tested and working in our environment, but the paths and reg keys may need to be modified to work properly somewhere else. | |

