Some time ago I showed you the options you have to block the administrative tools like CMD and Regedit. Within the latest insider preview 20185 I noticed a new ADMX file
So? We can block cmd and regedit by configuring a CSP, right?
I enrolled a new Window 10 Enterprise VM and updated to the last insider preview update. After my new VM was configured, I tried to configure this CSP by creating a new device configuration profile like this:
But nothing happened…Opening Regedit was still possible. That seems kinda odd. DeviceManagement-Enterprise-Diagnostics event log tells me, the ADMX could not be found. After some digging in the registry, I noticed the ADMX was without the “-“. So I removed the “-“ in the CSP URI
But again… nothing happened. The event log showed a new warning: “Policy is rejected by licensing”. Okay? I have never seen that error, that’s for sure.
I also tried the same with the CMD. I opened the ADMX file to create the correct URI and string.
But for the third time, nothing happened. I was still able to open the CMD. And the event log showed the same error: “Rejected by licensing”.
After that, I tested it with another policy (Like Peter Klapwijk did) Admx_CTRLALTDEL Policy. Within a few minutes, the possibility to open the task manager was gone… That was working like expected.
It was time for me to involve Peter Klapwijk to check if he gets the same error as I did. He noticed the exact same thing. He reported it to Microsoft.
In the meantime, I compared the working Policy with the non-working policy.
This is a working Policy:
This is a non-working policy: (I added a new registry entry. In my opinion that one was missing).
I’m not sure this is the problem, but I think it is weird.
After some time, Peter Klapwijk received an email from Microsoft confirming it’s a Windows bug. And a few days later he received another: “Bug found, fix made”.
Never give up and good luck will find you to block administrative tools soon. But still… Applocker is the best option you have. I hope I can create a new blog soon when there is a new build because with the latest build 200828-1431 it still not working.