R studio doesn't link with R (exiting with code 10)

The problem is solved.

We recently changed to Microsoft Intune and it was a Microsoft technical issue. Microsoft forces R Studio to be installed as administrator but R have to be installed as administrator. Here lays the problem.

  1. We de-installed R and R Studio

  2. We installed R as administrator

  3. We installed R Studio as administrator (default)

=> Works fine now.

Thank you for your help.