Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
Hi I am struggling to run a 32 bit app from 64 bit Windows Server 2012. When I set it up in task scheduler it never runs. Any suggestions to the following? Thanks.

If the Application (which you are trying to schedule) is 32-bit then try launching it from the 32-bit CLI, i.e. if you want to (in this case) run C:\Program Files (x86)\Strate\CDReportInstall\CDReportExtracts.exe, tell Task Scheduler to launch:
%systemroot%\Syswow64\cmd.exe /C "C:\Program Files (x86)\Strate\CDReportInstall\CDReportExtracts.exe"
This forces it to launch from the 32-bit command-prompt and hence with 32-bit emulation.


C:\windows\system32\cmd.exe /c “C:\Program Files (x86)\Strate\CDReportInstall\CDReportExtracts.exe”

When I run the above argument it says file name, directory or label syntax is incorrect.
Posted
Updated 21-Apr-15 3:21am
v2
Comments
Richard Deeming 21-Apr-15 9:39am    
The instructions say to run cmd.exe from the SysWOW64 directory, so why are you running the version from the System32 directory?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900