0 Configuration Tool
Source: http://www.derkeiler.com/Newsgroups/microsoft.public.dotnet.security/2005−12/msg00149.html
Hi
I wonder if you have an Visual Studio Command Prompt? This guy has the
nesseceary settings to call Caspol.exe.Alternatively locate vcvars32.bat and
run that; it should set the appropriate settings.
caspol −m[achine]
Modifier that makes additional commands act on the machine level
caspol −u[ser]
Modifier that makes additional commands act on the user level
caspol −en[terprise]
Modifier that makes additional commands act on the enterprise level
caspol −cu
caspol −customuser <path>
Modifier that makes additional commands act on the custom user level
caspol −a[ll]
Set all policy levels as the active levels
caspol −ca
caspol −customall <path>
Modifier that makes additional commands act on all levels as a custom
user
caspol −l[ist]
List code groups & permission sets
caspol −lg
caspol −listgroups
List code groups
caspol −lp
caspol −listpset
List permission sets
caspol −lf
caspol −listfulltrust
List full trust assemblies
caspol −ld
caspol −listdescription
List code group names and descriptions
caspol −ap
caspol −addpset { <named_xml_file> | <xml_file> <name> }
Add named permission set to policy level
caspol −cp
caspol −chgpset <xml_file> <pset_name>
Change named permission set in active level
caspol −rp
caspol −rempset <pset_name>
Remove a named permission set from the policy level
caspol −af
caspol −addfulltrust <assembly_name>
Add full trust assembly to policy level
caspol −rf
caspol −remfulltrust <assembly_name>
Remove a full trust assembly from the policy level
caspol −rg
caspol −remgroup <label|name>
Remove code group at <label|name>
caspol −cg
caspol −chggroup <label|name> {<mship>|<pset_name>|<flag>}+
Change code group at <label|name> to given membership,
permission set, or flags
caspol −ag
caspol −addgroup <parent_label|name> <mship> <pset_name> <flag>
Add code group to <parent_label|name> with given membership,
permission set, and flags
caspol −rsg
caspol −resolvegroup <assembly_name>
List code groups this file belongs to
caspol −rsp
caspol −pp
caspol −polchgprompt { on | off }
Enable/Disable policy change prompt
caspol −q[uiet]
Disable policy change prompt for this command
caspol −r[ecover]
Recover the most recently saved version of a level