Re: Adding a trust from the command line

From: Nicole Calinoiu (nicolec_at_somewhere.net)
Date: 08/27/04


Date: Fri, 27 Aug 2004 09:01:36 -0400

Caspol.exe
(http://msdn.microsoft.com/library/en-us/cptools/html/cpgrfCodeAccessSecurityPolicyUtilityCaspolexe.asp)
is the command line tool for altering the security policy. However, you
might find it more convenient to use an alternate deployment mechanism for
your policy modifications. See
http://msdn.microsoft.com/library/en-us/cpguide/html/cpcondeployingsecuritypolicy.asp
for some other options.

HTH,
Nicole

"Greg Smith" <GregSmith@discussions.microsoft.com> wrote in message
news:C3B789D3-40F8-4475-91BB-4D29E1E59B98@microsoft.com...
>I run an application off a network share. Every time I release a new
>version
> of the application, users have to run the Framework wizard and trust the
> version of the application. I would like to automate this with a command
> file and re-trust all the assemblies. Is there a security tool that will
> take command-line arguments so I can accomplish this?
>
> Any help is greatly appreciated.
>



Relevant Pages

  • Re: Remote Reboot on XP
    ... I have changed the Local Security Policy to "Network ... use" command to connect to various shares. ... itterate that the administrator account is the default ...
    (microsoft.public.windowsxp.work_remotely)
  • RE: Cant open security policy
    ... >Domain Controller Security Policy: ... >Controller Security Policy and the Domain Security Policy. ... >You can change the above command to fit your domain name. ... we create a shortcut to run Domain ...
    (microsoft.public.windows.server.migration)
  • RE: Cant open security policy
    ... Domain Controller Security Policy: ... You can run the above command and test whether this can open the Domain ... Controller Security Policy and the Domain Security Policy. ... we create a shortcut to run Domain Controller Security Policy ...
    (microsoft.public.windows.server.migration)
  • Re: Local Security Policy Locked (or something?)
    ... I could go into the policies one by one and make the ... >icon for the Local Security Policy. ... >> I did issue (at a command prompt) that all Local ... >> Policy settings be set to default settings. ...
    (microsoft.public.windowsxp.security_admin)