Home All Groups Group Topic Archive Search About

Caspol in batfile - How override yes/no question after running caspol

Author
8 Dec 2006 4:13 PM
Joe
Hi

I run Caspol thru a batfile which I want to automate

Some pc (some security setting) after running caspol ask yes/no to continue?

Is there a flag i can set to overide yes/no ???

Thanks

Author
11 Dec 2006 12:44 AM
Alvin Bruney [MVP]
Have a look at the batch file commands, i believe one of the forces an
override prompt. Be aware though that CAS policy requires administrative
privilege for the bat file to successfully update the security.config file.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
OWC Black book on Amazon and
www.lulu.com/owc

Show quote
"Joe" <hchs1***@yahoo.com> wrote in message
news:O%233aSPuGHHA.420@TK2MSFTNGP06.phx.gbl...
> Hi
>
> I run Caspol thru a batfile which I want to automate
>
> Some pc (some security setting) after running caspol ask yes/no to
> continue?
>
> Is there a flag i can set to overide yes/no ???
>
> Thanks
>
Author
21 Dec 2006 2:24 PM
Cyber_1981
HI ,

Before changing security levels you can using the following switch:

caspol -polchgprompt off

and after the change put it right back on:

caspol -polchgprompt on

Hope this will help you.

Greetz Youri Korpel

AddThis Social Bookmark Button