The 32bit worker process reads configuration and determines that.You see it as w3wp.exe*32 with 64bit Task Manager When you configure Enable32bitAppOnWin64=1 in IIS6, it makes IIS launch 32bit worker process (w3wp.exe) to handle requests.Yes, your resulution is one way to address your specific issue, but in general I prefer to modify/manipulate system files only after understanding what is going on and the full ramifications of the change.īecause you configured Enable32bitAppOnWin64=1, WOW64 interactions came into play and complicated matters. hopefully this wont cause another problem somewhere else?! Answer: i copied the cscript.exe from the System32 into the SYSWOW64 directory and this fixed the problem.
#Running pcad 2006 on windows 10 64bit 32 bit#
Problem is that when you call the bat from the ASP it runs as a 32 bit process and runs the cscript.exe from the SYSWOW64 directory and this fails. I can only think maybe there is a problem being related to the fact we are running 圆4 and perhaps there is a registry setting or group policy setting i need to change?
![running pcad 2006 on windows 10 64bit running pcad 2006 on windows 10 64bit](https://www.howtogeek.com/wp-content/uploads/2017/06/img_59419310cbc60.png)
We are also running IIS with he following flag enabled Enable32BitAppOnWin64=True I am sure the permissions are setup correctly in IIS as both the Application Pool and Authenticated Anonymous User are set as the Administrator. In the BAT file we are running the following command: cscript.exe c:\windows\System32\iiscnfg.vbs /copy /ts %1 /tu machineusername /tp machinepassword The errmsg is returning 1 (not very helpful) Set oWSH= Server.CreateObject("WScript.Shell")Įrrmsg = oWSH.Run("d:\\scripts\\copyiissettings.bat 10.0.0.156",0,True) In the ASP we are trying to run the following
![running pcad 2006 on windows 10 64bit running pcad 2006 on windows 10 64bit](https://www.windowscentral.com/sites/wpcentral.com/files/styles/xlarge/public/field/image/2019/01/install-old-printer-windows-10.jpg)
It works fine on Windows 2003 Std x32 server but fails now we have upgraded to the 圆4 edition I'm having trouble running a bat file from an ASP page.