on-internet
← Community

Running bat file on IIS server

Stack Overflow ·

I'm trying to run a .bat file on a windows server 2008 R2 64bit with IIS version 6.1 SP1. On my local machine everything goes well but on server nothing happens, except for a process that gets created (cms.exe *32). From my search the main problem is permissions. I read in several places that IIS for default blocks access to batch files for security reasons. I do understand the problem but in my case there would be no security issue so i would like to still run my file. The solutions i found passed by implementing impersonation which means: Change web.config -> identity impersonate="true" Chan

Comments

Sign in or sign up to comment and upvote.

No comments yet.