{"id":898,"date":"2019-07-30T00:54:43","date_gmt":"2019-07-30T00:54:43","guid":{"rendered":"http:\/\/www.itcrumbs.com\/?p=898"},"modified":"2019-07-30T00:54:43","modified_gmt":"2019-07-30T00:54:43","slug":"reset-local-domain-administrator-password-on-server-2016-2019","status":"publish","type":"post","link":"https:\/\/www.itcrumbs.com\/?p=898","title":{"rendered":"Reset local domain\/Administrator password on Server (2016) 2019"},"content":{"rendered":"<p><a href=\"https:\/\/www.em-soft.si\/myblog\/elvis\/?p=975\">https:\/\/www.em-soft.si\/myblog\/elvis\/?p=975<\/a>  <\/p>\n<ol>\n<li>Boot from DVD \u2013 you need to access to Windows system drive offline \u2013 installation DVD has all tools that you need.\n<li>From menu select Repair your computer. This will give you the ability to change some files.\n<li>In the next menu select Troubleshot.\n<li>Select Command prompt. This is what we need \u2013 we want to modify some files.\n<li>Now you need to replace the file:\n<ol>\n<li>Go to <strong>C:<\/strong> (supposing that C: is your system drive)\n<li>Type <em><strong>cd \\Windows\\System32<\/strong><\/em> \u2013 to enter into the folder\n<li>Type <em><strong>ren osk.exe osk.old<\/strong><\/em> \u2013 be smart, you need to preserve the original file and put it back at the end of the process! If you don\u2019t replace it again it means that you leave open a surface attack!!!\n<li>Replace the file with a <em><strong>copy C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe osk.exe<\/strong><\/em><\/li>\n<\/ol>\n<li>Reboot the server in normal mode.\n<li>From the logon screen choose Onscreen keyboard (as in picture).\n<li>PowerShell window will be opened \u2013 and you are a local system user!!! You can do a lot of things.\n<li>Change the password with command <em><strong>Net user Administrator Password<\/strong><\/em> \u2013 where Administrator is the username of local or domain administrator and Password is the password that you want to set.\n<li>Login to server with the new password \u2013 just to test that it is working.\n<li>Reboot the server and redo all the steps from 1 to 5, but in the way to put back all things in the original state. You need to replace original onscreen keyboard:\n<ol>\n<li>Go to <strong>C:<\/strong>\n<li>Type <em><strong>cd \\Windows\\System32<\/strong><\/em>\n<li>Type <em><strong>del osk.exe<\/strong><\/em>\n<li>Replace a file with<em><strong> ren osk.old osk.exe<\/strong><\/em><\/li>\n<\/ol>\n<li>Reboot the server.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/www.em-soft.si\/myblog\/elvis\/?p=975 Boot from DVD \u2013 you need to access to Windows system drive offline \u2013 installation DVD has all tools that you need. From menu select Repair your computer. This will give you the ability to change some files. In the next menu select Troubleshot. Select Command prompt. This is what we need \u2013 we [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-898","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/posts\/898","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=898"}],"version-history":[{"count":1,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/posts\/898\/revisions"}],"predecessor-version":[{"id":899,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/posts\/898\/revisions\/899"}],"wp:attachment":[{"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=898"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=898"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=898"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}