Partager via


How to: Remove Permissions from a Permission Set 

Use the .NET Framework Configuration tool (Mscorcfg.msc) to remove a permission from a permission set.

NoteNote

The .NET Framework includes several built-in permission sets. The only built-in permission set that can be changed is the Everything permission set.

To remove a permission from a permission set using Mscorcfg.msc

  1. Run the .NET Framework Configuration tool (Mscorcfg.msc).

    1. In Control Panel, open Administrative Tools.

    2. Double-click Microsoft .NET Framework <version> Configuration.

    Alternatively, you can run the tool from a command prompt:

    • In the .NET Framework versions 1.0 and 1.1, type the following at the command prompt: %Systemroot%\Microsoft.NET\Framework\versionNumber\Mscorcfg.msc.

    • In the .NET Framework 2.0, start the SDK Command Prompt and type mscorcfg.msc.

  2. Expand the Runtime Security Policy node.

  3. Expand the node for the policy level you want to remove the permission from.

  4. Expand the Permission Sets node.

  5. Right-click the permission set you want to remove the permission from and choose Change Permissions.

  6. Select a permission from the Assigned Permissions list and click Remove.

  7. Click Finish.

See Also

Reference

.NET Framework Configuration Tool (Mscorcfg.msc)

Other Resources

Configuring Security Policy Using the .NET Framework Configuration Tool (Mscorcfg.msc)
Configuring Security Policy
Configuring Permission Sets Using the .NET Framework Configuration Tool (Mscorcfg.msc)