{"id":1595,"date":"2016-01-06T09:51:25","date_gmt":"2016-01-06T08:51:25","guid":{"rendered":"http:\/\/blog.kodono.info\/wordpress\/?p=1595"},"modified":"2016-01-06T09:51:25","modified_gmt":"2016-01-06T08:51:25","slug":"how-to-change-the-default-logon-name-on-windows-7","status":"publish","type":"post","link":"https:\/\/blog.kodono.info\/wordpress\/2016\/01\/06\/how-to-change-the-default-logon-name-on-windows-7\/","title":{"rendered":"How to change the default logon name on Windows 7"},"content":{"rendered":"<p>On a remote PC it was another logon name that appeared by default&#8230; In that case I had to click on &#8220;Switch User&#8221;, then &#8220;Other User&#8221;, and finally enter my username and password. Very frustrating.<\/p>\n<p>After a few searches <a href=\"http:\/\/answers.microsoft.com\/en-us\/windows\/forum\/windows_7-security\/set-default-username-how-to\/fea276d1-9845-41c8-9621-50f1738500c7?db=5&#038;auth=1\">I found<\/a> we can change the default name using the registry and with the below commands (to enter into a <code>cmd<\/code> console in admin mode) :<br \/>\n<code>call reg add \"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Authentication\\LogonUI\" \/v LastLoggedOnSAMUser \/t REG_SZ \/d \"The_Default_Domain\\The_Default_Username\" \/f<br \/>\ncall reg add \"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Authentication\\LogonUI\" \/v LastLoggedOnUser \/t REG_SZ \/d \"The_Default_Domain\\The_Default_Username\" \/f <\/code><\/p>\n<p>Log off and <code>The_Default_Domain\\The_Default_Username<\/code> should prompt!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On a remote PC it was another logon name that appeared by default&#8230; In that case I had to click on &#8220;Switch User&#8221;, then &#8220;Other User&#8221;, and finally enter my username and password. Very frustrating. After a few searches I found we can change the default name using the registry and with the below commands [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","hide_page_title":"","footnotes":""},"categories":[15,13,8],"tags":[153,152,148],"class_list":["post-1595","post","type-post","status-publish","format-standard","hentry","category-astuce","category-niveau-intermediaire","category-windows","tag-astuce","tag-niveau-intermediaire","tag-windows"],"_links":{"self":[{"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/posts\/1595","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/comments?post=1595"}],"version-history":[{"count":2,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/posts\/1595\/revisions"}],"predecessor-version":[{"id":1597,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/posts\/1595\/revisions\/1597"}],"wp:attachment":[{"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/media?parent=1595"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/categories?post=1595"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/tags?post=1595"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}