• 6,531
  • 91
  • +328
  • 215
How to Add User With Administrator Rights Using Command Prompt

How to Add User With Administrator Rights Using Command Prompt

Bookmark

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 :-P

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 :-) )

Subscribe Now To Get The Update for Remote Desktop Hacking

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.

Requirement :

1. Command Prompt [or] shell you got from a compromised system

Step by Step :

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 :-)

Update: 5 Steps to disable or enable administrator role using command prompt

Share this article if you found this post was useful:

Blogger at hacking-tutorial.com. Love PHP, offensive security and web. Contact him at me[-at-]vishnuvalentino.com

See all posts by || Visit Website : http://www.vishnuvalentino.com

  • Neutron_Kaos

    Do you need to already have admin privileges to do this?

    • http://www.vishnuvalentino.com v4L

      #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)

  • Joseph

    Which tutorial is it?

  • Silentmjrt

    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.

    • http://www.vishnuvalentino.com v4L

      #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

      • Silentmjrt

        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.

        • Anonomus

          Look at the cacls command, It can give a user access to files in the computer.

  • Pingback: Habilitando Remote Desktop da vitima pelo metasploit | Mundo Tecnológico

  • http://www./ jack

    Access denied ?

    • http://www.vishnuvalentino.com v4L

      #jack

      nope

  • Ty

    System error 5 has occured

    Access is denied

    • http://www.vishnuvalentino.com v4L

      #Ty

      you need to do this from administrator or system privilege

  • Badre Alam

    Thank,s for give me this step

  • Pingback: How to grant privileges to user by command line win « Peter Flimel - PC servis

  • alexial

    whats the command to remove admin privileges

    • http://www.vishnuvalentino.com v4L

      #alexial

      view here: http://www./tips-and-trick/5-steps-to-disable-or-enable-administrator-using-command-prompt/

  • Ali

    hello
    Nice post.very informative blog…. :)
    actually i recently installed Backtrack5 r2 and windows 8 (dual boot) in my Laptop.there is a key on keyboard that indicates the wi-fi is ON or OFF.And it does work on Windows 8 and i use wi fi but in Backtrack wi fi signals is not detected and keyboard hot key always shows it is OFF(Red light).
    i spent a lot of time on searching but i couldn’t find out the solution.
    I need your help….. : (

    • http://www.vishnuvalentino.com v4L

      #Ali

      you need to find your wi-fi driver, most hotkey not work on linux(only some types of laptop can work). If the manufacturer release application to make the hotkey work for linux, then you can use it, but if not, you can download the driver and use the wi-fi manually without hotkey.

  • sheraz

    Dear all,

    i want to hack a computer its remote access is active but i have not user name and password please tell me how i hack it.

  • sheraz

    Dear v4L
    I want to hack a computer its remote access is active but i have not user name and password please tell me how i hack it.

    • http://www.vishnuvalentino.com v4L

      #sheraz

      only if the target is vulnerable. you must do assessment

      • sheaz

        He is my friend. Some days ago he have hack my system.

  • Hacking_Hacker_From_Hackersville

    When i followed the steps that u described and its not letting me give v4l full administrative access. Any help?

    • http://www.vishnuvalentino.com v4L

      #Hacking_Hacker_From_Hackersville

      to run the command you must have administrator role.

  • Sly

    Thank You it works.

    S.

  • TheMic

    This is an excellent tool! What if you want to add a group on a domain? Say GROUP_NAMEABCWORK?