How to fix Intune platform scripts not running on fresh Windows 11 devices

Jara Entren 35 Reputation points
2025-05-19T12:02:48.16+00:00

Hey everyone,

I'm facing an issue where platform scripts don't execute on some fresh Windows 11 devices without any pattern.

Some things to say right away:

  • No, I don't want to use Win32 apps or remediations. I shouldn't need to rely on a feature that's meant for other purposes or something that requires special licensing. All I need to do is run a simple PowerShell script once.
  • Yes, I have tried everything suggested in Microsoft Learn articles such as reassigning the script, assigning the script to user and device (device only didn't work either), restarting IME. All these steps aren't viable to me since more than a single device is affected.
  • No, there is no pattern to it which I could recognize.

My scripts run with 64-bit PowerShell, in system context, unsigned. This is not changeable in my situation. Everything else on the devices works fine (app installations, remediations, compliance policy, configuration profiles and much more). The devices are fresh from the factory on their OEM image and clients with the identical image work without issue. All users are licensed the same and sufficiently. I have waited for over a week for the scripts to run so time is not a factor here.

From what I know the scripts never appear in the logs. Making a new script and only assigning it to a user group with a single affected PC and user did make the new script run, but not the others. Replacing the script contents on the affected script didn't help either.

My Intune portal and Microsoft account is set to English so there should be no issue with the portal messing up on another language. My clients however are enrolled in German, I'm not aware of any issues regarding language incompatibility ever since the enroll account as standard user bug has been fixed.

Devices have been enrolled via Autopilot by having the hardware hash in our Intune.

I'm running out of ideas and this is making me lose my mind. Contacting Microsoft Support is out of scope for this issue too since I don't have the time to report the same logs 5 times just to be told that my issue is out of scope after 2 months. There must be a simple solution to this, which I may be missing.

Microsoft Security Intune Configuration
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.