How to: Change Permission Sets Using Caspol.exe

You can change the content of a particular permission set by importing a new XML file containing a permission set that replaces the original permission set. The only mutable permission set provided by the Windows Software Development Kit (SDK) is the Everything permission set. You can use the Code Access Security Policy tool (Caspol.exe) to replace the original permission set with the new set specified in the XML file.

To change a permission set

  • Type the following command at the command prompt:

    caspol –chgpset pset_file pset_name.

    The following command changes the FilePset permission set in the user policy to the state specified in the NewPset.xml file.

    caspol –user –chgpset NewPset.xml FilePset
    
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft