Services & AIF - AX 2012 - Can not configure services

Sometime you may get into issues when you try to configure the Services & AIF either from the Initialization checklist or the Administration Setup Services menu. One of the possible reasons for these to fail when being configured is that the URL registration is done under another user than the current AOS credentials.
Error is something like (taken from Event Viewer):

Object Server 01:  System.OperationCanceledException: AIF service group not activated.  Service group: UserSessionService.  Error: HTTP could not register URL http://+:8101/DynamicsAx/Services/UserSessionService/. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details). ---> System.ServiceModel.AddressAccessDeniedException: HTTP could not register URL http://+:8101/DynamicsAx/Services/UserSessionService/. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details).

To checkout the current setup run the following: netsh http show urlacl.
This will output something like:
URL Reservations:
-----------------

    Reserved URL            : http://+:8102/DynamicsAx/Services/
        User: NT AUTHORITY\NETWORK SERVICE
            Listen: Yes
            Delegate: No
            SDDL: D:(A;;GX;;;NS)

    Reserved URL            : http://+:8101/DynamicsAx/Services/
        User: NT AUTHORITY\NETWORK SERVICE
            Listen: Yes
            Delegate: No
            SDDL: D:(A;;GX;;;NS)



From what I noticed is that you have to register the URLs under the current user in order for these to work.

Do this using:  
netsh http delete urlacl url=http://+:8101/DynamicsAx/Services and then
netsh http add urlacl url=http://+:8101/DynamicsAx/Services user=domain\aos_user