Close outlook on all the users that are running outlook. So if you are doing it for user abc. Close the outlook of the user abc. So that it will not prompt error
Login to a user with administrative access.
Change it to 188.8.131.52 it seems that it somehow this was the solution I think the DNS had some problem
Search for outlook then right click it. Then click on Properties
How you get the path of the program you trying to execute
Run the user that you want to add the account for outlook. Open cmd and use the runas command.
Take note of gmail settings. As if you set it wrong the testing of receiving and sending email will fail. Particularly send of email.