By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,711 Members | 2,158 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,711 IT Pros & Developers. It's quick & easy.

Script modification of ISA access rules

P: 1
HELP. :)

I found a usefull script at isascripts.org. The script fills a computerset with names and IP-adresses. I'm running IIS and ISA server on the same machine and I would like to let the script be executed from an ASP.NET website running on the IIS server. The IIS is only accessable from my internal network so the security is about the script execution is not that critical.

The script works fine when I execute it directly from the command prompt on the server, but it dosen't work when I try to execute it remotely on the website from a DHCP client computer in my local network.

To execute the script I use the following C# code:

ProcessStartInfo psi = new ProcessStartInfo("UpdateISA.bat");
psi.UseShellExecute = true;

Process p = Process.Start(psi);
p.Close();

---
The content of the BAT-file executed is the following:

WScript.exe ISAFillSet.vbs Residents residents.txt
---

I tried redirecting the standard output and error streams from the process and no errors showed up. The BAT file and the script engine executes with no errors; the only problems is, that nothing happens in the ISA server. The computerset doesn't update.

As I said this operation works fine when I execute it on the server command prompt.

I also tried to change the standard guest account on the IIS to "Administrator" and I tried to set Full permissions on the cmd.exe, UpdateISA.bat, WScript.exe, ISAFillSet.vbs and residents.txt files. No Luck! :(

Anybody with futher knowledge or more ideas - pleease help :)
Using Windows Server 2003 Enterprise and ISA 2004 Enterprise.
Oct 12 '08 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.