web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

looking for guide for ax command line parameters.

(0) ShareShare
ReportReport
Posted on by

Hello,

I need to pass parameters to command line of ax32.exe.

i.e : I need to login to ax with different user as default (current windows login user).

How can I do that?

 

Thanks :)

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    You have two options to start AX-Client ax32.exe with different-user

    1) Execute “runas.exe” command utility (pass username and ax32.exe as parameters)

    2) Hold-Shift and Right-Click on ax32.exe, click popup-option “Run as different user” and enter user/password start AX with different-user

  • Community Member Profile Picture
    on at

    I have checked this out, but it doesn't work.

    (What exactly I write: runas.exe ...?

    I did hold-shift and right-click etc. I didn't find "run as different user".

    I preffer something like solution 1.

    BTW - I need a generic way to pass username and ax32.exe as parameters).

    Thanks :)

  • Verified answer
    Martin Dráb Profile Picture
    237,878 Most Valuable Professional on at

    The item in context menu is not available in all versions of Windows.

    About runas, you could find the answer yourself - simply call runas (without parameters) from a command line window (cmd or powershell). It will show all possible parameters, their description and examples.

    One possible usage is simply runas user:mydomain\myuser "c:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin\ax32.exe"

    If using PowerShell, you may also look at Start-Process cmdlet (with parameter -Credential (Get-Credential)).

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Ali Zaidi Profile Picture

Ali Zaidi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans