I need a batch file that will display usernames and the corresponding passwords, is there such a thing?

If someone could send me the outline for the script, it would be great!

sort by: active | newest | oldest
stormer11278 years ago
OK well there is a way to view user names with a batch file but when it comes to passwords you can't. you open your batch file (or command prompt) and type in "net user" (without the quotes) and it will show you all the users for the computer hope this helps
XOIIO (author)  stormer11278 years ago
It helped a lttle, but not exactly what i was looking for.
Although providing these sort of services isn't my type of style, since it's old I don't really think it will matter if I help you out.

This is a long shot, but it is the only possible way of getting a user's password through batch.

The command I am referring to is of course CMDKEY.

If you type in CMDKEY /LIST, assuming they stored their credentials on command prompt, a list of usernames and corresponding passwords should be displayed.

Like I said, this is an extreme long shot and is probably useless, but atleast it's a start.

For more information, see this website: https://www.google.com.au/#hl=en&safe=off&tbo=d&sclient=psy-ab&q=cmdkey+command+batch+help&oq=cmdkey+command+batch+help&gs_l=hp.3..33i21.12331.18547.1.18737.20.20.0.0.0.7.226.3677.1j7j11.19.0.les%3Bpchsnhac..1.0...1.1._ZPXCXC7jvs&pbx=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.&bvm=bv.1355534169,d.dGY&fp=f42fee5d8e10998d&bpcl=40096503&biw=1280&bih=713

That is a very big link.
I just gave you the wrong link, I am really sorry about that. The link in the comment above is a google search for "cmdkey command batch help". You can use that aswell but the link I was referring to was this:

http://technet.microsoft.com/en-us/library/cc754243(v=ws.10).aspx

Have fun!
lieuwe8 years ago
there probably is some way, but why do you need it, there might be a simpler way...
XOIIO (author)  lieuwe8 years ago
I need it to pull a prank on my friend
lemonie8 years ago
OK I could have said "no" passwords are protected, you can't do this. But I'm still interested as to "what" & "why". L
XOIIO (author)  lemonie8 years ago
I'm going to place a fake game in my friends computer, so that it will hide his desktop items. He pulled a joke on me a while ago, and i want toprank him on his computer.
XOIIO (author)  lemonie8 years ago
I want to use it to view my friends/families passwords and play a prank on them, witch has to do with placing a batch file in their account.
lemonie XOIIO8 years ago
If you can log-on with administrator privilages you can do this anyway, otherwise no. L
lemonie8 years ago
Which user names and passwords and where / on what system? L
XOIIO (author)  lemonie8 years ago
It is on windows XP, i would like an outline that works in general, but they are Lucie and XOIIO.