Dynamics AX 2012: Forms on opening hide behind in the back

 

In Dynamics AX 2012, when you open the forms, you might see some of them open behind the other forms. User may get the impression that the form was never opened. This happens if the form opened slowly; a cold start, uniqueness of the data including large number of records or complexity of the form may cause the form to load up slowly. The form hide behind the other form because of Windows’s ‘ForegroundLockTimeout’.

Doing the following changes to your system could fix this issue. Since it involves changing a registry key in your system, take necessary precautions.

Create a Restore point before performing the steps below as a precaution.

https://windows.microsoft.com/en-US/windows7/Create-a-restore-point

Steps:

1. Open registry>> Start>>Type regedit>>press enter.

2. Locate the key:

HKEY_CURRENT_USER\Control Panel\Desktop

3. On the right pane right click on the following key and select modify:

4. ForegroundLockTimeout

5. Select Base as decimal and then type 0 (zero) in the value data box and click on Ok.

6. Exit from registry and restart the computer.

REGISTRY EDIT DISCLAIMER:

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 How to back up and restore the registry in Windows

Comments

  • Anonymous
    February 23, 2012
    Thanks for info. Do we need to change it for all the user machines?

  • Anonymous
    February 23, 2012
    @Yogesh Kasat: Yes, this will need to be done on each machine which is running the AX client.

  • Anonymous
    February 24, 2012
    thanks Ray.. We tried these steps. but did not work, not sure what we could be missing.

  • Anonymous
    March 01, 2012
    Not working all the time for us also

  • Anonymous
    January 20, 2013
    Not working for me either :(

  • Anonymous
    February 27, 2014
    We have also tried this and it didn't resolve it for our customer.However we have a working theory that that the problem manifests itself on clients running windows 7/Win2k3 Terminal server or earlier, since we are unable to reproduce our customer's problem on the MS Contoso system running win2k8. Perhaps the performance team can investigate this angle ?

  • Anonymous
    March 26, 2014
    We have the same problem. We are running AX-client as remote app on Windows 2012 terminal servers.Changing the register key didn’t fix it for us.Only Windows 7 users have this problem, Windows 8 user’s seems to be fine.But we found a workaround.Make sure that language bar is open and visible on the taskbar when the remote session is running.To do that:Let the user login with Remote Desktop to the terminal server Go into Control panels and Language Add at least one extra language. Go into Advanced settings Make sure that “Use the desktop language bar when it’s available” is checked Click on Options to the right In the options for the language bar make sure that ”Docked in the taskbar” is selected. Apply all settings and log out of the Remote Desktop Start the remote app again and the windows will behave normal again

  • Anonymous
    April 07, 2014
    Hi Andreas Synning,it is possible to suggest that the setting via GPO?

  • Anonymous
    June 25, 2015
    We are facing this same problem and the registry key change did not work.

  • Anonymous
    January 04, 2016
    Registry changing did not resolve problem in my company. Adding extra language also not working (windows 2012 RDP, remote app on windows 10/8/7). Has anybody solved the problem?