-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
Deployment via Intune leads to errors at starting PowerToys #8622
Comments
@tomsoe |
@enricogior I tried your suggestion to extract the msi from the *.exe. I used this command to uninstall which is also used in my pre-installation section
I also added an if statement to check the current version of .NET on the device. If its outdated or doesn't exist it will install .NET 3.1. I used this command to install: Result: |
Hi, do you have any update on this issue, @crutkas ? :) |
Alright @enricogior. If there is anything I can help with, let me know! :) |
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment. |
ℹ Computer information
📝 Provide detailed reproduction steps (if any)
The installation is working fine while running the script in admin context, but when I install via Intune I stuble upon a couple of errors.
My two cents are that there might be issues with the context which the package runs from:
User context: Runs OK*
Admin context: Runs OK
System context: Failed
*User context is not an option in this case since the application prompts for elevated rights when running the installation *.exe. The users are not allowed to run anything with elevated rights in my environment.
✔️ Expected result
What is the expected result of the above steps?
I guess I expect the application to be installed with no errors as it does when installing it manually or in admin context.
❌ Actual result
What is the actual result of the above steps?
If I install PT manually in user and admin context it works as expected. All features runs OK.
If I install the application through Company Portal the installation progress reports no errors for users, but when you start the application from the start menu you're in a loop of errors.
The application doesn't seem to start when running it. No logo in the bottom-right corner (^), neither any signs of PowerToys running in Task Manager.
If you start explorer.exe while PT is installed it will just crash over and over. If you start explorer.exe in admin context it might not crash however this isn't consistant.
PowerToys also fails to create the schedule task. When running in '--silent' you won't get the error, but when you run it with '--no_full_ui' you'll get the errormsg.
I get these errors in eventwr.msc (appologies for foreign language):
Programnavn med feil: PowerToys.exe, versjon: 0.27.1.0, tidsangivelse: 0x5fcfc216
Modulnavn med feil: PowerToys.exe, versjon: 0.27.1.0, tidsangivelse: 0x5fcfc216
Unntakskode: 0xc0000409
Feilforskyvning: 0x000000000009943d
Feil prosess-ID: 0x32b8
Feil starttid for program: 0x01d6d2b64f137741
Feil programbane: C:\Program Files\PowerToys\PowerToys.exe
Feil modulbane: C:\Program Files\PowerToys\PowerToys.exe
Rapport-ID: 88d7da11-98dd-49c7-a2b4-b3e7ab8e6cd9
Fullstendig navn på feilpakke:
Relativ program-ID for feilpakke:
Programnavn med feil: explorer.exe, versjon: 10.0.19041.662, tidsangivelse: 0x996782f8
Modulnavn med feil: ucrtbase.dll, versjon: 10.0.19041.546, tidsangivelse: 0x43cbc11d
Unntakskode: 0xc0000409
Feilforskyvning: 0x000000000007287e
Feil prosess-ID: 0x4308
Feil starttid for program: 0x01d6d2b62d9ae29f
Feil programbane: C:\Windows\explorer.exe
Feil modulbane: C:\Windows\System32\ucrtbase.dll
Rapport-ID: f023a40b-df89-4fdf-ab6c-15b260fc93bc
Fullstendig navn på feilpakke:
Relativ program-ID for feilpakke:
I've tried PT 0.25 - experimental 0.28. with the same errors as mentioned.
Intune is using system account to install software.
The only related issue I've stumbled upon is #1910
📷 Screenshots
Are there any useful screenshots? WinKey+Shift+S and then just paste them directly into the form
The text was updated successfully, but these errors were encountered: