I work on a desktop with a non-privleged account. Powershell Studio is running on this desktop.
When I launch Powershell Studio from this desktop I runAs the elevated account.
However, I get the warning "This module requires Administrator privileges."
I get this in ISE too.
Is there a way to run Powershell studio with my privileged account AND also run with Administrative privileges?
I completed a Microsoft Powershell Training class and during this class, I posed the above question and the trainer said he could not think of a way.
In a nutshell - runAs a privileged user and invoke Administrator Privileges in one fell swoop from a desktop logged in with a non-privileged account.
Thoughts?
Thanks!
Product: PowerShell Studio 2019 (64 Bit)
Build: v5.6.165
OS: Windows 10 Enterprise (64 Bit)
Build: v10.0.17763.0
Administrator Privileges - Elevated Account
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- Alexander Riedel
- Posts: 8479
- Last visit: Thu Mar 28, 2024 9:29 am
- Been upvoted: 37 times
Re: Administrator Privileges - Elevated Account
I am not sure what you are asking. You cannot run a process under two different credentials at the same time.
If you set to run PowerShell Studio to "Run as admin" in the shortcut it will prompt you for credentials for an admin account AND elevate at the same time.
I am not sure what your 'privileged' account entails, but elevated always is a step up from an account with admin rights.
If you set to run PowerShell Studio to "Run as admin" in the shortcut it will prompt you for credentials for an admin account AND elevate at the same time.
I am not sure what your 'privileged' account entails, but elevated always is a step up from an account with admin rights.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.