473,513 Members | 2,777 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Script modification of ISA access rules

1 New Member
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
0 1966

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

Similar topics

29
11225
by: deko | last post by:
Is there a way to get my script to run on regularly scheduled intervals without using cron? My hosting provider sucks... cannot use cron... I was thinking perhaps I could create a file every hour...
6
2337
by: Jeff Dunnett | last post by:
Hello, I have written the following HTML Form: <html><head><title>Survey</title></head> <body bgcolor="black" text="white" link="#f6b580" vlink="#c0c0ff"> <img src="logo.gif" width="324"...
2
7909
by: Harlan Messinger | last post by:
I know how to change attributes of a given element using Javascript, but can you change an attribute for a CSS class with script? Or for a particular kind of tag? For example, can you write a...
5
1956
by: Andrew Poulos | last post by:
If I have an external stylesheet that is @imported into my page and it has an element that looks like this: * html td { font-style: italic; } how can I use javascript to change the font...
7
3107
by: Sven Schwyn | last post by:
Hi Many people are asking how to automatically update columns containing a modification date on updates. I'm wondering if the only solutions in the current pgsql really are... - adding...
49
14282
by: Yannick Turgeon | last post by:
Hello, We are in the process of examining our current main application. We have to do some major changes and, in the process, are questionning/validating the use of MS Access as front-end. The...
1
1117
by: Joe | last post by:
Hi, I’m looking for a Registration / Join In script in either asp.net or asp. User will fill the form (First Name, Last Name, Email, Company, Phone, etc) and after submitting the form, an...
5
5287
by: minjie | last post by:
Is it possible to run a simple script to alter a table column in Access database from an interger to a double? I have been writing C++ programs every time we need to upgrade (modify) the Access...
13
1793
by: ts-dev | last post by:
Is it possible to prevent modification of a python file once its been deployed? File permissions of the OS could be used..but that doesn't seem very secure. The root of my question is verifying...
0
7254
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7153
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7373
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7094
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
4743
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3230
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3218
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1585
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
796
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.