Open mikaelfun opened 4 years ago
Sorry totally missed your entry... This typically happens if you are not running this on a client joined to AAD/Intune. You have to run the script on the client where you downloaded the file. otherwise you will not have the certificate available. The MDM/Intune certificate is used for the decryption...
I have completely rebuilt the IntuneWin decrypter in PowerShell so that it doesn't need any external dependencies. I have also added a few extra features to it and more documentation.
Take a peek and tell me what you think:
https://github.com/elliot-huffman/Powershell-Doodads/blob/main/Apps/Endpoint%20Manager%20(Intune)/Unprotect-IntuneWin.ps1
how can it decrypt a null certcollection. Stuck here. Please help.