Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Want to Execute .Bat in load Script in Qlik sense

I have made changes in System.ini

[Settings 7]

StandardReload=0

OverrideScriptSecurity=1

and restarted server .

But Still it is not working it gives following error : EXECUTE statement not available in this script mode



Thanks

9 Replies
arockiyaselvana
Partner - Creator
Partner - Creator

Hi Neeraj,

Can you pls care to elaborate what kind of operation you are trying to perform here?

If everything done as the this link, Execute command should work.

The command I used in the script is:

EXECUTE <full path to bat file.bat>

e.g: EXECUTE C:\Users\G\Documents\Qlik\Sense\Apps\Backup.bat;

execute ss.PNG

Anonymous
Not applicable
Author

Hi ,

We have followed same same link

Please not that ,i am not using Qlik sense desktop ,i am using Qlik sense hub

I Have tested in desktop it is working fine ,but it is not working in HUB

Please find the below snapshots .

Thanks for your reply

arockiyaselvana
Partner - Creator
Partner - Creator

For Qlik Sense Server, Pls refer the following link:

Disabling standard mode

To be honest, you have to be extreme careful to do this. And Please dont forget all the Caution messages in Qlik Help site.

Anonymous
Not applicable
Author

Have you tried to execute .bat file on Qlik Sense Server.

arockiyaselvana
Partner - Creator
Partner - Creator

Nope. I have tried this in Desktop only. So I cant comment any results in Server.

Anonymous
Not applicable
Author

Thanks  ,i have done by changing in QMC Engines

Not applicable
Author

Hello Neeraj,

Can you please provide the change details that you made in the QMC Engines.

Because i am having the same problem but not able to find the solution.

Thanks,

Prerak shah

konrad_mattheis
Luminary Alumni
Luminary Alumni

Hi,

you can use that connector. The compiled version will be soon on qlik market.But you can compile your own version.

GitHub - konne/qlik-connector-psexecute: Qlik Connector to Execute PS Scripts

bye Konrad

dvdbly01
Contributor II
Contributor II

Hi Prerak,

It seems you have to go to the QMC, in the "CONFIGURE SYSTEM" pane, "Engines" section:

There, you open the Engine needed and untick the "Standard Mode" box:

All the attempts I made to comply with instructions going through the Settings.ini file failed!

Incidently, we are running Qliksenseserver11.11.2.

Regards,

David