{"id":9552,"date":"2023-12-19T21:46:30","date_gmt":"2023-12-19T20:46:30","guid":{"rendered":"https:\/\/michlstechblog.info\/blog\/?p=9552"},"modified":"2024-09-18T14:22:30","modified_gmt":"2024-09-18T12:22:30","slug":"windows-gpo-logon-logoff-scripts","status":"publish","type":"post","link":"https:\/\/michlstechblog.info\/blog\/windows-gpo-logon-logoff-scripts\/","title":{"rendered":"Windows: GPO Logon\/logoff scripts"},"content":{"rendered":"<div class=\"twoclick_social_bookmarks_post_9552 social_share_privacy clearfix 1.6.4 locale-en_US sprite-en_US\"><\/div><div class=\"twoclick-js\"><script type=\"text\/javascript\">\/* <![CDATA[ *\/\njQuery(document).ready(function($){if($('.twoclick_social_bookmarks_post_9552')){$('.twoclick_social_bookmarks_post_9552').socialSharePrivacy({\"services\":{\"flattr\":{\"uid\":\"Michl\",\"status\":\"on\",\"the_title\":\"Windows%3A%20GPO%20Logon%2Flogoff%20scripts\",\"the_excerpt\":\"Hi%2C%0D%0A%0D%0AUser%20GPO%20logon%2Flogoff%20script%20definitions%20are%20stored%20in%20an%20extra%20place.%20They%20are%20not%20part%20of%20C%3A%5Cwindows%5CSystem32%5Cgrouppolicy%5Cuser%5Cregistry.pol%20nor%20they%20can%20be%20exported%20my%20secedit.%0D%0A%20%28more%26hellip%3B%29\",\"txt_info\":\"2 clicks for more data protection:\\r\\n\\r\\nOnly when you click here, the button will be come active and you can send your recommendation to Flattr. When activating, data are transmitted to third parties. \",\"perma_option\":\"off\"}},\"txt_help\":\"When you activate these fields by clicking, information to Flattr may be transferred abroad, and probably may also stored there.\",\"settings_perma\":\"Enable permanently and accept data transmission. \",\"info_link\":\"http:\\\/\\\/www.heise.de\\\/ct\\\/artikel\\\/2-Klicks-fuer-mehr-Datenschutz-1333879.html\",\"uri\":\"https:\\\/\\\/michlstechblog.info\\\/blog\\\/windows-gpo-logon-logoff-scripts\\\/\",\"post_id\":9552,\"post_title_referrer_track\":\"Windows%3A+GPO+Logon%2Flogoff+scripts\",\"display_infobox\":\"on\"});}});\n\/* ]]> *\/<\/script><\/div><p>Hi,<\/p>\n<p>User GPO logon\/logoff script definitions are stored in an extra place. They are not part of C:\\windows\\System32\\grouppolicy\\user\\registry.pol nor they can be exported my secedit.<br \/>\n<!--more--><\/p>\n<p>They are store in <\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ndir \/a:h C:\\windows\\System32\\grouppolicy\\user\\scripts\\psscripts.ini\r\ndir \/a:h C:\\windows\\System32\\grouppolicy\\user\\scripts\\scripts.ini\r\n<\/pre>\n<p>both files are hidden. psscripts.ini are the Powershellscripts and scripts.ini are batchfiles.<\/p>\n<p>Michael<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, User GPO logon\/logoff script definitions are stored in an extra place. They are not part of C:\\windows\\System32\\grouppolicy\\user\\registry.pol nor they can be exported my secedit.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[2029,539,698,216,20],"class_list":["post-9552","post","type-post","status-publish","format-standard","hentry","category-windowsknowhow","tag-gpo","tag-logoff","tag-logon","tag-scripts","tag-windows-2"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/9552","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/comments?post=9552"}],"version-history":[{"count":2,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/9552\/revisions"}],"predecessor-version":[{"id":9554,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/9552\/revisions\/9554"}],"wp:attachment":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/media?parent=9552"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/categories?post=9552"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/tags?post=9552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}