Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not load file or assembly Operation is not supported #8

Closed
SeasonalFerret opened this issue Aug 24, 2020 · 2 comments
Closed

Comments

@SeasonalFerret
Copy link

Error is received when attempting to open .exe files.

uvppNhNb48

Fix for me:
Navigate to C:\ProgramData\Run_in_Sandbox\assembly, right-click files, and unblock.

https://stackoverflow.com/questions/34400546/could-not-load-file-or-assembly-operation-is-not-supported-exception-from-hres

I am unsure how to reproduce this issue or what caused it, but it might be worth putting this error + fix in a FAQ or potential fix/issues.

@damienvanrobaeys
Copy link
Owner

So you have this once you try to run random exe from right click in sandbox ?
This is a known issue after downloading file from the web. You can unblock a folder by doing gci yourfolder -recurse | unblock-file
This is a nice feedback too, i will implement it in the main script.

@damienvanrobaeys
Copy link
Owner

I added this in the new script that I will upload and indicates this in the how to guide.
Thanks for the feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants