script to allow .net app to run on network

B

bozard

I'm trying to get a application to run from a file share on the network. I
can do so successfully only when I manually go through the steps.

If I log on as a local or domain administrator (or if the user is a local
admin) and run the script below, the application on the file share (remote
server) will run successfully all the time. As the script allows the file
share location to be trusted no matter what script is placed in that location.

When the script is run as a admin in the command shell it asks for
confirmation. Yes/No
As soon as you type "Y" and press enter your home free for good...

But you cannot run this script as a regular user or the script won’t be
successful.

Since I need to run this script on a lot of PC's I want this to be in the
startup policy. Since it needs to be run as a admin I believe it needs to be
in the computer start up policy. Problem starts here!!!!

Since the script requires a response to be successful it always fails in the
startup scripts.

Could some please help me by getting this script to run without requiring a
"Y" response?

(When I do put a /y it still prompts for a response!)

Script as follows:

echo off
cd %systemroot%\Microsoft.NET\Framework\v1.1.4322
CasPol.exe -m -ag 1.2 -url file://Cola-wwtp-fs-01/Instructions/* FullTrust
/yes
exit
 
D

Douglas J. Steele

Sorry, but this newsgroup is for questions about about security in Access,
the database product that's part of Office Professional.

Your question would be best reposted to a newsgroup relevant to whatever
operating system you're using.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top