Recently I have updated my Windows 8 to Windows 8.1. Everything seemed to be ok, until I realized that I cannot start neither of my AOS (AX 4.0, AX 2009 and AX 2012).

Service is still in place. If you tried to start e.g. AX 2012 AOS you would encounter the following errors:
Object Server 01: Error accessing registry: Cannot open key SYSTEM\CurrentControlSet\Services\Dynamics Server\6.0\01. Error code: 0 

Object Server 01: The directory "C:\WINDOWS\system32\\bin" does not exist or access to it has been denied by the operating system.

Object Server 01: The home directory for Axapta (C:\WINDOWS\system32\) does not match the required structure or can not be accessed. Please check installation, configuration and access rights.

If you tried to open AX Server Configuration Utility you would see it completely empty:

The problem is that registry keys located in  HKEY_LOCAL_MACHINE\SYSTEM\ CurrentControlSet\Services\Dynamics Server\  were deleted during the update.

Proactive solution

If you have not updated yet when the best solution would be to export that node and import after update.


Note:  Provided solution works for AX 2012 R2 CU6 version.

But if you have already updated and facing this issue then you have the following options:

  • Recreate keys manually;
  • Import from your colleague;
  • Create the reg file yourself by copying and pasting the contents below.

AOS uninstall or repair won't work for this.

For your convenience below is the exported AX 2012 CU6 registry keys for  Original (installed configuration) . Copy the text to notepad, save as reg file and import using regedit.

Do not forget to change the flowing info before importing:

  1. AOS instance name
  2. DB Server Name
  3. DB Name
  4. Ports (TCP/IP, WSDL and netTCP) defaults 2712, 8101, 8201.
  5. User running the AOS service.
  6. Configuration name (optional)

Restart your computer after importing (otherwise you won't see changes in AX Server Configuration Utility.


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dynamics Server\6.0]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dynamics Server\6.0\01]
"Current"="Original (installed configuration)"
"InstanceName"=" AX2012AOSNAME "
"AOSPath"="C:\\Program Files\\Microsoft Dynamics AX\\60\\Server\\ AX2012AOSNAME \\Bin\\Ax32Serv.exe"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dynamics Server\6.0\01\Original (installed configuration)]
"bindir"="C:\\Program Files\\Microsoft Dynamics AX\\60\\Server\\ AX2012AOSNAME \\Bin\\"
"database"=" AX2012DBNAME "
"directory"="C:\\Program Files\\Microsoft Dynamics AX\\60\\Server\\ AX2012AOSNAME \\bin\\Application"
"logdir"="C:\\Program Files\\Microsoft Dynamics AX\\60\\Server\\ AX2012AOSNAME \\Log"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dynamics Server\6.0\01\Original (installed configuration)\SetupProperties]
"AOSAPPLICATIONPATH"="C:\\Program Files\\Microsoft Dynamics AX\\60\\Server\\ AX2012AOSNAME \\bin\\Application"
"AOS_LOC_DESC"="Executes application logic and manages data access for Microsoft Dynamics® AX 2012"

Hope it works for you.

Author of the post: our former AX Upgrade Team Manager Evaldas Landauskas.

日博电竞入口数据 im中国电竞官方外围 蜂鸟电竞登录比赛网 电竞体育(武汉)观看全球网址 esg电竞现场查询 宝博电竞联赛v8.10 IOS版