How to disable RDP and Command prompt for windows 7 domain PCs through GPO (Windows 2012 DC)


We had Windows 2008 Domain controllers and 250
Windows XP PC and now we have migrated to Windows 2012 domain controller and Windows 7 and few windows 8 tablets.

After we migrated to Windows 7, when users login to Win7 PCs, they can see the RDP and command prompt under Windows7 accessories.

I have few windows XP PCs in the network still and if the same users login these XP PCs, they cannot see Remote desktop and the Command prompt in accessories.

When I asked my predecessors, they said the GPO was configured for XP and because the GPO was configured for XP, and this GPO will not get applied properly to windows 7 PC.

Is there a way to disable this from the GPO on our domain controllers, so that when students and staff login, the Remote desktop and the Command prompt  are no more listed in the accessories.

Any help much appreciated
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mark GalvinManaging Director / Principal ConsultantCommented:

You can create a new GPO:
CMD Disable is under User Configuration\Administrative Templates\System
RDP Expand Computer Configuration – Administrative Templates – Windows Components – Remote Desktop Services – Remote Desktop Session Host – Connections. Then use the 'Allow users to connect remotely using Remote Desktop Services' to disable


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.