![]() |
| | #1 (permalink) |
| 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 | Guest
Posts: n/a
|
|
| | #2 (permalink) | |
| bozard wrote: Quote:
See this url for details: http://msdn.microsoft.com/en-us/libr...tz(VS.80).aspx | Guest
Posts: n/a
| |
|
| | #3 (permalink) | ||
| Thank You, Thank you, thank you! "Klaus Jorgensen" wrote: Quote:
| Guest
Posts: n/a
| ||
|
![]() |
| Tags |
| None |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Vista screensaver wont start computer wont sleep either | jen not techy | Windows Vista Performance & Maintenance | 3 | 02-20-2007 12:56 AM |
| Game wont load correctly | Jedi | Windows XP Games | 3 | 12-27-2005 04:24 PM |
| Media Player wont play CDs correctly | Danksta420 | Windows XP Music | 1 | 08-08-2004 07:39 PM |
| ICS npt installing correctly | franco | Windows XP Network & Web | 0 | 09-16-2003 07:39 PM |
| XP wont set cpu correctly | Jon | Windows XP Hardware | 0 | 08-27-2003 12:28 PM |