Today to use the virtual machine in the windows2012 system, the results forgot the login password, after a search, and finally successfully log on to the system
To reset the system password operation method:
Use the Windows Server R2 installation CD to boot the computer, click Next, and follow the diagram.
650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M02/90/56/wKioL1jwL17ABk9AAABLMcH5n5o589.png "title=" 20170414.png "alt=" Wkiol1jwl17abk9aaablmch5n5o589.png "/>
Click Repair Computer
650) this.width=650; "src=" https://s5.51cto.com/wyfs02/M00/90/59/wKiom1jwMqTQVjcGAAD-lb-qqZw875.jpg "style=" float : none; "title=" 201704141010.jpg "alt=" Wkiom1jwmqtqvjcgaad-lb-qqzw875.jpg "/>
650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M02/90/57/wKioL1jwMqOCIkZuAAFj_YBOOU0223.jpg "title=" 201704141010 (2). jpg "style=" float:none; "alt=" wkiol1jwmqocikzuaafj_yboou0223.jpg "/>
Click Command Prompt
650) this.width=650; "src=" https://s1.51cto.com/wyfs02/M00/90/57/wKioL1jwMqfhJsLgAAFNyRNvqOc988.jpg "style=" float : none; "title=" 201704141011.jpg "alt=" Wkiol1jwmqfhjslgaafnyrnvqoc988.jpg "/>
Enter the command as shown below,
650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M01/90/58/wKioL1jwNFXBzdTyAAFxUkV2ims024.jpg "title=" 20170414103034.jpg "alt=" Wkiol1jwnfxbzdtyaafxukv2ims024.jpg "/>
Locate the "Osk.exe" file in the directory and delete it.
650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M01/90/58/wKioL1jwNK_jSPIJAAHEr-RQpoo500.jpg "title=" 20170414103139.jpg "alt=" Wkiol1jwnk_jspijaaher-rqpoo500.jpg "/>
Copy the "Cmd.exe" rename under the current directory to "Osk.exe".
650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M01/90/58/wKioL1jwNQvSpHxoAAG_RS-RjKE345.jpg "title=" 20170414103302.jpg "alt=" Wkiol1jwnqvsphxoaag_rs-rjke345.jpg "/>
Restart your computer, wait for the boot to complete, click the "Easy Access" button in the lower left corner, tick the "on-Screen Keyboard" in the pop-up dialog and click "OK".
650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M01/90/59/wKioL1jwNjvCclvXAAC_B5rYAAE614.jpg "title=" 20170414103749.jpg "alt=" Wkiol1jwnjvcclvxaac_b5ryaae614.jpg "/>
Since the replacement of the file has been done before, it will now open instead of the on-screen keyboard, but the cmd command prompt interface.
650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M02/90/59/wKioL1jwNoyxz-FnAADUmJ1F_p8572.jpg "title=" 20170414104000.jpg "alt=" Wkiol1jwnoyxz-fnaadumj1f_p8572.jpg "/>
Use the Net user command to modify the password for the local administrator account.
650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M01/90/5B/wKiom1jwNw_xXLUZAAFaMF3joSo767.jpg "title=" 20170414104203.jpg "alt=" Wkiom1jwnw_xxluzaafamf3joso767.jpg "/>
Log in normally with a local admin account and a modified password.
When you are finished, on the computer from other Windows Server R2, locate Osk.exe, copy it to the current computer, and replace the file with the Cmd.exe modified to restore it.
This article is from the "Learning Notes" blog, so be sure to keep this source http://cfpls.blog.51cto.com/3854216/1915873
Forgot windows12 password fix