Error Code 5: Access is denied. (CreateFile)

Discuss new features and functions
briggal1
Posts: 2
Joined: 11 Sep 2019

Post by briggal1 • 11 Sep 2019, 08:34

Hi

When FreeFileSync is closing I always get the following message:

------------------------------------------------------------------------------------------
Cannot write file "C:\Program Files (x86)\FreeFileSync\GlobalSettings.xml".

Error Code 5: Access is denied. (CreateFile)
-------------------------------------------------------------------------------------------

I am using Windows 10 and the file "Cannot write file "C:\Program Files (x86)\FreeFileSync\GlobalSettings.xml"." does exist and is not 'Read only'

Any help would be appreciated.

Thanks in advance.

User avatar
Zenju
Site Admin
Posts: 5042
Joined: 9 Dec 2007

Post by Zenju • 12 Sep 2019, 10:03

You're using the portable version, which should not be placed into "C:\Program Files (x86)" (=> that's where locally installed apps go).

briggal1
Posts: 2
Joined: 11 Sep 2019

Post by briggal1 • 12 Sep 2019, 12:47

Zenju wrote:
12 Sep 2019, 10:03
You're using the portable version, which should not be placed into "C:\Program Files (x86" (= that's where locally installed apps go).
Thank you for your help.

The file "C:\Program Files (x86)\FreeFileSync\GlobalSettings.xml" does exist and it was put there by Freefilesync but when I close the programme it says it can't write to it!

If it shouldn't go on C drive where should it go?

Thanks

xCSxXenon
Posts: 84
Joined: 11 Jun 2019

Post by xCSxXenon • Yesterday, 19:47

The portable version goes in a folder other than the program files folders. Usually this is a USB flash drive