{"id":136,"date":"2007-02-13T20:25:09","date_gmt":"2007-02-13T18:25:09","guid":{"rendered":"http:\/\/contoso.se\/blog\/?p=136"},"modified":"2007-02-14T20:21:01","modified_gmt":"2007-02-14T18:21:01","slug":"check-regkey-and-service-startup-mode","status":"publish","type":"post","link":"http:\/\/contoso.se\/blog\/?p=136","title":{"rendered":"Check regkey and service startup mode"},"content":{"rendered":"<p>Last week me and some friends found a strange mismatch with a\u00c2\u00a0server that has remote desktop enable and the terminal service application computer group. I have done a script that will check a regkey (not the one in this example) and a service startup type. If the startup type is not auto, the script will change it and generate a information event in the local event viewer. It is a little bit strange script, but I am sure someone more that\u00c2\u00a0us can use it \ud83d\ude42<\/p>\n<p>The event that is generated in the local event viewer has event id 0 and the type is information<\/p>\n<p>Unfortunately my WordPress theme dont really like long lines in scripts, so I have uploaded it as a file instead. You can download it <a href=\"http:\/\/www.contoso.se\/files\/script01.vbs\">here<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last week me and some friends found a strange mismatch with a\u00c2\u00a0server that has remote desktop enable and the terminal service application computer group. I have done a script that will check a regkey (not the one in this example) and a service startup type. If the startup type is not auto, the script will &hellip; <a href=\"http:\/\/contoso.se\/blog\/?p=136\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[2,13],"tags":[],"_links":{"self":[{"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/136"}],"collection":[{"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=136"}],"version-history":[{"count":0,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/136\/revisions"}],"wp:attachment":[{"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=136"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=136"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=136"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}