{"id":2616,"date":"2015-10-22T13:05:31","date_gmt":"2015-10-22T13:05:31","guid":{"rendered":"http:\/\/tomaskalabis.com\/wordpress\/?p=2616"},"modified":"2016-03-09T08:55:48","modified_gmt":"2016-03-09T08:55:48","slug":"terminal-server-licencing-error-id-4105","status":"publish","type":"post","link":"https:\/\/tomaskalabis.com\/wordpress\/terminal-server-licencing-error-id-4105\/","title":{"rendered":"Terminal Server Licencing &#8211; Error ID 4105"},"content":{"rendered":"<p>P\u00e1d dn\u00ed zp\u011bt jsem konfiguroval licen\u010dn\u00ed server pro Remote desktop services 2012R2.<\/p>\n<p><a href=\"http:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2015\/10\/4105-1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-large wp-image-2617\" src=\"http:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2015\/10\/4105-1-494x352.png\" alt=\"4105-1\" width=\"494\" height=\"352\" srcset=\"https:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2015\/10\/4105-1-494x352.png 494w, https:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2015\/10\/4105-1-288x205.png 288w, https:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2015\/10\/4105-1.png 1132w\" sizes=\"(max-width: 494px) 100vw, 494px\" \/><\/a><\/p>\n<p>Provedl jsem instalaci 100 RDS User CAL, ov\u0161em licen\u010dn\u00ed server nep\u0159id\u011bloval licence. Tak jsem koukl do\u00a0event logu a tam Error ID\u00a04105.<\/p>\n<p><strong>P\u0159i\u010dem\u017e<\/strong>:<\/p>\n<ul>\n<li>Po\u010d\u00edta\u010d je \u010dlenem skupiny &#8222;Licen\u010dn\u00ed servery termin\u00e1lov\u00e9ho serveru&#8220;<\/li>\n<li>\u00da\u010det s\u00ed\u0165ov\u00e9 slu\u017eby je \u010dlenem skupiny &#8222;Licen\u010dn\u00ed servery termin\u00e1lov\u00e9ho serveru&#8220;<\/li>\n<li>Slu\u017ebu Licencov\u00e1n\u00ed vzd\u00e1len\u00e9 plochy jsem restartoval<\/li>\n<\/ul>\n<p><strong>Mo\u017en\u00e9 \u0159e\u0161en\u00ed:<\/strong><\/p>\n<p>Upravte a spus\u0165te tento .ps script na dom\u00e9nov\u00e9m \u0159adi\u010di:<\/p>\n<pre># Description: This script will add missing permissions for the Terminal\r\n # Description: This script will add missing permissions for the Terminal\r\n #Server License Server group to user objects in Active Directory.\r\n # This may solve problems with TS CALs not beeing issued and event id\r\n #4105 being logged at the license server.\r\n\r\n # Constants\r\n $URL = \"LDAP:\/\/DC=mydomain,DC=com\";\r\n\r\n cls\r\n $root = New-Object DirectoryServices.DirectoryEntry $URL\r\n $ds = New-Object DirectoryServices.DirectorySearcher\r\n $ds.SearchRoot = $root\r\n $ds.filter = \"objectCategory=Person\"\r\n $src = $ds.findall()\r\n write-host \"Found\" $src.count \"user objects.`n\"\r\n $src | %{\r\n $de = $_.getdirectoryentry()\r\n $accessrules = $de.get_objectsecurity().getaccessrules($true, $false,[System.Security.Principal.SecurityIdentifier]) | ?{$_.ObjectType -eq \"5805bc62-bdc9-4428-a5e2-856a0f4c185e\"}\r\n if ((measure-object -inputobject $accessrules).count -eq 0)\r\n \u00a0 {\r\n \u00a0\u00a0\u00a0 $ar = new-object System.DirectoryServices.ActiveDirectoryAccessRule([System.Security.Principal.SecurityIdentifier]\"S-1-5-32-561\", 48, \"Allow\", [guid]\"5805bc62-bdc9-4428-a5e2-856a0f4c185e\")\r\n \u00a0\u00a0\u00a0 $de.get_objectsecurity().addaccessrule($ar)\r\n \u00a0\u00a0\u00a0 $de.commitchanges()\r\n \u00a0\u00a0\u00a0 write-host -f yellow (\"Added:`t\" + $de.properties[\"sAMAccountName\"])\r\n \u00a0\u00a0\u00a0 start-sleep -m 200\r\n \u00a0 }\r\n else\r\n \u00a0 {\r\n \u00a0\u00a0\u00a0 write-host -f green (\"OK:`t\" + $de.properties[\"sAMAccountName\"])\r\n \u00a0 }\r\n }<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>P\u00e1d dn\u00ed zp\u011bt jsem konfiguroval licen\u010dn\u00ed server pro Remote desktop services 2012R2. Provedl jsem instalaci 100 RDS User CAL, ov\u0161em licen\u010dn\u00ed server nep\u0159id\u011bloval licence. Tak jsem koukl do\u00a0event logu a &#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":[87,187,207],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Terminal Server Licencing - Error ID 4105<\/title>\n<meta name=\"description\" content=\"Terminal Server Licencing - Error ID 4105 Provedl jsem instalaci 100 RDS User CAL, ov\u0161em licen\u010dn\u00ed server nep\u0159id\u011bloval licence. Tak jsem koukl do event logu a tam Error ID 4105.\" \/>\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\/terminal-server-licencing-error-id-4105\/\" \/>\n<meta property=\"og:locale\" content=\"cs_CZ\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Terminal Server Licencing - Error ID 4105\" \/>\n<meta property=\"og:description\" content=\"Terminal Server Licencing - Error ID 4105 Provedl jsem instalaci 100 RDS User CAL, ov\u0161em licen\u010dn\u00ed server nep\u0159id\u011bloval licence. Tak jsem koukl do event logu a tam Error ID 4105.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tomaskalabis.com\/wordpress\/terminal-server-licencing-error-id-4105\/\" \/>\n<meta property=\"og:site_name\" content=\"tomaskalabis.com\" \/>\n<meta property=\"article:published_time\" content=\"2015-10-22T13:05:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-03-09T08:55:48+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\/terminal-server-licencing-error-id-4105\/\",\"url\":\"https:\/\/tomaskalabis.com\/wordpress\/terminal-server-licencing-error-id-4105\/\",\"name\":\"Terminal Server Licencing - Error ID 4105\",\"isPartOf\":{\"@id\":\"https:\/\/tomaskalabis.com\/wordpress\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/tomaskalabis.com\/wordpress\/terminal-server-licencing-error-id-4105\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/tomaskalabis.com\/wordpress\/terminal-server-licencing-error-id-4105\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2015\/03\/Server-2012-R2.gif\",\"datePublished\":\"2015-10-22T13:05:31+00:00\",\"dateModified\":\"2016-03-09T08:55:48+00:00\",\"author\":{\"@id\":\"https:\/\/tomaskalabis.com\/wordpress\/#\/schema\/person\/8e7e83f618a561ed3734a38cef4cf1d6\"},\"description\":\"Terminal Server Licencing - Error ID 4105 Provedl jsem instalaci 100 RDS User CAL, ov\u0161em licen\u010dn\u00ed server nep\u0159id\u011bloval licence. Tak jsem koukl do event logu a tam Error ID 4105.\",\"breadcrumb\":{\"@id\":\"https:\/\/tomaskalabis.com\/wordpress\/terminal-server-licencing-error-id-4105\/#breadcrumb\"},\"inLanguage\":\"cs\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/tomaskalabis.com\/wordpress\/terminal-server-licencing-error-id-4105\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"cs\",\"@id\":\"https:\/\/tomaskalabis.com\/wordpress\/terminal-server-licencing-error-id-4105\/#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\/terminal-server-licencing-error-id-4105\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/tomaskalabis.com\/wordpress\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Terminal Server Licencing &#8211; Error ID 4105\"}]},{\"@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":"Terminal Server Licencing - Error ID 4105","description":"Terminal Server Licencing - Error ID 4105 Provedl jsem instalaci 100 RDS User CAL, ov\u0161em licen\u010dn\u00ed server nep\u0159id\u011bloval licence. Tak jsem koukl do event logu a tam Error ID 4105.","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\/terminal-server-licencing-error-id-4105\/","og_locale":"cs_CZ","og_type":"article","og_title":"Terminal Server Licencing - Error ID 4105","og_description":"Terminal Server Licencing - Error ID 4105 Provedl jsem instalaci 100 RDS User CAL, ov\u0161em licen\u010dn\u00ed server nep\u0159id\u011bloval licence. Tak jsem koukl do event logu a tam Error ID 4105.","og_url":"https:\/\/tomaskalabis.com\/wordpress\/terminal-server-licencing-error-id-4105\/","og_site_name":"tomaskalabis.com","article_published_time":"2015-10-22T13:05:31+00:00","article_modified_time":"2016-03-09T08:55:48+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\/terminal-server-licencing-error-id-4105\/","url":"https:\/\/tomaskalabis.com\/wordpress\/terminal-server-licencing-error-id-4105\/","name":"Terminal Server Licencing - Error ID 4105","isPartOf":{"@id":"https:\/\/tomaskalabis.com\/wordpress\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tomaskalabis.com\/wordpress\/terminal-server-licencing-error-id-4105\/#primaryimage"},"image":{"@id":"https:\/\/tomaskalabis.com\/wordpress\/terminal-server-licencing-error-id-4105\/#primaryimage"},"thumbnailUrl":"https:\/\/tomaskalabis.com\/wordpress\/wp-content\/uploads\/2015\/03\/Server-2012-R2.gif","datePublished":"2015-10-22T13:05:31+00:00","dateModified":"2016-03-09T08:55:48+00:00","author":{"@id":"https:\/\/tomaskalabis.com\/wordpress\/#\/schema\/person\/8e7e83f618a561ed3734a38cef4cf1d6"},"description":"Terminal Server Licencing - Error ID 4105 Provedl jsem instalaci 100 RDS User CAL, ov\u0161em licen\u010dn\u00ed server nep\u0159id\u011bloval licence. Tak jsem koukl do event logu a tam Error ID 4105.","breadcrumb":{"@id":"https:\/\/tomaskalabis.com\/wordpress\/terminal-server-licencing-error-id-4105\/#breadcrumb"},"inLanguage":"cs","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tomaskalabis.com\/wordpress\/terminal-server-licencing-error-id-4105\/"]}]},{"@type":"ImageObject","inLanguage":"cs","@id":"https:\/\/tomaskalabis.com\/wordpress\/terminal-server-licencing-error-id-4105\/#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\/terminal-server-licencing-error-id-4105\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/tomaskalabis.com\/wordpress\/"},{"@type":"ListItem","position":2,"name":"Terminal Server Licencing &#8211; Error ID 4105"}]},{"@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\/2616"}],"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=2616"}],"version-history":[{"count":1,"href":"https:\/\/tomaskalabis.com\/wordpress\/wp-json\/wp\/v2\/posts\/2616\/revisions"}],"predecessor-version":[{"id":2618,"href":"https:\/\/tomaskalabis.com\/wordpress\/wp-json\/wp\/v2\/posts\/2616\/revisions\/2618"}],"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=2616"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tomaskalabis.com\/wordpress\/wp-json\/wp\/v2\/categories?post=2616"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tomaskalabis.com\/wordpress\/wp-json\/wp\/v2\/tags?post=2616"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}