Ankermgmt / ankermake-m5-protocol

Ankermake M5 protocol specifications and libraries *NOT AFFILIATED WITH ANKER*
GNU General Public License v3.0
161 stars 33 forks source link

[HELP] I seem to have messed up windowsapp permissions for python. #165

Open TheSamot opened 2 months ago

TheSamot commented 2 months ago

I followed the instructions for use of ankerctl and used them to attempt to print directly from orcaslicer. I was able to start the ankerctl.py localhost webserver from powershell, and "connect" to the device in orcaslicer, but could not print. the device was constantly attempting and failing to start pppp video access to the machine.

I read in another issue thread that it needed to be let through windows defender, so I attempted to add python to defender's exception list because I didn't want to completely disable defender. I was prevented by the windowsapp folders permissions. I changed ownership of the folder to get access, added python to the windows defender app exception list, and attempted to run the webserver again and got this.

https://i.imgur.com/PXsMg4J.png

I attempted to change permissions back to "trustedinstaller", didn't work. I also attempted to change them to administrator without success, and then specifically tried changing the python subfolder permissions to "everyone" but nothing seems to fix it.

I'm afraid I've severely messed up the permissions to the windowsapp folder, and I'm mildly worried it will affect other things as well, so I'm hesitant to restart the pc, which I know is usually the first step in problem solving.

Any assistance that could be provided would be greatly appreciated.

Thank you.

TheSamot commented 2 months ago

Update: I think I've mostly unscrewed the windowsapp permissions using https://github.com/AgentRev/WindowsAppsUnfukker

and am back to where I started with the pppp not connecting and being unable to upload and print.

I'd still love some help, but it's no longer an emergency.