RE: Security Policy

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



forgot to say that when i run caspol -s off on my own machine i get a
succeeded message but when i do it on another machine whether logged in as
the user or admin i get a ERROR: Runtime error: Policy level enterprise
cannot be set



"marcmc" wrote:

> When I distribute myApp to a network drive I get an error.
> Tells me I need to change my secority policy so I write a batch file as
> follows:
>
> C:
> CD\
> CD C:\WINNT\Microsoft.NET\Framework\v1.1.4322\
> CLS
> caspol -quiet -cg 1.2. FullTrust
>
> and run it on my machine which prevents the problem. I am administrator of
> my own machine. I run it on a colleagues who is not admin of his own machine
> and the policy change does not occur. So I try caspol -s off on his machine
> and nothing changes and I still get error. I only have 6 users so I do not
> really need a strong security policy. Any ideas?
.



Relevant Pages

  • RE: Security Policy
    ... it seems you have to be administrator to execute the command. ... >> Tells me I need to change my secority policy so I write a batch file as ... I run it on a colleagues who is not admin of his own machine ... So I try caspol -s off on his machine ...
    (microsoft.public.dotnet.languages.vb)
  • Re: HOWTO Use CASPOL for Full-Trust
    ... > HOWTO Use CASPOL for Full-Trust ... Assuming the machine policy level is still at its original default, ... > 2) Add a new code group that grants full trust to all trusted web sites ... you shouldn't need to touch either the enterprise ...
    (microsoft.public.dotnet.security)
  • Re: HOWTO Run CASPOL for full trust on UserControl.
    ... The policy deployment story is sub-optimal - so ppl had to be creative - SMS is one of the results ... in their enterprise had the CASPOL set? ...
    (microsoft.public.dotnet.security)
  • Re: HOWTO Install security with CASPOL for UserControls
    ... > These CASPOL commands work. ... Is there a way I can change these command to FORCE the security ... the most restrictive evidence possible) at the machine policy level. ...
    (microsoft.public.dotnet.security)
  • Re: HOWTO Run CASPOL for full trust on UserControl.
    ... While overriding in this way is certainly possible, ... as a first choice general solution since it can make CAS policy management ... SDK and get the GUI version of CASPOL, and play with it until I could find ... meets the membership criteria for the code group. ...
    (microsoft.public.dotnet.security)