Itxx
asked on
Open powershell with a 'regular user' on Server 2012R2
Hi,
We have a piece of software that runs a powershell command at startup to match the username and match it with active directory.
This works perfect on server 2008R2 but does not on server 2012R2.
If I login with my test user on RDS2012 and try to open powershell I get access denied.
I cannot open powershell.exe in C:\windows\system32\powers hell\V1.0\ powershell .exe but I can open it in the SysWow64 folder.
For example, I want to run the command "[System.Environment]::Use rname" when logged in as a normal user.
Do I somehow have to give permission to powershell?
We have a piece of software that runs a powershell command at startup to match the username and match it with active directory.
This works perfect on server 2008R2 but does not on server 2012R2.
If I login with my test user on RDS2012 and try to open powershell I get access denied.
I cannot open powershell.exe in C:\windows\system32\powers
For example, I want to run the command "[System.Environment]::Use
Do I somehow have to give permission to powershell?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Policy was preventing acces. Thanks!
ASKER
UAC is disabled.
CD'ing in to "C:\Windows\system32\power
The permissions on x64 powershell are the same as yours.
The permissions for x86 powershell are only SYSTEM & Administrators.