Winapp2.ini additions in CCleaner Discussion Posted February 10 · Report reply 15 hours ago, Andavari said: Does this look right to exclude that whole path you refer to?ExcludeKey1=PATH|%LocalAppData%\Packages\Microsoft.Windows.Cortana_*\LocalState\|DeviceSearchCache Edit: Couldn't get it to exclude using a path, however I got this to work as intended:ExcludeKey1=FILE|%LocalAppData%\Packages\Microsoft.Windows.Cortana_*\LocalState\DeviceSearchCache\|*.* The use of PATH is correct, but also requires the "\|*.*" at the end. 15 hours ago, Andavari said: Also the way you suggest to restore Cortana functionality does not work if Cortana is purposely disabled by the user, and the user is instead just using it as a normal local search, hence the reason I use a batch script to restore the functionality. Strange, I have disabled Cortana on all my systems (using group policies) and was able to restore it (rebuild those cache files) using the suggested way.