I have the problem that I am getting a
System error 5 has occurred. Access is denied.
error when I am trying to run the command
net user /domain <username>
with a regular domain user account (not domain administrator or local administrator).
We need to run this command not as an administrator to load a certain workload for our non admin users, using a script. On other server systems with the exact the same policy and same domain settings I was able to run this command as a non admin user. I even exported a policies from the project that does not get an error and imported them, but unfortunately without success...
Internet research says that the GP setting "Network access. Restrict clients allowed to make remote calls to SAM" may be the solution.
I've add the group that should be able to make a net user request, updated the policy on the server and the group was showing up as "allowed". Unfortunately this solution also did not work for me and I still had exactly the same error:
System error 5 has occurred. Access is denied.
The only difference that the project with this problem has to the project that works is the Windows Version:
- The project that works has: Windows W2019 1809 / 17763.1935
- The project with a problem: Windows 2019 1809 / 17763.1790
Could you help me to find out the solution for this problem, please?
So I could bring the project live.