As you know, in Windows 2000/XP, if you are an administrator, you can change your password with the Net User account password even if you don't know the password of another user (administrator). It is said that the MS is for the convenience of the user (such as the user forgetting the password), in addition, the user can also use the Net Localgroup Administrators account /add command to add the account to the administrator group.
However, if you are not an administrator, such as a Guest account, you can't use the above command on the surface, but we can use it through some channel.
Example: Create an administrator as a Guest account
1. Create a batch file with the following contents:
net user admin /add
net localgroup administrators Admin /add
Save the above batch file as admin.bat.
Note: The above batch file function is to create an administrator account named admin (the password is blank).
Second, use this batch file as the boot script for Windows.
1. In the Run dialog box, type gpedit.msc
2. Locate the Computer Configuration 1 > Windows Settings 1 > Script (Start/Shutdown), double-click the start of the right window. Add the previously created admin.bat to it.
3, restart the computer, the system will have an administrator named admin
The above operation is feasible in Windows 2000/XP, but to ensure that the account can access the registry, group policy (The operation of creating an account is actually adding the corresponding items and values in the registry), and the default Guest/restricted account in Windows does not have this restriction.
Perhaps, we don't need to use the Guest account to create an administrator, but imagine that if a program is only executable by the administrator, can it be implemented in the above way?
Summary: Windows system defaults to Guest/Restricted Accounts are only superficial. As an experienced system administrator, there are still many things to do. At least, restricted users should be prohibited from accessing/editing registrations. Table, group policy, etc.
As the author is increasingly eager to taste the late SP2, and too la
[本站原创] [serialized tutorial series] Windows and its father about DOS Chapter 1 Chapter 1 Mai
All members of the Windows family will pop up a user login interface before the sy
friend called his Win XP after adding a password to the super user administrator, it is very slow to
Window xp start more: respond to USB power shortage
Let the tired C drive regain the glory of the past
Solving PC Problems with the Console in Windows 2000 or XP
Window xp three good ways to speed up the addition and removal of programs
What should I do if Apple Windows XP does not start?
Windows XP taskbar fake death solution
STOP: Ox0000008E blue screen solution
Windows operating system skills and tricks (middle)
Using Flash to ensure Vista login password security
How to reinstall or repair IE 6 in Win XP
Win7 update vulnerability generated 0x0000006B blue screen solution
Win8 mobile phone data cable connected to the computer did not respond how to solve?
What should I do if Win7 can't enter the system?
How to solve the residual image on the Win7 system desktop
Win8.1 RTM download is expected to leak
Unlocking the trouble of remotely managing Windows XP SP2
About 4000 computer to recommend online games on the line, no money