Running form with domain admin but UNC paths still prompt for creds

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
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.
This topic is 6 years and 3 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
morgange
Posts: 15
Last visit: Sun Jan 22, 2023 1:14 pm

Running form with domain admin but UNC paths still prompt for creds

Post by morgange »

PowerShell Studio 2017 v5.4.145
x64
Win10
x64

Hi,

Happy Christmas all.

I am sure this is normal behavior but is there a workaround?
I created an 'Admin GUI' used by various admins in my team, i want to be able to open the admin shares on remote machines i.e \\hostname\c$ without it prompting for credentials.
The same account can access admin shares from the runline without prompt but using PS it always prompts.
I have tried various things and have used openfiledialog for now as it opens without prompt but is read only and i need read & write for it to be fully functional.

Any help or pointers is much appreciated.

Geoff
User avatar
Alexander Riedel
Posts: 8478
Last visit: Tue Mar 26, 2024 8:52 am
Answers: 19
Been upvoted: 37 times

Re: Running form with domain admin but UNC paths still prompt for creds

Post by Alexander Riedel »

Your console probably runs elevated, PowerShell Studio does not. Push the run elevated button on the ribbon before running your script and see if that makes a difference.
Alexander Riedel
SAPIEN Technologies, Inc.
This topic is 6 years and 3 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.