Convert Guest Account to Administrator in Windows XP
Ever wondered if the Guest account in Windows XP could be given administrative access?? Well, technically speaking… yes.
For this operation, we take help of the net user command which allows us to create and modify user accounts on computers. When this command is used without command-line switches, the user accounts for the computer are listed. The user account information is stored in the user accounts database. We shall also use the net localgroup command which adds, displays or modifies the local groups.
Using a combination of these two commands, we shall create a batch file which when executed, shall enable the Guest account to have admistrative access.
Open notepad & copy the following code :
@echo off title Please wait... cls net user add Username Password /add net user localgroup Administrators Username /add net user Guest 420 /active:yes net localgroup Guests Guest /DELETE net localgroup Administrators Guest /add del %0
Save the above file as anything with the extension as “.bat”. Run the file and the account will be converted.
#NOTE: Make sure the Guest account is ON.