Forum Discussion
Deleting RegistryKeys on Clients via Intune
Hi GuelenToker i can confirm to you that the script works through Intune
the only thing you need to set in de script is:
reg delete "HKEY_CLASSES_ROOT\ms-msdt" /f
Intune runs thorugh system account in de computers and it also gonna take care of the powershell execution policy so that is not needed.
putting the commanbd abouve on a ps script worked just fine in our Intune.
side note:
you wont see that it worked until the computers in the group you deploy to are restarted.
good luck.
- GuelenTokerJun 08, 2022Copper ContributorThanks very much I will try this out:)
- GuelenTokerJun 09, 2022Copper Contributor
I modified the script and did the reboot. Although I still receive error in Intune, the key is deleted. DiazAlain .
We tested similar steps as in the link you provided and now it is ok DineshCR
Thanks both for the help:)
- DineshCRJun 08, 2022Copper Contributor
GuelenToker this is also a good read and it worked for me
https://cloudinfra.net/how-to-fix-cve-2022-30190-using-microsoft-intune/