Powershell Studio Throws "Access Is Denied" on startup

Support for all customers who have purchased a SAPIEN PowerShell Studio product license. This forum does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE 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.
RobHydell
Posts: 6
Joined: Wed Sep 19, 2018 3:03 pm

Powershell Studio Throws "Access Is Denied" on startup

Post by RobHydell » Fri Sep 21, 2018 5:26 am

Product, version and build: 5.2.123.0
32 or 64 bit version of product: 64bit
Operating system: Windows 7 Enterprise 6.1 (Build 7601 SP 1)
32 or 64 bit OS: 64 bit

When loading powershell studio it displays the splash screen and then fails with the message "Access is denied" (see image). This was just installed and has never worked for me. I tried uninstalling / reinstalling it a few times.
AccessIsDenied.png
AccessIsDenied.png (37.33 KiB) Viewed 1430 times

User avatar
Alexander Riedel
Posts: 6684
Joined: Tue May 29, 2007 4:43 pm

Re: Powershell Studio Throws "Access Is Denied" on startup

Post by Alexander Riedel » Fri Sep 21, 2018 5:32 am

Looks like the application cannot open its own process.
What .NET framework is installed?
Do other .NET applications work? (If you don't know, install a PowerShell HelpWriter trial)
Last but not least, are you running as a restricted user? Did you try run as admin?
Alexander Riedel
SAPIEN Technologies, Inc.

RobHydell
Posts: 6
Joined: Wed Sep 19, 2018 3:03 pm

Re: Powershell Studio Throws "Access Is Denied" on startup

Post by RobHydell » Tue Sep 25, 2018 4:24 pm

Thanks for the response.

.NET 4.7.0.2558
Yes other .NET applications work
Yes running as a restricted user but I thought this might be the problem as well and run it elevated with admin and as admin and both still give the same error.
I should also note I had my machine rebuilt as well.

Thanks in advance for the help.

User avatar
davidc
Posts: 5474
Joined: Thu Aug 18, 2011 4:56 am

Re: Powershell Studio Throws "Access Is Denied" on startup

Post by davidc » Wed Sep 26, 2018 9:15 am

In the next service release, we added safety checks to catch any access denied exceptions. Hopefully it will help, but PowerShell Studio requires the necessary permissions to access its own process or child processes in order to function correctly.
David
SAPIEN Technologies, Inc.

RobHydell
Posts: 6
Joined: Wed Sep 19, 2018 3:03 pm

Re: Powershell Studio Throws "Access Is Denied" on startup

Post by RobHydell » Thu Sep 27, 2018 4:42 am

When running as administrator and separately in the administrators group I got the same errors. Do you know what elevated rights it's looking for? This is a corporate installation and cannot be given admin rights permanently.

Thanks

User avatar
davidc
Posts: 5474
Joined: Thu Aug 18, 2011 4:56 am

Re: Powershell Studio Throws "Access Is Denied" on startup

Post by davidc » Tue Oct 09, 2018 9:01 am

Please try the latest service release (v5.5.155) and let us know if you are still getting the popups.
David
SAPIEN Technologies, Inc.

RobHydell
Posts: 6
Joined: Wed Sep 19, 2018 3:03 pm

Re: Powershell Studio Throws "Access Is Denied" on startup

Post by RobHydell » Wed Oct 10, 2018 1:10 pm

Unfortunately I am unable to use a different version as I have to use the pre-approved and packaged version of the application.