Author: allen298 | Posted on: 12/3/2010 4:25:27 PM | Views : 663

I have a problem which is a recent development.  We used to be able to run a batch file from IIS, but now we can't.  I have tried several different approaches to this issue, none of them have worked.  I tried to run the batch file under cmd using CreateProcess, CreateProcessWithLoginW, CreateProcessAs User, none of which worked.  I now know that CreateProcesswithLogonW won't work on Windows 2003 Server. This is a C++ webservice by the way, running on Windows 2003 server using IIS 5.1.  I have also tried running the batch file from a vbs script and calling the script in C++ using system("Scriptname") and that does not work either.  I have run out of options, or at least the options that I know about.  I learned that "EXEs in System32, which like CMD.EXE have "special" ACLs that prevent them from being launched remotely from IIS. CMD.EXE has further security checks inside of it to prevent being used to ...

Go to the complete details ...