My xyplorer will not save settings. It comes up with a warning, “access denied. …….XYplorer..ini”, but no explanation as to why.
This means that if you for example add bookmarks to the toolbar, these are not saved when you close xyplorer.
See screenshots of warning messages attached
I have tried uninstalling and reinstalling it but this does not work.
What does work is: opening it by right clicking xyplorer in the toolbar, then clicking run as administrator but you have to remember to do this every time.
I contacted support but they cannot suggest anything different.
Currently I am running version 26.80.0500 and I have a rookie licence pro for 26.80
Does anyone on the forum have an answer please?
Access denied to saving settings on closing xyplorer
-
johnonline1
- Posts: 4
- Joined: 12 Mar 2025 21:36
Access denied to saving settings on closing xyplorer
- Attachments
-
- Screenshot 2025-04-13 214007.jpg (15.47 KiB) Viewed 2766 times
-
- Screenshot 2025-04-13 214050.jpg (38.06 KiB) Viewed 2766 times
Re: Access denied to saving settings on closing xyplorer
One of my scripts helped you out? Please donate via Paypal
-
johnonline1
- Posts: 4
- Joined: 12 Mar 2025 21:36
Re: Access denied to saving settings on closing xyplorer
Thank you
I did the following as suggested in your link to the previous post (copied) (NB I have windows 10 not 11) :
"Your installation folder does not contain a Startup.ini file?
Menu - Go - Go to application folder
Create that file, insert this as content:
Code: Select all
[Appdata]
Path=%appdata%\XYplorer
Restart XY"
The result was that on restarting it told me that I did not have a licence (although I do) and would not run at all .
I deleted the startup.ini file and it was OK again but I still have to run it as administrator.
Any further suggestions?
I did the following as suggested in your link to the previous post (copied) (NB I have windows 10 not 11) :
"Your installation folder does not contain a Startup.ini file?
Menu - Go - Go to application folder
Create that file, insert this as content:
Code: Select all
[Appdata]
Path=%appdata%\XYplorer
Restart XY"
The result was that on restarting it told me that I did not have a licence (although I do) and would not run at all .
I deleted the startup.ini file and it was OK again but I still have to run it as administrator.
Any further suggestions?
Re: Access denied to saving settings on closing xyplorer
Run this script:
Code: Select all
$curAppdata = <xydata>;
$newAppdata = "%APPDATA%\XYplorer";
setting "BackgroundFileOps", 0;
if ($curAppdata UnLikeI $newAppdata) {
$startupContent = <<<'>>>'
[Appdata]
Path=%appdata%\XYplorer
>>>;
$startupContent = regexreplace($startupContent, "^[ \t]+");
writefile("<xypath>\Startup.ini", $startupContent, , "utf8");
copyto $newAppdata, "$curAppdata\*", , 2, 2, 2, 1, 0, 0, 1, 0, 0;
exit "nr";
}
One of my scripts helped you out? Please donate via Paypal
-
johnonline1
- Posts: 4
- Joined: 12 Mar 2025 21:36
Re: Access denied to saving settings on closing xyplorer
I don't have much experience of this "under-the-bonnet" stuff - Does that mean copy the script and paste it into the command prompt window? I could do that
Re: Access denied to saving settings on closing xyplorer
Menu - Scripting - Run Script...?
One of my scripts helped you out? Please donate via Paypal
-
johnonline1
- Posts: 4
- Joined: 12 Mar 2025 21:36
Re: Access denied to saving settings on closing xyplorer
Thank you very much
It seems to have worked.
Very grateful
It seems to have worked.
Very grateful
Re: Access denied to saving settings on closing xyplorer
Hi,
The issue occurs when XYplorer is unable to save settings upon closing, often resulting in an Access Denied message. This typically happens due to insufficient file permissions or restricted write access in the configuration folder. It can also be caused by running XYplorer without administrative privileges or by antivirus/security software blocking changes. To resolve this, ensure that XYplorer has full write access to its settings folder, try running it as an administrator, and verify that no security software is preventing the program from modifying its configuration files.
The issue occurs when XYplorer is unable to save settings upon closing, often resulting in an Access Denied message. This typically happens due to insufficient file permissions or restricted write access in the configuration folder. It can also be caused by running XYplorer without administrative privileges or by antivirus/security software blocking changes. To resolve this, ensure that XYplorer has full write access to its settings folder, try running it as an administrator, and verify that no security software is preventing the program from modifying its configuration files.
XYplorer Beta Club