1, the right mouse click Windows7 System desktop "Computer" icon select the "Management" option;
2, in the Open Computer Management interface, expand the "System tools-Local Users and groups-users," and then create a new user, such as account Zhangsan, the password is 123;
3, then open the Run dialog box and enter "regedit", return to open the registry, expand to "Hkey_loacl_machinesamsam";
4, this time will be found unable to open the Sam subproject, so we have to give permission and refresh, first open the key value, to see the Administrato account corresponding to the key value and the "users" in the subkey, "Users" contains the permissions of the account is the key value, Open the administrator, and then in the right side of the window find and double-click the "F" key value and copy the inside of the 16 value;
5, the same method to open the UserA of the F-key value, and the administrator of the F-key value of the contents of the zhangsan$ just copied the F-key value;
6, and then respectively zhangsan$ and zhangsan$ in the corresponding users of the key value 000003EC "Export the registry, you can see these two on the desktop;"
7, and then return to the user side of the Computer Management interface, will zhangsan$ account deleted;
8, again just exported the registry and then double-click the Import registry, select "Yes";
9, check the registry again, you will find that zhangsan$ 's account is back, you can use the command or "Local Users and groups" can not find the existence of this user;
10, the final cancellation of the computer, and then use zhangsan$ or can log on to the system and have the administrator's permissions oh, so completed.