Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. Thank you for your support. Tom Speirs

Patreon

[GUIDE] Not able to write to users Documents folder from a program (for example Zaccaria won't save settings)


Recommended Posts

After reinstalling my cabinet, I had strange issue with Zaccaria.
Zaccaria didn't want to save the settings, as I setup in the program.
With procmon I get access denies on c:\users\Mikedaspike\Documents\Zaccaria_Pinball folder.
Although the ACL's where set to full control to the user and for SYSTEM, the app was not able to write.
Adding the files from my other machine, looks like it could read it

After adding a new controller (Virtuapin controller died and replace by a KL25Z), I had the same issue.
Trying to save the config results in :

image.png.f2fe65f2ffef34d81dd8ae7738d647e7.png 

 

This is caused by Windows 10 Controlled folder access.

Controlled folder access is to protect files against threats like ransomware.
maybe I enabled it (or was enabled automaticlly after fresh install).

How to Fix this  ?

Open from your Windows the settings screen 
image.png.5b660467ad125302d2b34194a9190e98.png

Click on Updates & Security

image.thumb.png.aeaf08842b0c6c3c72d89e3b3fcee9f3.png

Click Windows Security

image.png.62f18964617253605cbc702e55407e2a.png

 

click Virus & threat protection

image.png.78910a0d3d9d326d0a99b8e6ca91c281.png

Scroll down to Ransomware Protection and click Manage ransomware Protection

image.thumb.png.cec832305a9b99fdf5632bdb9897bfda.png

Here you can control the Controlled folder access
I would not recomment to turn this feauture off !!! 

Click on the  Allow an app Through Controlled Folder access
image.png.284975fa160b2bb8ba4e2cef8bd5f7b6.png

click on + Add an allowed app

image.png.56c37a4343297f234358755871e4ba45.png

in the  Recently blocked appsyou see the apps that tries recently to save something
Or click on browse apps

image.png.5d712512bf110537fb2d5e24b930b7d1.png

In my case, I added th ePinscapeConfig tool

image.png.26d21ed8e7b62239b725ff4323605195.png

And manually added the Zaccaria pinball (and steam) as well :
image.png.899a2e43ce2b0ea83492be4a970aeaf8.png

This allows to run the apps correctly

 

 

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • 4 months later...

Bought new PC parts, and installed windows 11.
My Pinscape controller works fine, but Zaccaria from Steam still has the same issue as when I installed Windows 10 from scratch.
So here some screenshots to do the same for Windows 11

Right click on your Windows 11 image.png.69c31ded3df1250dc853cb195fd22e2f.png start button and select Settings

image.png.e6e2e739c72988f2883774c6f00afd6b.png

 

From the settings menu , select 'Privacy & security'

image.thumb.png.b5aef02a8f37da3c4c3935800527461f.png

From the right pane, select 'Windows security'

image.thumb.png.8b3ef6b133041cba81a378efd0c40321.png

Select the 'Virus & threat protection'

image.thumb.png.5a169d8c6bb5c0ef334f8c63eda2a762.png

Scroll down to 'Ransomware Protection' and click 'Manage ransomware Protection'

image.png.7d50a345261b7b246e38975f7a16409c.png

Toggle the Controlled folder access to ON

image.png.18c9b51e723ab922f3073187e84f7801.png

If you still got UAC enabled, you will receive the following UAC message and click 'Yes'

image.png.f0bf50ac217f196b4273e7918a7b16f8.png

Click on the 'Allow an app Through Controlled Folder access'

image.png.d4d891bf4f193e28c394211555c0f829.png

click on '+ Add an allowed app'

image.png.96c84499206af160b09648fe50fc06a2.png

Select 'Browse all apps'

image.png.c713decf476e45fde7387f4b46675b39.png

Navigate to your folder, highlight the executable file and select 'Open'

image.thumb.png.8e079e1d081c282f782261b3d982de1a.png

ZaccariaPinball.exe is now added and can write to the users documents directory

image.png.595241dc46e977ad8ab5e816f35be5f0.png

Link to comment
Share on other sites

  • Draco1962 changed the title to [GUIDE] Not able to write to users Documents folder from a program (for example Zaccaria won't save settings)
  • Draco1962 pinned this topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...