Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

How to make a batch file that will change user password o pc

Loading...

Sign in or sign up now!
10,420
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 25, 2008

Code:
@echo off

cls
set /p CP=Would you like to change the password of ANY user account on your pc? (Y/N):
IF '%CP%' == 'Y' GOTO CP
IF '%CP%' == 'y' GOTO CP
IF '%CP%' == 'N' GOTO DCP
IF '%CP%' == 'n' GOTO DCP

:CP
cls
set /p UN=What User Account Do you want to change the password for? (Type a user Name. For a list of users type UL.):
IF '%UN%' == 'UL' Goto NETUSER

cls
set /p AYS=Are You Sure you Want to Change the password of the account %UN%. (Y/N)
IF '%AYS%' == 'Y' goto CPY
IF '%AYS%' == 'y' goto CPY
IF '%AYS%' == 'N' Goto DCP
IF '%AYS%' == 'n' Goto DCP

:CPY
cls
Net User %UN% *
pause
exit

:DCP
cls
Echo The password will not be changed.
pause
exit

:NETUSER
Net User
pause
Goto :CP

Category:

Education

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:

Uploader Comments (hackerhack1)

  • how do you make a batch file dude i am cofused hep me

  • YOU HAVE TO BE RUNNING WINDOWS! Open up notepad by pressing windowslogokey and R then typing notepad and pressing enter Then type some code like this: @echo off echo Test pause exit goto file save as name:test.bat save as type: all files hope this helped!!!
  • WHAT SONG IS THAT!

    AWSOME!

  • Gary Jules-Mad World

  • hey man is this a scam if yes i will go to the police they will track this video from where it was uploaded and i will sue you!

    only if it is a scam so you better talk! or i will sue you for 3000dolar my computer is worth that!!

  • It is not a scam plus i use Brittish pounds not dollas.

see all

All Comments (46)

Sign In or Sign Up now to post a comment!
  • it only works if your logged in as admin

  • Better howto:

    type:

    net user

    net user (account) *

    (new password)

    (new password)

    done.

  • nice song !!!!

  • @jetskoop

    anyone with your level of stupidity does not deserve to own a computer, let alone a $3000 one

  • With which version of Windows XP does this "hack" work?

    I am working on a XP Professional (Version 2002 Service Pack 2) and it didn't work for me. The batch file works fine, but when I want to change a password an error occurs: System error 5, access denied... I guess because I have a no admin user account, so I bet it works, but only for administrator users, which you could have written into the headline or description

  • Ummm well the information helped except when i went to save it it said name invalid what do i do????

  • @hackerhack1 well kinda ish... lol I'm kidding it rly helped

  • This helped me a lot :)

    My sister had just got a laptop off of her friend, and the admin account had a password.

    I couldn't be arsed getting up and finding my disk with the password changing software on so I found this :) Thanks.

  • @mlmlml13 ill help u out if your still havin problems

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more