I have two versions of lucee one on my computer and the other on a production server. I wanted to protect a word document using Microsoft RMS service, using the below command:
<cfexecute name="C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"
arguments='Protect-RMSFile -File "D:\CM.docx" -TemplateID 75e51549-41f9-464b-897d-28123425733 -OutputFolder d:\'
outputfile='D:\refreshsite.log' variable="data" errorvariable="xyz" timeout="50"/>
This works well on my computer but on server gives:
timeout [50000 ms] expired while executing
Despite then I see that the command works fine on the server and the protected file is created. I have no idea what Lucee is waiting for on the server!!!