This is needed if you are unable to log into the Axapta Client due to the following error message: "You are not a recognized user of Microsoft Dynamics AX"
Use the following Script to find the Windows user SID you want to change:
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set objAccount = objWMIService.Get _
Now replace the SID using Microsoft SQL Server Mangement Studio, in the USERINFO table. Log in with the new user.