Windows 11 Writing powershell script to allow apps through Controlled Folder Access

  • Thread starter Thread starter Philip_EffectStats
  • Start date Start date
P

Philip_EffectStats

Hi,I have been trying to write a script to allow programs such as Paint, Screen Snippet, etc. to save to protected folders. However, I found it strange that while %UserProfile%\Documents is protected by default %UserProfile%\Desktop is not. Does not user store many of his personal files on Desktop?Also if we are to allow a program such as Paint using the scriptAdd-MpPreference -ControlledFolderAccessAllowedApplications "C:\Program Files\WindowsApps\dotPDNLLC.paint.net_4.19.6484.0_x64__h55e3w7q8jbva\PaintDotNet.exe"...What if the version number changes, in that case the path will change too rig

Continue reading...
 
Back
Top