You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
You are viewing the article in preview mode. It is not live at the moment.
Home > 330: Least Privilege Manager > Knowledge Base > 04: Tips (Files, Folders and Dialogs): > 08: How can I make all files in a folder, or all files in all recursive folders Elevated, Blocked, or Allow & Log?
08: How can I make all files in a folder, or all files in all recursive folders Elevated, Blocked, or Allow & Log?
print icon

There are two methods to Elevate, Block or Allow&Log multiple files and folders.

Method 1: Using FILE TYPE..
For FILE target type, you have to specify a file path. For instance:

  • %programfiles%\Contoso\App.exe
  • %programfiles%\Contoso\*.exe
  • %programfiles%\*\DogFood.exe

Method 2: Using FOLDER and/or Folder+ Recurse type…

 

you should specify a folder path, such as

  • %programfiles%\Contoso
  • %programfiles%\*
  • %programfiles%\*\DogFoodFolder

The difference between these two types is

  • The ‘Folder’ path condition only applies to all files in the specified folder.
  • The ‘Folder (recursive)’ path condition applies to all Descendant files.
Feedback
0 out of 4 found this helpful

scroll to top icon