How to: Suppress Policy Change Warnings Using Caspol.exe
Each time you use an option that changes security policy, the Code Access Security Policy tool (Caspol.exe) warns of the specific policy change that is about to occur. If you are familiar with Caspol.exe and consider these warnings unnecessary, you can turn them off.
Type the following command at the command prompt:
caspol –polchgprompt off
Type the following command at the command prompt:
caspol –polchgprompt on
Before turning off this feature, consider that it is often much easier to confirm a policy change beforehand than it is to fix the policy afterward.
Caspol.exe (Code Access Security Policy Tool)
Configuring Security Policy Using the Code Access Security Policy Tool (Caspol.exe)