I have an application server running Remote Desktop Session Host (RDSH) on Windows Server 2016 in an isolated Azure cloud environment and would like to prevent the users (who login via RDP) from being able to install software on a whim. How to best enforce this?

I know gpmc.msc has been suggested in other similar articles on serverfault (such as here: how to disable a user to install program being domain user?); however, it seems the solutions provided there using group policy won't work on my platform. Therefore, my question is a lot more specific. I would perform what I want via group policy; however, I get the error, "Windows cannot find 'gpmc.msc'. Make sure you typed the name correctly, and then try again."

Any other ideas?

POSTSCRIPT: I've since learned that gpmc.msc doesn't come loaded on Windows Server by default, and must be installed manually through Server Manager | Add Roles and Features. That got me past the error I mentioned earlier and enabled me to set the DisableUserInstalls group policy.

But my question still stands, is this method the best or are there more manageable ideas?

2 Answers 2


Application whitelisting. Which for Windows usually means AppLocker.


don't give users admin rights, then, if you want to lock down what runs on windows, configure AppLocker. without GPMC use secpol.msc see https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-defender-application-control/applocker/applocker-overview

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .