Pineapple Posted October 6, 2015 Posted October 6, 2015 I have ImgBurn 2.5.8.0 installed on Windows Server 2012 R2 I'm trying to run an ImgBurn command line remotely from a linux server using winexe. Winexe is simply executing a batch file that contains all the arguments to run ImgBurn in command line mode. The batch file is working without issues when ran locally from Windows Powershell. Here is the batch file: @echo off @echo Running ImgBurn... SETLOCAL SET dir=%1 SET file=%2 SET label=%3 SET log=%4 @echo on c:\ImgBurn\ImgBurn.exe /mode build /buildoutputmode imagefile /src %dir% /dest %file% /filesystem "UDF" /udfrevision "2.50" /volumelabel %label% /start /close /preservefullpathnames no /rootfolder yes /logheader /log %log% @echo Code is %ERRORLEVEL% @echo off @echo ImgBurn Completed ENDLOCAL EXIT However, when I run the batch remotely using winexe (and passing the 4 arguments that the batch is expecting), ImgBurn crashes immediately. Windows error log reports the following: Application Error (Event ID 1000) Faulting application name: ImgBurn.exe, version: 2.5.8.0, time stamp: 0x00000000 Faulting module name: ImgBurn.exe, version 2.5.8.0, time stamp: 0x00000000 Exception code: 0xc0000005 Fault offset: 0x0048ed9b ... Any idea why this might be happening only when ran remotely? Remote account is running as administrator. ImgBurn was installed and ran as administrator. Any assistance would be greatly appreciated. Thank you.
LIGHTNING UK! Posted October 6, 2015 Posted October 6, 2015 Sorry, I've no idea. I guess the method it uses to run programs just isn't compatible.
Pineapple Posted October 8, 2015 Author Posted October 8, 2015 I was able to resolve the issue by using Open SSH (with Cygwin) to launch the batch file remotely. For some reason winexe just doesn't work with ImgBurn.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now