I guys I created a batch file in a bundle containing..

@echo off
net stop wsearch
del "%ProgramData%\Microsoft\Search\Data\Applications\ Windows\Windows.edb"
net start wsearch
IF NOT %ERRORLEVEL%==0 (goto :wsearch) ELSE goto :END

with settings
- Define your own script
- file extension .bat
- %windir%\SysWOW64\cmd.exe
- \c
- Run as logged in user
- Priority Nomal

However I can't get the script to work...

The purpose of this script is for the users here that have had issues with outlook search after a recent update.

Any advice is appreciated.