1. Stop the AOS (default service name is AOS50$01 for AX5).
2. Delete the user layer aod file (…\Microsoft Dynamics AX\50\Application\Appl\AXDB_App\axusr.aod) and *.aoi files.
3. Delete the metadata file in client %userprofile%\AppData\*.auc
4. Start the AOS.
5. Run AX client and do a synchronize on the Data Dictionary node on the AOT tree.
How to put Ax 2009 machine back to a clean state (remove the usr layer)
This was originally posted here.
*This post is locked for comments