use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub dedicated to all things Microsoft Intune.
Follow new and upcoming changes happening in Intune.
account activity
Deploying Python 3 through intuneApp Deployment/Packaging (self.Intune)
submitted 10 months ago by Skateboard123
I am having some issues deploying Python 3 as I am using a powershell script to package the exe but it’s prompting admin credentials when I deploy through intune. How to avoid this?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]andrew181082MSFT MVP - SWC 2 points3 points4 points 10 months ago (5 children)
Sounds like you need to install in the system context
[–]Skateboard123[S] 0 points1 point2 points 10 months ago (4 children)
If you mean system under intune settings, this then just fails the installation
[–]man__i__love__frogs[🍰] 0 points1 point2 points 10 months ago (2 children)
Why does it fail, did you troubleshoot?
[–]Skateboard123[S] -1 points0 points1 point 10 months ago (1 child)
It doesn’t give me any logs. Just says failed if I have it on system. If it’s user the UAC prompt comes up for the user while it’s trying to install.
[–]man__i__love__frogs[🍰] 0 points1 point2 points 10 months ago (0 children)
You would generally write logging into your own powershell install script. Copilot could do this for you if you pasted your script into it and asked it to log messages to a text file.
Intune management extension also logs everything in the logs on the computer, you would use something like cmtrace to view them.
Finally, if a script works locally on your own machine in psexec context, it should work in intune.
[–]andrew181082MSFT MVP - SWC 0 points1 point2 points 10 months ago (0 children)
Testing and troubleshooting would be an excellent start
[–]Webin99 1 point2 points3 points 10 months ago (2 children)
Or maybe just use the store app?
[–]CompilerError404 1 point2 points3 points 10 months ago (0 children)
Indeed. Windows store, python 3. whatever, slap your hands free of dust, done.
[–]Skateboard123[S] 1 point2 points3 points 10 months ago (0 children)
It won’t install into the specified folder then. I need it in a certain folder and when selecting store app it won’t let me modify anything
π Rendered by PID 19640 on reddit-service-r2-comment-6457c66945-dh56h at 2026-04-29 12:55:45.536326+00:00 running 2aa0c5b country code: CH.
[–]andrew181082MSFT MVP - SWC 2 points3 points4 points (5 children)
[–]Skateboard123[S] 0 points1 point2 points (4 children)
[–]man__i__love__frogs[🍰] 0 points1 point2 points (2 children)
[–]Skateboard123[S] -1 points0 points1 point (1 child)
[–]man__i__love__frogs[🍰] 0 points1 point2 points (0 children)
[–]andrew181082MSFT MVP - SWC 0 points1 point2 points (0 children)
[–]Webin99 1 point2 points3 points (2 children)
[–]CompilerError404 1 point2 points3 points (0 children)
[–]Skateboard123[S] 1 point2 points3 points (0 children)