Powershell studio causing windows explorer to crash

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 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.
User avatar
whiggs2
Posts: 38
Joined: Sat Sep 23, 2017 11:59 pm

Powershell studio causing windows explorer to crash

Post by whiggs2 » Sat Dec 15, 2018 1:54 pm

To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build:
SAPIEN PowerShell Studio 2019
Version 5.6.156
32 or 64 bit version of product:
64
Operating system:
Windows 10 1809
32 or 64 bit OS:
64
*** Please add details and screenshots as needed below. ***

Sapien powershell studio is causing windows explorer to crash under certain circumstances. When the user attempts to package a script as an executable and the script is located in the user's onedrive folder, Windows explorer crashes every single time without exception. Here is a nice little video for to demonstrate the issue.


https://showmore.com/u/t3mvb74




Now I all I can do is hope that you actually care enough to fix it, of which I have none (based on past experiences). But, it can't be said I didn't try.

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

Re: Powershell studio causing windows explorer to crash

Post by Alexander Riedel » Sat Dec 15, 2018 9:41 pm

I will certainly hand this to QA to see if we can replicate your findings. I do not use OneDrive, so I cannot verify this.
According to the output shown in the video you provided, the packaging process completes without error. That means there is no information on our end what might cause this. So the interaction here seems to be that OneDrive crashes Windows Explorer when a file is created and modified. I would suggest to submit these issues to Microsoft, since Windows Explorer and OneDrive are both their software.
When you you submit this to Microsoft, please let us know where so we can add any additional information we might find.
I would also suggest to retrieve any system log entries you may find on your machine related to Windows Explorer crashing. Submit these with your report to Microsoft.
(Please note that there is nothing we could do with them, so don’t post them here)

In the meantime, there is little else we can do here other than maybe simply prevent packaging if the target is detected to be in a OneDrive folder.
Alexander Riedel
SAPIEN Technologies, Inc.

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

Re: Powershell studio causing windows explorer to crash

Post by Alexander Riedel » Mon Dec 17, 2018 6:19 am

Just as an FYI, we have not been able to replicate this issue here.
Alexander Riedel
SAPIEN Technologies, Inc.