Nav.Client.exe -consolemode Parameter not working with 140?

MarHanMarHan Member Posts: 7
Hey there,

can anyone confirm that the -consolemode command line parameter, that worked perfectly by at least v71, stopped working in or since v140?

I'm starting a "ui-less" windows client to run a codeunit like this (yes I know, there are better ways to do this):

"C:\Program Files (x86)\Microsoft Dynamics 365 Business Central\140\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exe" -consolemode "DynamicsNAV://myserver:9927/myinstance/mycompany/runcodeunit?codeunit=12345678" -settings:"C:\settings\mysettings.config"

Normally there should no win client ui appear on this but it does. The codeunit runs and the win client stays opened.

Thanks in advance,



  • irasoelbaksirasoelbaks Netherlands, theMember Posts: 119
    AFAIK this isn't a parameter you can use in BC14 neither for Nav 2017. Anyway I never read something about it on the internet/Microsoft and we never used it at our company neither for our customers.
  • MarHanMarHan Member Posts: 7
    It is documented here: Link

  • irasoelbaksirasoelbaks Netherlands, theMember Posts: 119
    Thanks for the link, great info, I didn't know that.
Sign In or Register to comment.