Vovsoft Logo
Vovsoft Facebook Page Vovsoft Twitter Account
Home Software Purchase Contact

How to Solve PersistFile Error

IPersistFile::Save failed, code 0x80070002

With enabled Controlled Folder Access of Windows 10's Defender, the setup fails to create a desktop icon (showing the message PersistFile::Save failed, code 0x80070002) - despite running with administrative privileges.

Persistfile Error

Furthermore the installed application (which is NOT run with administrative privileges) fails to write to folders of the user, e.g. Documents.

This happens even for new files or folders, which do not overwrite anything existing. This is a Windows Defender ransomware protection introduced with Windows 10 Fall Creators Update.

Turn off Controlled Folder Access

Controlled Access Folder

  1. Select Start  > Settings  > Update & Security  > Windows Security > Virus & threat protection.
  2. Under Virus & threat protection settings, manage settings.
  3. Under Controlled folder access, manage controlled folder access.
  4. Switch the controlled folder access setting to On or Off.
Date Updated on August 26, 2019

Newsletter Vovsoft Newsletter

Join 21,000+ other subscribers.
And don't worry, we hate spam too! You can unsubscribe at anytime.

     VOVSOFT © 2015 - 2019     

Execution time in seconds: 0.01