{"id":1706,"date":"2014-11-04T13:59:51","date_gmt":"2014-11-04T13:59:51","guid":{"rendered":"http:\/\/tomaskalabis.com\/wordpress\/?p=1706"},"modified":"2016-03-09T08:58:29","modified_gmt":"2016-03-09T08:58:29","slug":"enabledisable-rdp-using-powershell","status":"publish","type":"post","link":"https:\/\/tomaskalabis.com\/wordpress\/enabledisable-rdp-using-powershell\/","title":{"rendered":"How to Enable\/Disable rdp using powershell"},"content":{"rendered":"<p><strong>Enable RDP rule in Windows Registry :<\/strong><\/p>\n<pre>reg add \"HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal Server\" \/v fDenyTSConnections \/t REG_DWORD \/d 0 \/f<\/pre>\n<p><strong>Disable RDP rule in Windows Registry :<\/strong><\/p>\n<pre>reg add \"HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal Server\" \/v fDenyTSConnections \/t REG_DWORD \/d 1 \/f<\/pre>\n<p><strong>Enable RDP Network Level Authentication (NLA) in Windows Registry :<\/strong><\/p>\n<pre>reg add \"HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp\" \/v UserAuthentication \/t REG_DWORD \/d 1 \/f<\/pre>\n<p><strong>Disable RDP Network Level Authentication (NLA) in Windows Registry :<\/strong><\/p>\n<pre>reg add \"HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal ServerWinStationsRDP-Tcp\" \/v UserAuthentication \/t REG_DWORD \/d 0 \/f<\/pre>\n<p><strong>Enable RDP in Firewall :<\/strong><\/p>\n<pre>netsh firewall set service type = remotedesktop mode = enable<\/pre>\n<p><strong>Disable RDP\u00a0 in Firewall :<\/strong><\/p>\n<pre>netsh firewall set service type = remotedesktop mode = disable<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Enable RDP rule in Windows Registry : reg add &#8222;HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal Server&#8220; \/v fDenyTSConnections \/t REG_DWORD \/d 0 \/f Disable RDP rule in Windows Registry : reg add &#8222;HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal Server&#8220; \/v &#8230;<\/p>\n","protected":false},"author":2,"featured_media":2087,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[12],"tags":[163,151,148],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Enable\/Disable rdp using powershell<\/title>\n<meta name=\"description\" content=\"How to Enable\/Disable rdp using powershell, in this tutorial i\u00b4ll show you, how to enable\/disable RDP, NLA or Firewall from powershell\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/tomaskalabis.com\/wordpress\/enabledisable-rdp-using-powershell\/\" \/>\n<meta property=\"og:locale\" content=\"cs_CZ\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Enable\/Disable rdp using powershell\" \/>\n<meta property=\"og:description\" content=\"How to Enable\/Disable rdp using powershell, in this tutorial i\u00b4ll show you, how to enable\/disable RDP, NLA or Firewall from powershell\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tomaskalabis.com\/wordpress\/enabledisable-rdp-using-powershell\/\" \/>\n<meta property=\"og:site_name\" content=\"tomaskalabis.com\" \/>\n<meta property=\"article:published_time\" content=\"2014-11-04T13:59:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-03-09T08:58:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2015\/03\/Server-2012-R2.gif\" \/>\n\t<meta property=\"og:image:width\" content=\"178\" \/>\n\t<meta property=\"og:image:height\" content=\"178\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/gif\" \/>\n<meta name=\"author\" content=\"Tomas Kalabis\" \/>\n<meta name=\"twitter:label1\" content=\"Napsal(a)\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tomas Kalabis\" \/>\n\t<meta name=\"twitter:label2\" content=\"Odhadovan\u00e1 doba \u010dten\u00ed\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minuta\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/tomaskalabis.com\/wordpress\/enabledisable-rdp-using-powershell\/\",\"url\":\"https:\/\/tomaskalabis.com\/wordpress\/enabledisable-rdp-using-powershell\/\",\"name\":\"How to Enable\/Disable rdp using powershell\",\"isPartOf\":{\"@id\":\"https:\/\/tomaskalabis.com\/wordpress\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/tomaskalabis.com\/wordpress\/enabledisable-rdp-using-powershell\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/tomaskalabis.com\/wordpress\/enabledisable-rdp-using-powershell\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2015\/03\/Server-2012-R2.gif\",\"datePublished\":\"2014-11-04T13:59:51+00:00\",\"dateModified\":\"2016-03-09T08:58:29+00:00\",\"author\":{\"@id\":\"https:\/\/tomaskalabis.com\/wordpress\/#\/schema\/person\/8e7e83f618a561ed3734a38cef4cf1d6\"},\"description\":\"How to Enable\/Disable rdp using powershell, in this tutorial i\u00b4ll show you, how to enable\/disable RDP, NLA or Firewall from powershell\",\"breadcrumb\":{\"@id\":\"https:\/\/tomaskalabis.com\/wordpress\/enabledisable-rdp-using-powershell\/#breadcrumb\"},\"inLanguage\":\"cs\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/tomaskalabis.com\/wordpress\/enabledisable-rdp-using-powershell\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"cs\",\"@id\":\"https:\/\/tomaskalabis.com\/wordpress\/enabledisable-rdp-using-powershell\/#primaryimage\",\"url\":\"https:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2015\/03\/Server-2012-R2.gif\",\"contentUrl\":\"https:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2015\/03\/Server-2012-R2.gif\",\"width\":178,\"height\":178},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/tomaskalabis.com\/wordpress\/enabledisable-rdp-using-powershell\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/tomaskalabis.com\/wordpress\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Enable\/Disable rdp using powershell\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/tomaskalabis.com\/wordpress\/#website\",\"url\":\"https:\/\/tomaskalabis.com\/wordpress\/\",\"name\":\"tomaskalabis.com\",\"description\":\"my personal blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/tomaskalabis.com\/wordpress\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"cs\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/tomaskalabis.com\/wordpress\/#\/schema\/person\/8e7e83f618a561ed3734a38cef4cf1d6\",\"name\":\"Tomas Kalabis\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"cs\",\"@id\":\"https:\/\/tomaskalabis.com\/wordpress\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9f7e4796b38d5720e8a07b918f423311?s=96&d=retro&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9f7e4796b38d5720e8a07b918f423311?s=96&d=retro&r=g\",\"caption\":\"Tomas Kalabis\"},\"sameAs\":[\"https:\/\/x.com\/tomaskalabis\"],\"url\":\"https:\/\/tomaskalabis.com\/wordpress\/author\/kalabis\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Enable\/Disable rdp using powershell","description":"How to Enable\/Disable rdp using powershell, in this tutorial i\u00b4ll show you, how to enable\/disable RDP, NLA or Firewall from powershell","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/tomaskalabis.com\/wordpress\/enabledisable-rdp-using-powershell\/","og_locale":"cs_CZ","og_type":"article","og_title":"How to Enable\/Disable rdp using powershell","og_description":"How to Enable\/Disable rdp using powershell, in this tutorial i\u00b4ll show you, how to enable\/disable RDP, NLA or Firewall from powershell","og_url":"https:\/\/tomaskalabis.com\/wordpress\/enabledisable-rdp-using-powershell\/","og_site_name":"tomaskalabis.com","article_published_time":"2014-11-04T13:59:51+00:00","article_modified_time":"2016-03-09T08:58:29+00:00","og_image":[{"width":178,"height":178,"url":"https:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2015\/03\/Server-2012-R2.gif","type":"image\/gif"}],"author":"Tomas Kalabis","twitter_misc":{"Napsal(a)":"Tomas Kalabis","Odhadovan\u00e1 doba \u010dten\u00ed":"1 minuta"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/tomaskalabis.com\/wordpress\/enabledisable-rdp-using-powershell\/","url":"https:\/\/tomaskalabis.com\/wordpress\/enabledisable-rdp-using-powershell\/","name":"How to Enable\/Disable rdp using powershell","isPartOf":{"@id":"https:\/\/tomaskalabis.com\/wordpress\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tomaskalabis.com\/wordpress\/enabledisable-rdp-using-powershell\/#primaryimage"},"image":{"@id":"https:\/\/tomaskalabis.com\/wordpress\/enabledisable-rdp-using-powershell\/#primaryimage"},"thumbnailUrl":"https:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2015\/03\/Server-2012-R2.gif","datePublished":"2014-11-04T13:59:51+00:00","dateModified":"2016-03-09T08:58:29+00:00","author":{"@id":"https:\/\/tomaskalabis.com\/wordpress\/#\/schema\/person\/8e7e83f618a561ed3734a38cef4cf1d6"},"description":"How to Enable\/Disable rdp using powershell, in this tutorial i\u00b4ll show you, how to enable\/disable RDP, NLA or Firewall from powershell","breadcrumb":{"@id":"https:\/\/tomaskalabis.com\/wordpress\/enabledisable-rdp-using-powershell\/#breadcrumb"},"inLanguage":"cs","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tomaskalabis.com\/wordpress\/enabledisable-rdp-using-powershell\/"]}]},{"@type":"ImageObject","inLanguage":"cs","@id":"https:\/\/tomaskalabis.com\/wordpress\/enabledisable-rdp-using-powershell\/#primaryimage","url":"https:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2015\/03\/Server-2012-R2.gif","contentUrl":"https:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2015\/03\/Server-2012-R2.gif","width":178,"height":178},{"@type":"BreadcrumbList","@id":"https:\/\/tomaskalabis.com\/wordpress\/enabledisable-rdp-using-powershell\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/tomaskalabis.com\/wordpress\/"},{"@type":"ListItem","position":2,"name":"How to Enable\/Disable rdp using powershell"}]},{"@type":"WebSite","@id":"https:\/\/tomaskalabis.com\/wordpress\/#website","url":"https:\/\/tomaskalabis.com\/wordpress\/","name":"tomaskalabis.com","description":"my personal blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/tomaskalabis.com\/wordpress\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"cs"},{"@type":"Person","@id":"https:\/\/tomaskalabis.com\/wordpress\/#\/schema\/person\/8e7e83f618a561ed3734a38cef4cf1d6","name":"Tomas Kalabis","image":{"@type":"ImageObject","inLanguage":"cs","@id":"https:\/\/tomaskalabis.com\/wordpress\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/9f7e4796b38d5720e8a07b918f423311?s=96&d=retro&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9f7e4796b38d5720e8a07b918f423311?s=96&d=retro&r=g","caption":"Tomas Kalabis"},"sameAs":["https:\/\/x.com\/tomaskalabis"],"url":"https:\/\/tomaskalabis.com\/wordpress\/author\/kalabis\/"}]}},"jetpack_featured_media_url":"https:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2015\/03\/Server-2012-R2.gif","_links":{"self":[{"href":"https:\/\/tomaskalabis.com\/wordpress\/wp-json\/wp\/v2\/posts\/1706"}],"collection":[{"href":"https:\/\/tomaskalabis.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tomaskalabis.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tomaskalabis.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tomaskalabis.com\/wordpress\/wp-json\/wp\/v2\/comments?post=1706"}],"version-history":[{"count":1,"href":"https:\/\/tomaskalabis.com\/wordpress\/wp-json\/wp\/v2\/posts\/1706\/revisions"}],"predecessor-version":[{"id":1708,"href":"https:\/\/tomaskalabis.com\/wordpress\/wp-json\/wp\/v2\/posts\/1706\/revisions\/1708"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tomaskalabis.com\/wordpress\/wp-json\/wp\/v2\/media\/2087"}],"wp:attachment":[{"href":"https:\/\/tomaskalabis.com\/wordpress\/wp-json\/wp\/v2\/media?parent=1706"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tomaskalabis.com\/wordpress\/wp-json\/wp\/v2\/categories?post=1706"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tomaskalabis.com\/wordpress\/wp-json\/wp\/v2\/tags?post=1706"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}