Questions tagged [controlled-folder-access]
The Windows Defender controlled folder access in programming Windows applications.
17
questions
7votes
0answers
532views
Bypass restrictions of enabled Folder Access Control of Windows Defender
I've got an application written with C# which is installed via InnoSetup.
With enabled Controlled Folder Access of Windows 10's Defender, the setup fails to create a desktop icon (showing the message ...
5votes
5answers
23kviews
Jupyter notebook error Windows 10
Problem:
Jupyter is not able to save, create (I imagene delete) any file type. But I can load them fine
An example of creating file
Creating File Failed An error occurred while creating anew file.
...
3votes
2answers
493views
Detect when Controlled Folder Access is active
On Win10, the "anti-ransomware" feature Controlled Folder Access impedes accessing non-whitelisted softwares to certain folders.
Is there a way (API) to know if that feature is in place when you get ...
3votes
0answers
254views
Git Bash commands are blocked by ransomware protection
I've discovered that Git Bash commands are being blocked by Windows 10 Ransomware protection. This happens only if I am trying to execute them in Windows folders such as Documents. I've tested this ...
2votes
3answers
3kviews
Trouble setting with git
I'm getting this error when trying to set the git init:
$ git init
error: could not lock config file C:/Users/khaled/Desktop/firstTemplete/.git/config: No such file or directory
fatal: could not set '...
2votes
4answers
2kviews
Create React App : Range error - Maximum call stack size exceeded
I get this error when trying to create a new react app.
Tried updating create-react-app using npm and reinstalling React.
C:\Users\Panduka\Documents\tests>create-react-app markdown
path.js:33
...
2votes
0answers
248views
Trouble saving a matplotlib figure on Windows
I'm currently experiencing some difficulties saving a matplotlib figure on Windows (10). I'm aware that raw strings need to be used, but even using those and making sure that the path is correct, a ...
1vote
1answer
1kviews
Saving a file in SQL Server Management Studio failed
I am a student... I try to save a query into a file in my documents, but I get an error message
c:\user\my_account\documents\script.sql file not found
Please check the file name and try again.
...
1vote
1answer
1kviews
Unable to install Docker on windows 10
I am trying to install docker on windows machine but it doesn't get install and stop its process in the middle of installation.I have checked for all prerequisite,and my machine fulfills all.
I have ...
1vote
0answers
26views
Unable to retrieve accessed folders from Event Logs using PowerShell
I am trying to control accesses to specific folder, so I have Audit Object Access policy enable and I've also enabled Auditing on the folder I want. Now I plan to see these accesses on a CSV file.
I ...
1vote
2answers
227views
How to check for directory write permission in .NET when 'Controlled folder access' ON
When trying to create folder in My Documents with 'Controlled folder access' ON CreateFolder throws FileNotFoundException.
I need to check if my app can create folder in My Documents. How I can check ...
0votes
1answer
680views
Can't create folders - FileNotFoundError: [WinError 2] The system cannot find the file
I'm trying to do the simplest thing ever and I can't get it to work.
I'm in my working directory, let's call it 'WorkDir' and this is it: C:\WorkDir
I want to create:
newpath = 'C:\WorkDir\Video\...
0votes
0answers
34views
VS Code and Controlled Folder Access
I recently enabled Controlled Folder Access and now when I try to compile (an Arduino app in this case), I get an access denied error. I've added VS Code to the list of allowed apps, but the problem ...
0votes
1answer
2kviews
compiling C program with gcc; Cannot open output file _.exe: no such file or directory
I just started trying to program in C and I've downloaded all kinds of IDE's and compilers and nothing seems to be working. Cygwin keeps giving me this error when i try to compile my program:
C:\...
0votes
0answers
124views
NSIS Installer on Windows 10 triggers Bitdefender Ransomware detection
I am working currently on a software which I am packing into an NSIS installer and distribute the resulting exe file. The installer must run primarily on Windows 10. Since a few days, Bitdefender ...
-1votes
1answer
194views
WritePrivateProfileString produces ERROR_FILE_NOT_FOUND
My Software is writing to an ini file in c:\users...\documents and from time to time I get error reports from users where the WritePrivateProfileString call returns false and then GetLastError returns ...
-2votes
1answer
90views
Setting protected folders e.g. via registry manipulation
Scenario
Customers are provided with a server-client solution to accomplish some business-related task. There is a central server installed on a respective machine. Clients are installed on individual ...