0

I am looking for a way to remove the Remote Desktop Services server role on Windows server 2008 R2 remotely from a command prompt or power shell.

Thanks

1

You want either the Remove-WindowsFeature cmdlet, or ServerManagerCmd.exe.

This is well documented on TechNet.

| improve this answer | |
  • Ok but how I can run these command remotely? – Maxime Jun 14 '13 at 15:47
  • 1
    PowerShell has built in remoting capabilities and psexec.exe is the standard tool for remotely executing command line tools on remote computers. – MDMarra Jun 14 '13 at 15:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.