Skip to content

Instantly share code, notes, and snippets.

@boh
Created December 26, 2017 20:57
Show Gist options
  • Select an option

  • Save boh/b853fd51af0a9593bd16b24a44432b86 to your computer and use it in GitHub Desktop.

Select an option

Save boh/b853fd51af0a9593bd16b24a44432b86 to your computer and use it in GitHub Desktop.
Enable RDP over WMIC remotely
C:\> wmic /namespace:\\root\CIMV2\TerminalServices PATH Win32_TerminalServiceSetting WHERE (__CLASS !="") CALL SetAllowTSConnections 1
# https://twitter.com/wincmdfu/status/945613485408387072
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment