Click here to Skip to main content
Click here to Skip to main content

Protected Storage

, 23 Feb 2004
Rate this:
Please Sign up or sign in to vote.
This program wil reveal Outlook Passwords, Deleted Outlook Account passwords, IE:Password-Protected sites passwords, MSN Explorer Signup passwords, IE AutoComplete Passwords, IE Auto Complete Fields , and in 9x it will show the cached dialup passwords


Passwords are stored using Protected Storage in Windows 2k and XP. This program will reveal :-

  1. Outlook Passwords
  2. Deleted Outlook Account passwords
  3. IE : Password-Protected sites passwords
  4. MSN Explorer Signup passwords
  5. IE AutoComplete Passwords
  6. IE Auto Complete Fields in 9x it will show the cached dialup passwords


There is a tool called Protected storage Explorer at CodeProject itself but it does not have source code. I tried to do what this program does by looking at that tool without any source code - lol - and that tool helped me to do this program.

Using the code

This Program first enumerates the outlook accounts from registry located at HKEY_CURRENT_USER\\Software\\Microsoft\\Internet Account Manager\\Accounts first and then storing it in a structure.

SMTP Password2 - this string value contains the corresponding ItemName of protected storage data password of that account, then it continues enumerating the protected storage; loads the pstorec.dll and gets the address of function "PStoreCreateInstance". Then it calls PStoreCreateInstance to get an instance of IPStore, then it will enumerate the protected storage passwords. It will also enumerate cashed passwords in Win 9x.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Comments and Discussions

QuestionNot working on IE7? PinmemberYuri Pereira29-Oct-07 10:00 
Questiondont get password Pinmemberpinkubabu21-Apr-07 10:07 
Generalnot working Pinmemberste82728-Feb-07 18:07 
Questionimporting pstorage entries fm remote computer PinmemberMember #369393222-Feb-07 6:14 
QuestionDoes the compilation fail? PinmemberK_R7-Jan-07 17:55 
Generalslove error problm Pinmembercaistudy20-Sep-06 22:32 
GeneralThis code is the most dirty that i ve ever seen! PinmemberHellMind15-Jan-06 8:34 
GeneralFix PinmemberHellMind15-Jan-06 7:32 
GeneralRe: Fix PinmemberHellMind15-Jan-06 7:33 
GeneralRe: Fix PinmemberHellMind15-Jan-06 7:34 
Generalunicode show as '??'. Pinmemberz.coolstar1418-Dec-05 16:02 
can't show chine info.

GeneralNice but... PinmemberY_R3-Sep-05 1:54 
GeneralWonderful job.....Well done PinmemberNagareshwar5-Jul-05 11:09 
GeneralOulook Interface 23:50 
GeneralUnhandled COM exception Pinmembercodeproject4sba17-May-05 5:20 
Generalcompiled code detected as trojan Pinmemberantifumo1-Dec-04 21:35 
QuestionWhat About ... Pinmemberqcha0s28-Feb-04 8:40 
AnswerRe: What About ... PinmemberY_R22-Sep-05 3:45 
GeneralRe: What About ... PinmemberJeroen-bart Engelen23-Sep-05 0:04 
GeneralRe: What About ... PinmemberY_R24-Sep-05 1:31 
GeneralRe: What About ... PinmemberJeroen-bart Engelen24-Sep-05 3:52 
GeneralRe: What About ... PinmemberY_R26-Sep-05 13:25 
GeneralRe: What About ... PinmemberJeroen-bart Engelen27-Sep-05 4:57 
GeneralCompiled demo doesn't work PinmemberRaulBove25-Feb-04 5:24 
GeneralRe: Compiled demo doesn't work Pinmemberccache3-Sep-04 9:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150414.1 | Last Updated 24 Feb 2004
Article Copyright 2004 by Hirosh Joseph
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid