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)

AX 2012 client installation & management

(0) ShareShare
ReportReport
Posted on by 5

Hello community. I am wondering about the best way to install and configure AX 2012 R3 clients for over 200 network PCs. Here is what I've tried and the issues I've run into:

I have create a computer startup script via group policy to remotely install the AX client. That script is as follows.

"%~dp0setup.exe" RunMode=Custom AcceptLicenseTerms=1 HideUi=1 ByPassWarnings=1 InstallClientUi=1 ClientConfigFile="\\server\share\PROD_AX2012R3_x64.axc" ClientLanguage=en-us ConfigurePreRequisites=1 LogDir="C:\logs"

The issue I have with this is that it fails as apparently the \\server\share is not supported in the installation script. That's according to the errors in the DynamicsSetupLog.txt file. This is a computer startup script as my users do not have admin rights, so running the install at logon is not an option. Since it is a computer startup script, the use of a mapped drive for the configuration file is also not supported. In other words, I have tried this:

net use A: \\server\share\PROD_AX2012R3_x64.axc and then set ClientConfigFile="A:\PROD_AX2012R3_x64.axc", but this won't work because the install is attempted without a user logging into the system. So the errors in the DynamcsSetupLog is that the system can't find the shared configuration file. If I were to logon to the computer as an admin and run the script with the mapped drive, it runs without issue.

What will work is removing the ClientConfigFile= part and using ClientAOSServer=<AOSServerName>. The problem with this approach is that I haven't figured out how to add multiple (clustered) AOS servers using that variable. Otherwise, the install works fine that way, just no load balancing.

So my questions are as follows:
1. Is there a way to allow for a remote install that can point to a shared configuration file at computer startup time?

2. Is there some way I can change the original configuration en masse so that when a user clicks the Dynamics AX Client link they point to the shared configuration file - or whatever way would allow for them to point to all clustered AOS servers for load balancing.

I am also interested in number 2 as I have a number of users pointed to our TEST environment need to find some way of pointing them to our PROD servers when we go live. I do not want to visit each PC, and I don't believe I'd be able to change the configuration as the users do not have admin rights (original configuration would be grayed out). I know there is a registry setting to change the AOS server, but again, I don't know how to modify that registry entry to add multiple AOS servers to the configuration.

And, yes, I can give users a link to the shared configuration file, but I want them to go to the correct load-balanced environment when they click the Dynamics AX program icon.

Regards,

-Steve

*This post is locked for comments

I have the same question (0)
  • stevebrower Profile Picture
    5 on at

    Further investigation has shown that if I copy the shared configuration file locally to the PC on which I want to install AX, the installation works. In my case, I've copied the file to C:\Downloads on the target PC and changed the install script to find the shared config file at that location.

    Interestingly, though, I still only see one AOS server is listed when looking at the Dynamics AX 2012 Configuration Utility, as well as only one being listed in the registry. That despite the fact that the shared configuration clearly has both AOS servers listed. What this means is no failover.

    Still, in my case I have two load-balanced servers right now (AOS01 and AOS02). The configuration points only to AOS01 in both the Config utility and in the registry. When I opened the AX Client, I may be connected to AOS02.

    Unfortunately, if AOS01 happens to be down, I will never be able to connect to Dynamics since only one server lives in the original configuration.

    It seems to me that there is no way to push install the Dynamics AX client and have it point to a load balanced configuration by default. I hope I am wrong here because the thought of touching 200+ PCs to get Dynamics working correctly is not something I'm overly please with.

    I can't believe I am the only one struggling with this. What do others do when they have several hundred (or several thousand) client installs to deal with? Does everyone simply run the client in Terminal Services (or Citrix)?

  • stevebrower Profile Picture
    5 on at

    Ultimately I have decided to push the clients via Remote Desktop Services. We are still not at Go Live, so the solution hasn't been fully tested. I do think this will yield better results as the ease of administration is much less than with individual client installs. Certainly updating will be much easier.

    Pushing it out automatically has been a real challenge, but with a logon script from the Microsoft site and a few tweaks it seems to be working well enough.

  • Martin Dráb Profile Picture
    237,795 Most Valuable Professional on at

    If you use a load balancer, the client configuration always points to the load balancer and nothing else. You have to specify multiple AOS servers only if you don't use a dedicated load balancer. Learn more in Create a load balancing cluster [AX 2012].

    If you want to use a shared .axc file, you just have to give users a .lnk calling ax32.exe with the .axc file as a parameter. If you wanted to use the default configuration saved in Windows registry, you can set corresponding registry keys directly. You can use Powershell DSC, for example, to automatically apply it to many machines.

  • stevebrower Profile Picture
    5 on at

    Thanks for the explanation, Martin. While I'm not using a dedicated load balancer at this point, I do point to a shared configuration file as a parameter in my RemoteApp deployment. When time allows, I plan to note some of the challenges I've run into getting this setup and pushing the RemoteApp out to my clients.

    One question I have is that in my testing I seem to always connect to one AOS server and not the other (we have two without a dedicated load balancer). I am assuming there's a configuration setting I'm missing. By chance would you know why I would connect to one AOS server consistently when connecting via the AX client?

  • Martin Dráb Profile Picture
    237,795 Most Valuable Professional on at

    I don't know much about it; I expect it to work as documented. How does you cluster configuration (System administration > Setup > System > Cluster configuration) look like?

  • stevebrower Profile Picture
    5 on at

    System admin --> Setup-->System--Cluster Settings show 2 servers, both as "Non Load Balanced AOS Instances". Having said that, when I logged on to check the configuration I actually was directed to the load balanced server that previously I hadn't hit before. Go figure. I guess more testing is in order.

    Before that, however, I have a major snow storm to prepare for being in the Washington, DC area, so time to test the generator, etc.

    Thanks again for the responses Martin.

    Regards,

    -Steve

  • Umesh Pandit Profile Picture
    9,315 User Group Leader on at

    Hello Steve,

    Check for acceptable latency also.

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
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans