Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A Secondary File secondary file filter addresses situations where the intended target is not the primary executable file, such as RunDll.exe, but is rather a secondary file specified within the command line. 

This document gives you a working example of how to use Secondary File secondary file filters.  

MSI

...

file example

If you want to elevate .msi files that are in a network share, you cannot use a commandline filter because the following syntax does not work:

...

If you tried to use a command line filter, then you would have to specify each .msi file explicitly and then create several individual elevation policies–an policies–-an extremely tedious task. Or you could create a commandline like \\SERVER\Share\, but this would elevate anything in the share folder. To target and elevate only .msi files efficiently, the solution is to use the Secondary File Filter.

...

For an example of a Secondary File filter for use with msiexec and a file share containing msi files to be elvated, go to MSI Files not elevated by Network Share Elevation PolicyElevate MSI files on the network share and see the alternative solution.