{"id":3651,"date":"2016-04-07T22:36:26","date_gmt":"2016-04-07T20:36:26","guid":{"rendered":"http:\/\/michlstechblog.info\/blog\/?p=3651"},"modified":"2016-04-11T10:28:51","modified_gmt":"2016-04-11T08:28:51","slug":"windows-change-password-utility","status":"publish","type":"post","link":"https:\/\/michlstechblog.info\/blog\/windows-change-password-utility\/","title":{"rendered":"Windows: Change Password Utility"},"content":{"rendered":"<div class=\"twoclick_social_bookmarks_post_3651 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_3651')){$('.twoclick_social_bookmarks_post_3651').socialSharePrivacy({\"services\":{\"flattr\":{\"uid\":\"Michl\",\"status\":\"on\",\"the_title\":\"Windows%3A%20Change%20Password%20Utility\",\"the_excerpt\":\"Hi%2C%0D%0A%0D%0Ain%20Active%20Directory%20Domain%20environment%20you%20have%20to%20frequently%20change%20your%20password.%0D%0A%0D%0AThe%20default%20Windows%20methods%20usually%20does%20not%20support%20clipboard%20operations.%20So%20you%20have%20to%20enter%20your%20new%20password%20two%20times%20and%20depending%20on%20your%20method%20your%20old%20password%20too%20%3A-%28%20.%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-change-password-utility\\\/\",\"post_id\":3651,\"post_title_referrer_track\":\"Windows%3A+Change+Password+Utility\",\"display_infobox\":\"on\"});}});\n\/* ]]> *\/<\/script><\/div><p>Hi,<\/p>\n<p>in Active Directory Domain environment you have to frequently change your password.<\/p>\n<p>The default Windows methods usually does not support clipboard operations. So you have to enter your new password two times and depending on your method your old password too \ud83d\ude41 .<br \/>\n<!--more--><\/p>\n<p>I wrote a small tool to change a password. It supports two approaches.<\/p>\n<ul>\n<li>With\u00a0 .NET Directory.Services Class<\/li>\n<li>Over Windows API<\/li>\n<\/ul>\n<p>A problem of method 1 is that if the password is already expired and you try to change the password an error occurs.<\/p>\n<p>Method 2 can change the password even it is already expired and the PC is not member of an different domain or workgroup.<\/p>\n<p>Usage is very simple. Enter your Account and your Domain and press the button for the method you want to use \ud83d\ude42<figure id=\"attachment_3652\" aria-describedby=\"caption-attachment-3652\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2016\/04\/ADPasswordChanger.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/michlstechblog.info\/blog\/wp-content\/uploads\/2016\/04\/ADPasswordChanger.png\" alt=\"Active Directory PasswordChanger\" width=\"300\" height=\"270\" class=\"size-full wp-image-3652\" \/><\/a><figcaption id=\"caption-attachment-3652\" class=\"wp-caption-text\">Active Directory PasswordChanger<\/figcaption><\/figure><\/p>\n<p>C# Source code is available. You can also find a precompiled binaries ADPasswortChange.exe in the \\bin\\debug or \\bin\\folder release, so you do have not to install Visual Studio.<\/p>\n<p>Michael<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, in Active Directory Domain environment you have to frequently change your password. The default Windows methods usually does not support clipboard operations. So you have to enter your new password two times and depending on your method your old password too \ud83d\ude41 .<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[150,5],"tags":[122,829,92,830,145,20],"class_list":["post-3651","post","type-post","status-publish","format-standard","hentry","category-c","category-windowsknowhow","tag-change","tag-different-domain","tag-password","tag-password-expired","tag-user","tag-windows-2"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/3651","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=3651"}],"version-history":[{"count":7,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/3651\/revisions"}],"predecessor-version":[{"id":3659,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/posts\/3651\/revisions\/3659"}],"wp:attachment":[{"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/media?parent=3651"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/categories?post=3651"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michlstechblog.info\/blog\/wp-json\/wp\/v2\/tags?post=3651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}