How to Reset a Windows Password With Ubuntu

Preview:

DESCRIPTION

Reset windows passwords without installation of linux.

Citation preview

  • UbuntucatRandommusingsfromtheradicalfeministChristianantiracistleftsomehavingtodowithUbuntu

    HowtoresetaWindowspasswordwithUbuntu

    July28th,2010

    IfyouhaveforgottenyouradministratorpasswordforWindows,youcanuseaUbuntuLinuxliveCDorliveUSBtoresetthepassword.Thistutorialwillshowyouhowtodothat,stepbystep.

    TherearemanywaystogetUbuntuLinux.Youcanfindmoredetailsaboutthathere.

    Ifyourunintoanyproblemsorhaveanyquestions,thefolksattheUbuntuForumsareveryhelpfulandfriendly.Iwillnotbeansweringanysupportquestionspostedascommentshere.

    Step1:BootupUbuntu

    WiththeUbuntuCDinyouropticaldriveorwiththeUbuntuUSBpluggedintoyourcomputer,makesureyourBIOSissettobootfromCDorUSBbeforeyourharddrive.YoucanusuallyenteryourBIOSsettingsbypressingF1,F2,F9,F10,F12,Esc,orDelduringbootup,dependingonthekindofcomputeryouhave.

    AfterUbuntubootsup,youllbeaskedifyouwanttotryUbuntuorinstallit.Youdefinitelywanttojusttryitatthispoint.

    Step2:Installthepasswordresetsoftware

    InstallingsoftwareonUbuntuisabitdifferentfrominstallingsoftwareonWindows.Insteadofgoingtoawebsitetodownloadsetupfiles,youjusttellthesoftwarepackagemanagerwhatyouwantinstalled,anditfetchesitforyouoffsomeservers.ItsalotliketheiTunesAppStoreorAndroidMarket.

    Thisdoesassumethatyouhaveaworkinginternetconnection(wiredpreferred,butwirelesscanwork,too).If,forsomereason,yourinternetconnectionisntworkingonthecomputeryouwanttoresetthepasswordfor,youcanalsodownloadthechntpw.debusinganothercomputer,transferitoverviaUSB,andthendoubleclickittoinstallit.

    Firstwewanttomakesurewehavethepropersoftwaresourcesenabledtoinstallchntpw.

    http://www.psychocats.net/ubuntu/images/installinglucid02.pnghttp://www.psychocats.net/ubuntu/gettinghttp://www.psychocats.net/ubuntu/installingsoftwarehttp://www.psychocats.net/ubuntucat/resetwindowspassword/http://www.ubuntuforums.org/http://en.wikipedia.org/wiki/BIOShttp://www.psychocats.net/ubuntucat/http://www.ubuntu.com/http://www.psychocats.net/ubuntu/installingsoftware#gdebihttp://www.psychocats.net/ubuntu/gettinghttp://www.psychocats.net/wpimages/resetwindowspassword20.pnghttp://mirrors.kernel.org/ubuntu/pool/universe/c/chntpw/chntpw_0.99.5-0+nmu1_i386.deb

  • GotoSystem>Administration>SoftwareSources

    MakesureboththeUniverseandMultiverserepositoriesarechecked(orticked,ifyourenotAmerican).ClickCloseandthen,whenprompted,clickReload.

    Waitfortheinformationaboutavailablesoftwaretoreload.

    GotoSystem>Administration>SynapticPackageManager

    (Note:tothoseofyouwhohaveinstalledsoftwareinUbuntubefore,youactuallydoatleastasofUbuntu10.04havetogotoSynaptictoinstallchntpw.YoucantinstallitthroughUbuntuSoftwareCenter).

    http://www.psychocats.net/wpimages/resetwindowspassword23.pnghttp://www.psychocats.net/wpimages/resetwindowspassword22.pnghttp://www.psychocats.net/wpimages/resetwindowspassword21.png

  • PressControlForclickontheSearchbuttontogetthesearchdialogueup.Thensearchforchntpw.

    (Note:youmaybetemptedtotypechntpwintothesearchfilterbutitwontshowupthere,sinceSynaptichasnthadtimetorebuildthesearchindexforquickfiltering.)

    Oncechntpwpopsupinthesearchresults,rightclickitandselectMarkforInstallation.

    ClickApply,andthen,whenprompted,clickApplyagain.

    http://www.psychocats.net/wpimages/resetwindowspassword26.pnghttp://www.psychocats.net/wpimages/resetwindowspassword24.pnghttp://www.psychocats.net/wpimages/resetwindowspassword25.png

  • WaitfortheSynaptictodownloadandinstallchntpw.

    Step3:MountyourWindowsdrive

    InorderforyoutoresetyourWindowspassword,youhavetomaketheUbuntulivesessionknowthatyourWindowsdriveisavailableforuse.Thisprocessiscalledmounting.

    TomountWindows,justclickonPlacesandthenselectyourdrive.Itwillbelistedbythesizeofthedrive(inthisexample,80GB).

    Step4:Resetyourpassword

    chntpwisaterminalbased(notpointandclick)application,sotouseit,wellhavetoopenupacommandlineterminal.Dontbeintimidated.Illwalkyouthroughtheprocess.

    Toopentheterminal,gotoApplications>Accessories>Terminal

    Imgoingtobeofferingalotofexplanationforthosewhoarentexperiencedwiththeterminalandcommands,butifyouwanttojustskipoverallthatstuff,feelfreetojustpayattentiontotheterminalcommandsandignoretheexplanations.

    cd/media/493D9CB55373C3DD/Windows/System32/config/

    First,youregoingtocd(changedirectories)totherightWindowsdirectory.

    Starttypingcd/media/andthenhittheTabkey,anditllautocompletewiththeaddressofyourmountedWindowsdrive.ThentypeWandhitTabagaintogettoeitherWindows(Windows7)orWINDOWS(WindowsXP).Yes,theterminaliscasesensitive,soupperandlowercasematters!TypeSorsandhitTabagaintogetSystem32orsystem32(againdependingonwhetheritsWindows7orWindowsXPIforgetwhichitisforWindowsVista).Anddothesameforconfig.

    http://www.psychocats.net/wpimages/resetwindowspassword29.pnghttp://www.psychocats.net/wpimages/resetwindowspassword28.pnghttp://www.psychocats.net/wpimages/resetwindowspassword27.png

  • Tabcompletionmakesthingsalotsimpler,soyoudonthavetotypeeverysinglewordout.Italsoavoidsthewholetypoissue,incaseyouarentagoodtypist.

    Onceyouvegottentocd/media/nameofyourwindowsdrive/Windows/System32/configorcd/media/nameofyourwindowsdrive/WINDOWS/system32/config,hitEnter.

    sudochntpwuusernameSAM

    YoushouldthentypeinsudochntpwuusernameSAM,whereusernameisyouractualusername.Forexample,ifyourusernameissusan,itshouldbesudochntpwususanSAM

    Afteryoutypethatin,hitEnter,andyoullseeawholebunchofterminaloutput,mostofwhichyoucanignore:

    chntpwversion0.99.5070923(decade),(c)PetterNHagenHivename(fromheader):ROOTKEYatoffset:0x001020*Subkeyindexingtypeis:666cPageat0x7000isnothbin,assumingfilecontainsgarbageatendFilesize262144[40000]bytes,containing6pages(+1headerpage)Usedfordata:260/20240blocks/bytes,unused:9/4144blocks/bytes.

    *SAMpolicylimits:Failedloginsbeforelockoutis:10Minimumpasswordlength:4Passwordhistorycount:4|RID|Username|Admin?|Lock?||01f4|Administrator|ADMIN|dis/lock||01f5|Guest||dis/lock||03e8|susan|ADMIN||

    >SYSKEYCHECKNotSet(notinstalled,good!)SAMAccount\F:0>offSECURITYPolSecretEncryptionKey:1>NotSet(OKifthisisNT4)Syskeynotinstalled!

    RID:1000[03e8]Username:susanfullname:comment:homedir:

    Userismemberof1groups:00000220=Administrators(whichhas4members)

    Accountbits:0x0214=[]Disabled|[]Homedirreq.|[X]Passwdnotreq.|[]Temp.duplicate|[X]Normalaccount|[]NMSaccount|[]Domaintrustac|[]Wkstrustact.|[]Srvtrustact|[X]Pwddontexpir|[]Autolockout|[](unknown0x08)|[](unknown0x10)|[](unknown0x20)|[](unknown0x40)|

    Failedlogincount:0,whilemaxtriesis:10Totallogincount:100

    Thispartisimportant,though:

    UserEditMenu:1Clear(blank)userpassword2Edit(setnew)userpassword(carefulwiththisonXPorVista)3Promoteuser(makeuseranadministrator)(4Unlockandenableuseraccount)[seemsunlockedalready]qQuiteditinguser,backtouserselectSelect:[q]>

    Iwouldhighlyrecommendtyping1toblankthepasswordinsteadofeditingthepassword.Afteryoutypethat,hitEnter,andyoushouldsee

    Passwordcleared!

    Hivesthathavechanged:#Name0Writehivefiles?(y/n)[n]:

    http://en.wikipedia.org/wiki/Command_line_completion

  • TypeyandhitEntertoconfirmthechange.Onceyousee

    0OK

    thenyouredone.

    Nowyoucanreboot,andyoucanlogintoyouradminaccountwithablankpassword.Onceyoureloggedin,youcangototheControlPaneltochangeyourpasswordtosomethingelsesomethingyoucanremember.

    Ifyourecurious,youcanseeanolderversionofthispage.

    PostedbyubuntucatFiledinTags:chntpw,resetpassword,Ubuntu,Windows78Comments

    78ResponsestoHowtoresetaWindowspasswordwithUbuntu

    1. Vic.Says:July29th,2010at20:39

    ThankyouforthisitreallyworkedformyWindowsVista.TheonlythingIhavetochangewasinthechntpwline:sudochntpwuVicGlezSAMforsudochntpwuVicGlezsam

    Bestregards.

    2. NickOlsenSays:August1st,2010at11:41

    Awesome!Thebesttutorialontheinternetfordoingthis!Thanks!

    3. GabrielSays:August2nd,2010at10:23

    Awesomeawesomeawesome.Workedbrilliantly.IlostthepasswordtomyWinXPVirtualBoxandthishowtowasexactlywhatIneeded.

    Thankyou!

    4. JohnSidleSays:August4th,2010at22:55

    Savedtheday1Thanksalot.

    5. FinnSays:August11th,2010at19:43

    AtipfrommeifyoudonthaveUbuntuonanyUSBorCDistosaveyourselfsometimeanduseNTpasswd+Unetbootin(besuretogettheneweststableISOfromthesite)instead.

    ThatsjustmyopiniononthematterthoughandImsureforsometheabovemethodispreferable,thoughIalwayskeepanUSBwithNTPasswdhandy.:)

    6. Janis_2Says:August15th,2010at15:45

    WithoutanypriorknowledgeofUbuntu,Imlost.Startingatthebeginning,interminalitshowsubuntu@unbuntu:~$WhenIaddthecd/media/itdoesntautocompleteandifItypeinalltherest,itfindsNosuchfileordirectoryWheredidIgowrong?IhavedownloadedthelatesteditionofUbuntu.WhenItriedtoinstallthefirstpackagefrommyflashdrive,Iwastoldthatthesoftwarealreadyexisted.DoIneedtofindthesoftwarefirstandthentypeinthegivencommand?

    7. danSays:August15th,2010at16:14

    Question.WhatiftheuseraccountisonanNTdomaine?

    forexample:toto\mike

    http://www.psychocats.net/ubuntucat/tag/ubuntu/http://nickstips.wordpress.com/http://www.psychocats.net/ubuntucat/tag/chntpw/http://www.psychocats.net/ubuntucat/tag/reset-password/http://progr3ssive.com/http://www.psychocats.net/wpimages/resetwindowspassword30.pnghttp://www.psychocats.net/ubuntucat/resetwindowspasswordoldhttp://www.psychocats.net/ubuntucat/tag/windows/

  • onthetotoNTdomaineandmyusernameismike.Thendoesthisapproachwork?oristhepwdcheckedonthedomainecontroler?ItshouldworkonlaptopsIguess,sinceyoucanloginwithoutbeingonthenetworkattheoffice

    DoIneedtoputthedomainenameinthepasswordtool?

    Thanks

    8. ubuntucatSays:August15th,2010at17:15

    @Janis_2Thisisntreallytheplacetoaskforsupport.YoushouldgototheUbuntuForumsforthat.Iwilltellyouyouremissingaspacebetweencdand/media/,though.Anythingbeyondthat,theforumfolkscanhelpyouwith.

    @danIdontbelievethiswillworkfordomainpasswords,onlylocalones.Ifyouneedadomainpasswordchanged,youneedtocontactyourworkplacesnetworkadministrator.

    9. TerrySays:August16th,2010at01:59

    Thereisasimplersolution.ophcrack.Downloadthe.isoburntoacdandbootfromit.itwillrunascanandwillgiveyoutheWindowspasswords.Writethemdown.RebootintoWindowsandusethePasswordsitprovides.

    10. kartikSays:August16th,2010at03:51

    YoucanalsouseHirensBootCd

    Itcontainspreinstalledchntpw,Snoneedtoinstallitthroughubuntu(linux)

    anditseasytoo

    itsalsocontainmanyotherutilites(defrag.,partitionmanager,crackingtools,networkingtools,registrytools,Imagemakingtools,andmanymore)

    youcanDownloaditfromanyTorrentSite.

    HappySurfing!!!..

    11. BorisVasilievSays:August18th,2010at23:51

    ExactlywhatIneeded.Thankyouverymuch.

    12. foxrafiSays:August19th,2010at03:29

    Greattutorial,thankyouverymuchforthat.Itreallyworksasyoudescribed.Itrarelyhappens:)

    13. AinuddinFaizanSays:August23rd,2010at10:58

    seriouslyawesome!!!uveearnedyourselfafan!!^_^

    14. kirinSays:August25th,2010at22:04

    itryusingyourtutorialbutwheniloginthepasswordstillthere.Whatwrong?

    15. stephenSays:August27th,2010at13:52

    Thistutorialistopnotch.Itsbetterthantheprofessionaldocumentationincludedwithmanytechnologyproducts.Kudos!

    16. johnstapletonSays:September1st,2010at18:02

    thankyallsomuchmysistergothernotbookandlostthepasswordbutthiswork.justanotyoumustrestart2xonadelldontknowybutididandBOWnopasswordthanksomuch

    17. KoenSays:September2nd,2010at09:20

    ThisfantastictutorialjustsavedmeanafternoonreinstallingXPonanoldlaptop!

    http://www.psychocats.net/ubuntucathttp://www.ubuntuforums.org/

  • Greatwork!

    18. WarnerSays:September3rd,2010at01:52

    IhardlyeverwriteonblogsbutIthinkitwouldbehelpfulhere.ThisblogreallyhelpedmeatacustomertodayTheyhaveanIntelfakeraidcardthatdoesntworkwithoutsometricks.Alltheautomaticlinuxtooldisksdidntworkbecauseofthis.Ineededtouse:

    DMRAID+kpartxtogetthevolumetowork.ThenmountingwasfineandIwasabletousethistool.Again,thebiggestproblemwastheRAID5volumebeingmounted.

    19. WarnerSays:September3rd,2010at01:53

    *********************************************************ubuntu@ubuntu:/dev/mapper$sudodmraidr/dev/sda:isw,isw_bhbaafbegd,GROUP,ok,312581806sectors,data@0/dev/sdc:isw,isw_bhbaafbegd,GROUP,ok,312581806sectors,data@0/dev/sdb:isw,isw_bhbaafbegd,GROUP,ok,312581806sectors,data@0ubuntu@ubuntu:/dev/mapper$sudodmraidayRAIDsetisw_bhbaafbegd_Raid5alreadyactiveRAIDsetisw_bhbaafbegd_Raid51wasnotactivated

    ubuntu@ubuntu:/dev/mapper$sudomounttntfs3g/dev/mapper/controlisw_bhbaafbegd_Raid5isw_bhbaafbegd_Raid_5

    ubuntu@ubuntu:/dev/mapper$sudomounttntfs3g/dev/mapper/isw_bhbaafbegd_Raid\5/mntNTFSsignatureismissing.Failedtomount/dev/mapper/isw_bhbaafbegd_Raid5:InvalidargumentThedevice/dev/mapper/isw_bhbaafbegd_Raid5doesntseemtohaveavalidNTFS.Maybethewrongdeviceisused?Orthewholediskinsteadofapartition(e.g./dev/sda,not/dev/sda1)?Ortheotherwayaround?**************************************************************************************************************Thenthefilenameswereallmessedup**********************************************************************************ubuntu@ubuntu:/dev/mapper$sudomounttntfs3g/dev/mapper/isw_bhbaafbegd_Raid5/mntntfs3g:Failedtoaccessvolume/dev/mapper/isw_bhbaafbegd_Raid5:Nosuchfileordirectory

    ntfs3g2010.3.6externalFUSE28ThirdGenerationNTFSDriverConfigurationtype1,XATTRSareon,POSIXACLSareoff

    Copyright(C)20052007YuraPakhuchiyCopyright(C)20062009SzabolcsSzakacsitsCopyright(C)20072010JeanPierreAndreCopyright(C)2009ErikLarsson

    Usage:ntfs3g[ooption[,]]

    Options:ro(readonlymount),remove_hiberfile,uid=,gid=,umask=,fmask=,dmask=,streams_interface=,syncio.Pleaseseethedetailsinthemanual(type:manntfs3g).

    Example:ntfs3g/dev/sda1/mnt/windows

    Ntfs3gnews,supportandinformation:http://ntfs3g.org

    ubuntu@ubuntu:/dev/mapper$sudomounttntfs3g/dev/mapper/isw_bhbaafbegd_Raid/mntntfs3g:Failedtoaccessvolume/dev/mapper/isw_bhbaafbegd_Raid':Nosuchfileordirectory

    ntfs3g2010.3.6externalFUSE28ThirdGenerationNTFSDriverConfigurationtype1,XATTRSareon,POSIXACLSareoff

    Copyright(C)20052007YuraPakhuchiyCopyright(C)20062009SzabolcsSzakacsitsCopyright(C)20072010JeanPierreAndreCopyright(C)2009ErikLarsson

    Usage:ntfs3g[ooption[,]]

    Options:ro(readonlymount),remove_hiberfile,uid=,gid=,umask=,fmask=,dmask=,streams_interface=,syncio.Pleaseseethedetailsinthemanual(type:manntfs3g).

    http://ntfs-3g.org/

  • Example:ntfs3g/dev/sda1/mnt/windows

    Ntfs3gnews,supportandinformation:http://ntfs3g.org

    20. WarnerSays:September3rd,2010at01:55

    ubuntu@ubuntu:/dev/mapper$sudomounttntfs3g/dev/mapper/isw_bhbaafbegd_Raid/mntntfs3g:Failedtoaccessvolume/dev/mapper/isw_bhbaafbegd_Raid':Nosuchfileordirectory

    ntfs3g2010.3.6externalFUSE28ThirdGenerationNTFSDriverConfigurationtype1,XATTRSareon,POSIXACLSareoff

    Copyright(C)20052007YuraPakhuchiyCopyright(C)20062009SzabolcsSzakacsitsCopyright(C)20072010JeanPierreAndreCopyright(C)2009ErikLarsson

    Usage:ntfs3g[ooption[,]]

    Options:ro(readonlymount),remove_hiberfile,uid=,gid=,umask=,fmask=,dmask=,streams_interface=,syncio.Pleaseseethedetailsinthemanual(type:manntfs3g).

    Example:ntfs3g/dev/sda1/mnt/windows

    Ntfs3gnews,supportandinformation:http://ntfs3g.org

    ***************************************************************************************************************************Thenfinallyafterreadingthisforum>http://www.linuxquestions.org/questions/linuxhardware18/mountinganntfsraid0stripeinubuntu90464bit769017/page2.html*****************Thereissomeweirdbehaviorwiththenamesthatarelistedinthe/dev/mapper/Ifinallytriedtousetheisw_bhbaafbegd_Raid_5withthe_**********************************************************************************************************ubuntu@ubuntu:/dev/mapper$sudokpartxa/dev/mapper/controlisw_bhbaafbegd_Raid5isw_bhbaafbegd_Raid_5

    ubuntu@ubuntu:/dev/mapper$sudokpartxa/dev/mapper/isw_bhbaafbegd_Raidfailedtostat()/dev/mapper/isw_bhbaafbegd_Raid

    ubuntu@ubuntu:/dev/mapper$sudokpartxa/dev/mapper/isw_bhbaafbegd_Raid\5devicemapper:reloadioctlfailed:Invalidargument

    *********Thisoneworked***********ubuntu@ubuntu:/dev/mapper$sudokpartxa/dev/mapper/isw_bhbaafbegd_Raid_5

    ubuntu@ubuntu:/dev/mapper$mounttntfs3g/dev/mapper/controlisw_bhbaafbegd_Raid_5isw_bhbaafbegd_Raid_5p1isw_bhbaafbegd_Raid5isw_bhbaafbegd_Raid5p1

    ubuntu@ubuntu:/dev/mapper$mounttntfs3g/dev/mapper/isw_bhbaafbegd_Raid_5isw_bhbaafbegd_Raid_5isw_bhbaafbegd_Raid_5p1

    ubuntu@ubuntu:/dev/mapper$mounttntfs3g/dev/mapper/isw_bhbaafbegd_Raid_5/mntmount:onlyrootcandothat

    21. WarnerSays:September3rd,2010at01:56

    ubuntu@ubuntu:/dev/mapper$sudomounttntfs3g/dev/mapper/isw_bhbaafbegd_Raid_5/mntNTFSsignatureismissing.Failedtomount/dev/mapper/isw_bhbaafbegd_Raid_5:InvalidargumentThedevice/dev/mapper/isw_bhbaafbegd_Raid_5doesntseemtohaveavalidNTFS.Maybethewrongdeviceisused?Orthewholediskinsteadofapartition(e.g./dev/sda,not/dev/sda1)?Ortheotherwayaround?

    ubuntu@ubuntu:/dev/mapper$sudomounttntfs3g/dev/mapper/isw_bhbaafbegd_Raid_5p15/mntntfs3g:Failedtoaccessvolume/dev/mapper/isw_bhbaafbegd_Raid_5p15:Nosuchfileordirectory

    ntfs3g2010.3.6externalFUSE28ThirdGenerationNTFSDriverConfigurationtype1,XATTRSareon,POSIXACLSareoff

    Copyright(C)20052007YuraPakhuchiyCopyright(C)20062009SzabolcsSzakacsitsCopyright(C)20072010JeanPierreAndre

    http://ntfs-3g.org/http://www.linuxquestions.org/questions/linux-hardware-18/mounting-an-ntfs-raid-0-stripe-in-ubuntu-9-04-64-bit-769017/page2.htmlhttp://ntfs-3g.org/

  • Copyright(C)2009ErikLarsson

    Usage:ntfs3g[ooption[,]]

    Options:ro(readonlymount),remove_hiberfile,uid=,gid=,umask=,fmask=,dmask=,streams_interface=,syncio.Pleaseseethedetailsinthemanual(type:manntfs3g).

    Example:ntfs3g/dev/sda1/mnt/windows

    Ntfs3gnews,supportandinformation:http://ntfs3g.org

    ***************************************************************************************************************FINALLY!!WHoooohoo!************************************************************************************************ubuntu@ubuntu:/dev/mapper$sudomounttntfs3g/dev/mapper/isw_bhbaafbegd_Raid_5p1/mnt

    22. PauloSays:September29th,2010at14:29

    DoesitworksforWindows7?

    23. pauloSays:September29th,2010at16:20

    Ifollowedallthestepsanditsnotworkingforme,anysuggestion:

    u*SAMpolicylimits:Failedloginsbeforelockoutis:0Minimumpasswordlength:0Passwordhistorycount:0|RID|Username|Admin?|Lock?||01f4|Administrator||dis/lock||01f5|Guest||dis/lock||03eb|Jack||dis/lock|

    >SYSKEYCHECKNotSet(notinstalled,good!)SAMAccount\F:0>offSECURITYPolSecretEncryptionKey:1>NotSet(OKifthisisNT4)Syskeynotinstalled!Cannotfindvalue

    Hivesthathavechanged:#NameNone!

    24. SarahSays:October3rd,2010at14:16

    IIthinkIloveyou.This,alongwiththeolderversionyouwerekindenoughtosupplyalinkto,coveredallthebasesneededtosolvemyremainingtryingtogetthisdamnthingbootedproblems.

    Sofar,Ubuntuhasbeentheanswereverytime!

    ThankyouforsupplythisnewUbuntuuserwiththewarm,fuzzyfeelingofasupportiveopencommunity(andanexcellentsolutiontoherproblems).:)

    25. VivekSays:October5th,2010at16:27

    Yourockman!Veryusefulpost!

    26. scroogeSays:October12th,2010at20:33

    OnemorereasonWindowssucks,buthandytooltohaveathandincaseofemergency

    27. robertSays:October16th,2010at05:49

    Greattutorial.WhosaidUbuntuwasworthless)?

    28. SandeepSinghSays:October21st,2010at08:59

    http://ntfs-3g.org/

  • Hi,

    AwesomeexcellentThanksalot.Itstotallyworking

    Thanks,Sandeep

    29. TomSays:November5th,2010at01:27

    havetosayitworkedformyacernetbookthatipurchasedwithapasswordthatthesellerforgot.DOH!ImstartingtolikethisUbuntustuff.newlanguagetomebutinteresting.thanksagain!!

    30. dodSays:November14th,2010at05:05

    Thanksalot!Yousavedmyday!

    Greattutorial.MakesmethinktoswitchtoUbuntu:)

    31. AntonioSays:November27th,2010at21:02

    Excellenttutorial!Savedmylife!Thanksalot!

    32. SlickSlackSays:December6th,2010at15:11

    Igetallthestagesdoneright,includingrunningchntpw,butwhenIrestartbackintoWindows7ontheHPMini110itstillwontloginwithnopassword.Anysuggestions?Tried#sudochntpwuaccountsam.ThefileinconfigislowercasesamnotSAM,doesthatmeananything?

    33. NielsSays:January5th,2011at05:12

    HiIjustusedthisonaWinXP.Worksasacharm:)Thanks!

    SlickSlack:Case_does_matterinLinux.ThefilenameSAM/sammustbeincorrectcase,andsomusttheuername.ItshouldbeAdministrator,andnotadministrator.

    34. makarzurSays:January25th,2011at06:29

    excellentexplanationandveryuseful

    thanks

    35. sSays:January27th,2011at21:34

    hi

    36. justinSays:January31st,2011at09:52

    Ikeeptgettingthismessageafterenteringthecommand:sudochntpwumyusernamesam

    chntpwversion0.99.5070923(decade),(c)PetterNHagenopenHive(sam):Filedoesnotseemtobearegistryhive!Simpleregistryeditor.?forhelp.get_abs_path:Notanknode!

    itheninstalledthe64bitversionmanuallyanditnowworks.

    37. SebnemSays:February6th,2011at16:08

    Awesome,thisisaperfecttutorial,veryclearfromAtoZ.

    38. gab007Says:February7th,2011at13:17

    Thanks,itactuallyworked!

    http://meow/

  • 39. MikeySays:February10th,2011at13:34

    Everythingwentaccordingtothedirections,exceptthatitdidnotworkformeonaWindows7HomePremiuminstallation.Therewasoneuserconfigured(IsuspectbyrenamingthebuiltinAdministratoraccount),withanemptypassword.AfterMicrosoftsupdatesthisweek,Icouldntlogontothatuser.chntpwdidntwork,eitherbyclearingoreditingthepasswordsoneitheraccount.ophcrackcouldntcrackanyofthepasswords,butdidcorrectlyidentifytheGuestpasswordasempty.Finally,autilityonthepogosticksitedidsuccessfullyresettheuserpassword.Iwassurprisedatthissuccess,sincethecodelookedverymuchlikechntpwwhenitwasrunning.IsuspectitsallgotsomethingtodowiththewaythebuiltinAdministratoraccountistreatedinWindows7,andwouldlovetofindawaytoconfirmthatmyuseraccountisinfacttherenamedbuiltinAdministrator.Alltheutilitieslistedthetwoasseparateaccounts,butusingnetuseradministratorcommandsinWindowsreturnsinternalerrors.Thisisarelativelynewinstallation,sohopefullynotoomuchbitrothassetin.

    40. RizanSays:February21st,2011at12:11

    Hi,Thisisreallycooltool.IresetafewPCwithVistaitworkedlikeadream.Welldonedeveloper.!!!!!!

    41. TedSays:March18th,2011at10:59

    Ihavetriedmanytimesbutitdidntwork.Itseemedthatthepasswordshadbeenemptiedbutactuallytheywerenot.Minehavethreeaccounts:

    Administratorecopharmacist1Guest

    Afterreboot,IsawboththeAdministratorandecopharmacist1onthestartupwindowbutbothstillrequiredpasswordtoenter!

    Anythingtodowiththesamlimitswhichshowed:

    Failedloginsbeforelockoutis:0Minimumpasswordlength:0Passwordhistorycount:0

    Howtochangethesevalues?

    42. MartinSays:March30th,2011at20:14

    Reallythankyou!

    43. bereket7Says:April8th,2011at03:56

    youarealifesaver:)Thanksfortheneatexplanation!

    44. DaveNSays:June6th,2011at06:29

    Thisisgoodstuffbutdoesitworkwith11.04?IhavedownloadedNNbutitseemsverydifferenttothescreenimagesonhere.

    45. pankajSays:June9th,2011at12:56

    awesometricksss.ilikeditthanxbuddy..

    46. CookieSays:June25th,2011at20:27

    icreatedanewaccountbutthepasswordswerenotresetandthenewaccountrequiredapasswordalso

    47. UsmanGhaniSays:July4th,2011at06:03

    PleaseWindowsPasswordResetremotly,Likewindowsxp,Windows7,windows2003server,PLeaseHelpme

    48. Dkz!Says:November1st,2011at19:06

    Thanks!!!thisreallyworks!Yeay!

    http://www.mgscreativa.com/

  • 49. OrcrisSays:November11th,2011at22:46

    IgavemynormallypasswordlessWindowsaccountapasswordjusttotrythis,anditworks.ThisistheonlytutorialIcanfindtodothis,sincemostofthemassumethatthistypeoftutorialwillbeusedbykidstohacktheirparentsaccount.Thisworksgreat,though.

    50. RichardSays:November13th,2011at09:43

    Thankssomuch!My11yodaughterforgotherW7p/wonhernetbook.Thistutorialsavedtheday.IalreadyhaveseveralUbuntudistrosonUSBfortunately.I10.04.3onmylaptopsotheterminalcommandsherewerenttoodaunting(withmy13yosonshelp!!)

    51. RaySays:November20th,2011at01:53

    Fantastictutorial.Iknewtherewasasimplersolution,withalloftheseLinuxCDsIhavelyingaround.

    52. BernardMarkSays:November29th,2011at07:15

    youtookyourtimetogiveadetailedexplanation,evenacomputerdummycandothis,ivespent3daysnowontheinternetdownloadingseveralsoftwaresthatneverworkedorthatwantedmycreditcarduntililandedonthispage.

    NOTE:windows7users,ihadtousesamNOTSAMbeforeitgavewayandthereiwasinauthorityandwithoutmercyorcompassion,iclearedthegoddampassword

    53. GregSays:December15th,2011at19:07

    Icannotfindsystem32inmycd/media/Vista

    54. GregSays:December15th,2011at19:15

    Scrapthatlastcomment,IcannotdosudochntpwuusernameSAMwithoutitsayingopenHivefailed:NosuchfileorDirectory,tryingreadonly.openHiveinfallbackROmodefailed:nosuchfileordirectory.

    55. GregSays:December15th,2011at20:18

    RightIvecompletedthewholeprocess,butwhenItrytologintomyaccountonvista(32x)ablankpassworddoesntlogmeinthehinthasgone,andIdidselectclearpassword.Cananybodyhelpme?

    56. MarkSays:January2nd,2012at01:04

    Awesomeinstructions,workedperfectly.mighthavetouselowercaselettersforsam

    57. taylordcraigSays:January12th,2012at01:47

    LOWERCASEsamfixedmyproblem.KEEPTHISINMINDIFITSNOTFINDINGYOURSAMFILE.

    58. ERNESTSays:March1st,2012at11:19

    hello,sorry,lnotspeakEnglishverywellso,iusechtnpwversion0.99.6.2onUbuntu10.10butitnotclearmypasswordwindow.Theerroris:theparameter1nogivenothingresultsthenparameter1givetutorialpasswordclearestpleasehelpme

    59. hmwaurahSays:April13th,2012at04:32

    Thankssoomuchman.Ireallyappreciatedyourtutorial.

    60. SumanthNRSays:July17th,2012at22:18

    Thanksatonforthedetailedexplanationandthesnapshots.Mylifeisbacktonormalbecauseofyoumate.IusedUbuntu12.04andthingswerealittledifferentherebutwasabletomanage.ThankstojohnstapletonforhintingthattheDellrequiresdoublebootup.

    61. lifestyleSays:August18th,2012at02:57

    http://godbloodseries.blogspot.com/http://www.facebook.com/benny4x

  • ThisdidNOTworkforme.Pleasehelp.

    WhenItrytologontoWindowsServer2003,Igetthiserror:

    Thesystemcouldnotlogyouon.MakesureyourUsernameanddomainarecorrect,thentypeyourpasswordagain.Lettersinpasswordsmustbetypedusingthecorrectcase.

    WhatIseeinUbuntu12.04:

    $sudochntpwSAMchntpwversion0.99.6080526(sixtyfour),(c)PetterNHagenHivename(fromheader):ROOTKEYatoffset:0x001020*Subkeyindexingtypeis:666cPageat0xa000isnothbin,assumingfilecontainsgarbageatendFilesize262144[40000]bytes,containing9pages(+1headerpage)Usedfordata:364/31768blocks/bytes,unused:6/4808blocks/bytes.

    *SAMpolicylimits:Failedloginsbeforelockoutis:0Minimumpasswordlength:7Passwordhistorycount:7|RID|Username|Admin?|Lock?||01f4|Administrator||dis/lock||03ee|ARRNET||||03f7|District||dis/lock||01f5|Guest||*BLANK*||03f2|ABC_SNGLDVM||||03eb|DEF_SNGLDVM||||03ec|XYZ_SNGLDVM||||03f0|ProSys||||03e9|SUPPORT_xyz|||

    >SYSKEYCHECKNotSet(notinstalled,good!)SAMAccount\F:1>keyinregistrySECURITYPolSecretEncryptionKey:1>NotSet(OKifthisisNT4)

    *****************SYSKEYISENABLED!**************ThisinstallationverylikelyhasthesyskeypasswordhashobfuscatorinstalledItscurrentlyinmode=1,Unknownmode

    SYSTEM(andpossiblySECURITY)hivesnotloaded,unabletodisablesyskey!PleasestarttheprogramwithatleastSAM&SYSTEMhivefilenamesasarguments!

    RID:0500[01f4]Username:Administratorfullname:comment:Builtinaccountforadministeringthecomputer/domainhomedir:

    Accountbits:0x0210=[]Disabled|[]Homedirreq.|[]Passwdnotreq.|[]Temp.duplicate|[X]Normalaccount|[]NMSaccount|[]Domaintrustac|[]Wkstrustact.|[]Srvtrustact|[X]Pwddontexpir|[]Autolockout|[](unknown0x08)|[](unknown0x10)|[](unknown0x20)|[](unknown0x40)|

    Failedlogincount:2,whilemaxtriesis:0Totallogincount:5

    UserEditMenu:1Clear(blank)userpassword2Edit(setnew)userpassword(carefulwiththisonXPorVista)3Promoteuser(makeuseranadministrator)4Unlockandenableuseraccount[probablylockednow]qQuiteditinguser,backtouserselectSelect:[q]>1

    Hivesthathavechanged:#Name0Writehivefiles?(y/n)[n]:y0OK

    62. AsadJawaidSays:

  • January1st,2013at10:43

    Thankyou!chntpwisaverygoodutility.Iused&get100%result.

    63. DavidR.KellySays:January9th,2013at19:26

    myfilewassamlowercase

    64. CourtneySays:March21st,2013at16:59

    Iamtryingtofindthepasswordtomywindowsaccountbyusingthis.Orjustresetthepassword.ithinkmycomputerisrunningWindowsVista.However,theTerminalisnotautocompletinghowcanifixthis?Orhowcanifindtheaddressofmyharddrive?Thanks

    65. ubuntucatSays:March23rd,2013at10:22

    Hey,Courtney.Whenyoureintheterminal,trytypingdfhtoseetheaddressoftheharddrive.

    Also,keepinmindthatthepathstofoldersarecasesensitive.Soifitsanuppercaseandyouretypinglowercase,itwontautocomplete.

    Ihopethathelps.

    66. angelSays:March28th,2013at22:24

    afterentersudochntpwuAngelPcSAM

    itgivememessage

    [sudo]passwordforangel:

    andwhenienteranycharacterfromkeyboarditsdidntwroteonscreen

    ihavewindows8notwindows7

    67. BerlinerLuftSays:March29th,2013at13:10

    Hiubuntucat,Ihadthesameproblemastheuserlifestyle,becausechntpwcannotdisablesyskey!WhatcanIdo?

    68. kaushikSays:April2nd,2013at15:56

    helloalltodayiplanedtobuywindowspasswordkeyprotectionbutwheniseenyourtutorialitquiteniceanditrieditbygodsakealliswellthanksforannicestuffandallthebest.!!

    69. SebastinGarilloSays:April10th,2013at10:55

    Reallythanks,yousavemyday.Iownyouabeer!

    70. sunnySays:June22nd,2013at09:04

    wheniamtypingcd/media/andhittabitnotcompletingthelineplshelpiwanttocrackwindows8password

    71. sunnySays:June22nd,2013at09:15

    howigetwindowsnameificrackingwindows8password

    72. jesseSays:August23rd,2013at01:10

    hithere,thanksforthetutorial.

    onmywindows7machine,thepathIfindis/media/70***************/Windows/system

    http://www.psychocats.net/ubuntucat

  • Icantfinda/system32/oraconfigafterthat.

    canyoutellmewhereelsethatconfigfilecouldbe?orwhereelse/system32directorycouldbe?

    Thanks!

    Jesse

    73. HarryBoroniSays:January15th,2014at14:28

    Dude!Thanks!Savedmybacon!IneededthatselfinstallerpackagelinksinceIwasrunningUbuntuofftheCDdriveonly!

    74. tpSays:June20th,2014at13:55

    Tiensjepensaisrdierunetitarticlesemblableceluici

    75. MrtikSays:August2nd,2014at01:57

    Goodtutorial.Goodprogram.GotproblemandreasonwasthatSAMwasinlowercase.Afterthat,done.Thnks

    76. vishalSays:August26th,2014at08:25

    pleasesomebodyhelpitsveryurgentthemountisunsuccessfultellingwindowsishibernatedandaccessisdenied??windows8

    77. AndrewAllenSays:August27th,2014at18:34

    Thankyouverymuchforthistutorial.ThoughtIwouldleavemyexperiencesonhereincaseitsofanyuseasIhadafewbarriersnotcoveredhere:

    Idownloadedfromhttp://www.ubuntu.com/downloadtheiosfileandsavedittousbstick,restartedlaptop(keptmissingthechancetobootusingusb)quicklypressingesc(windows7laptop),bootoptionsF9(suddenlymycomputerdoesnotneedshiftbuttonforFkeys,wasted10minsbecauseofthis)andpickedTryUbuntuoptionasIdonotyetwanttoinstallUbuntu.Noprobswithlaptopasonlyoneaccountandthiswasjusttestrun.BecauseIhadnotinstalled,theuniversepartwasdonethroughSoftwareandUpdatesandthesynaticdevicesstepwasreplacedbyopeningtheterminalandtypingsudoaptgetupdateEntersudoaptgetinstallchntpwEntercd/media/ubuntu/nameofyourwindowsdrive/Windows/System32/config(notetheubuntupart)EntersudochntpwuAndrewSAM

    Iwastaskedwithresettingadminpasswordoncomputerusedinmyflatsbuilding,multipleaccounts.MainissuewasthatIneededcd/media/ubuntu/Windows7/Windows/System32/configAFTERrightclickingbothsystemandwindow7inSYSTEMandclickingmountforboth.AnotherissueisspaceinusernameDigitalCoordinator,solvedbyescapecharacter\insteadofandforsomereasonthistimeroundIneededsaminsteadofSAM

    Iwascarefulnottoberootorhavecommandlinestarting#asIdonotyetfullyunderstandthisstufftominimiseanyrisks.Thisisstillthebesttutorialforubuntuforthistaskthough

    78. OhanaSays:January22nd,2015at18:21

    Itworkslikeacharm!Thankyousomuch!

    LeaveaReply

    Name(required)

    Mail(willnotbepublished)(required)

    Website

    http://www.ubuntu.com/download

  • SubmitComment

    Searchfor: Search

    Pages

    ALinuxliveCDcansaveyourdataAboutCommentPolicyListofPostsinReverseOrder

    Tags

    androidantivirusappleAsusEeePCbloggingchoiceChristianityComputerscowoniaudio7customerservicedatarecoverydelldoublestandardsEducationeeepcfacebookfeminismfirefoxgenderrolesgmailgooglehpminiiphonekubuntuLinuxmacmacosxmalwaremarkshuttleworthMoviesMusicILikenetbooksprivacyracismraperaringringtailrelationshipssecuritysexismtechjournalismtechnologyUbuntuubuntu13.04usabilityWindows

    RecentCommentsOhanaonHowtoresetaWindowspasswordwithUbuntubenonRootingtheNookSimpleTouchRoundDuckManonAhomeuserssuccessfulmigrationstrategyfromWindowstoUbuntuubuntucatonPureUbuntu13.04NickonPureUbuntu13.04

    BusinessesILike

    JamendoTraderJoe'sWordpress

    MusicILike

    JessPennerJulandrewOkSweetheartThePuppiniSistersWillowWillow

    UbuntucatPoweredbyWordPress

    http://www.psychocats.net/ubuntucat/tag/technology/http://www.psychocats.net/ubuntucat/tag/tech-journalism/http://www.julandrew.com/http://www.psychocats.net/ubuntucat/tag/windows/http://www.psychocats.net/ubuntucat/archive/http://www.psychocats.net/ubuntucat/tag/antivirus/http://www.myspace.com/jesspennerhttp://www.psychocats.net/ubuntucat/tag/relationships/http://www.psychocats.net/ubuntucat/tag/hp-mini/http://www.psychocats.net/ubuntucat/pure-ubuntu-13-04/comment-page-1/#comment-193721http://www.psychocats.net/ubuntucat/tag/movies/http://www.psychocats.net/ubuntucat/tag/facebook/http://www.psychocats.net/ubuntucat/tag/music/http://www.psychocats.net/ubuntucat/tag/computers/http://www.psychocats.net/ubuntucat/tag/sexism/http://www.psychocats.net/ubuntucat/tag/google/http://www.psychocats.net/ubuntucat/rooting-the-nook-simple-touch/comment-page-1/#comment-195493http://www.psychocats.net/ubuntucat/tag/dell/http://www.psychocats.net/ubuntucat/tag/asus-eee-pc/http://www.psychocats.net/ubuntucat/tag/apple/http://www.psychocats.net/ubuntucat/tag/security/http://www.psychocats.net/ubuntucat/livecdaward/http://www.psychocats.net/ubuntucat/tag/mac/http://www.psychocats.net/ubuntucat/tag/education/http://www.psychocats.net/ubuntucat/tag/linux/http://www.psychocats.net/ubuntucat/tag/choice/http://www.psychocats.net/ubuntucat/http://www.psychocats.net/ubuntucat/tag/ubuntu/http://www.psychocats.net/ubuntucat/tag/ubuntu-13-04/http://www.psychocats.net/ubuntucat/pure-ubuntu-13-04/comment-page-1/#comment-193979http://www.psychocats.net/ubuntucat/tag/malware/http://www.psychocats.net/ubuntucat/tag/cowon-iaudio-7/http://www.psychocats.net/ubuntucat/resetwindowspassword/comment-page-2/#comment-198223http://www.jamendo.com/http://www.psychocats.net/ubuntucat/tag/blogging/http://www.psychocats.net/ubuntucat/tag/raring-ringtail/http://www.psychocats.net/ubuntucat/tag/double-standards/http://www.psychocats.net/ubuntucat/tag/mac-os-x/http://www.psychocats.net/ubuntucat/tag/iphone/http://www.willowwillow.com/news.htmlhttp://www.psychocats.net/ubuntucat/tag/kubuntu/http://www.psychocats.net/ubuntucat/tag/mark-shuttleworth/http://www.psychocats.net/ubuntucat/tag/android/http://www.psychocats.net/ubuntucat/tag/firefox/http://www.psychocats.net/ubuntucat/tag/customer-service/http://www.psychocats.net/ubuntucat/tag/gmail/http://oksweetheart.com/http://www.thepuppinisisters.com/http://www.psychocats.net/ubuntucathttp://www.psychocats.net/ubuntucat/about/http://www.psychocats.net/ubuntucat/tag/christianity/http://www.psychocats.net/ubuntucat/tag/gender-roles/http://www.psychocats.net/ubuntucat/tag/privacy/http://www.wordpress.org/http://wordpress.org/http://www.psychocats.net/ubuntucat/tag/data-recovery/http://www.traderjoes.com/http://www.psychocats.net/ubuntucat/tag/feminism/http://www.psychocats.net/ubuntucat/tag/netbooks/http://www.psychocats.net/ubuntucat/a-home-users-successful-migration-strategy-from-windows-to-ubuntu/comment-page-3/#comment-194353http://www.psychocats.net/ubuntucat/tag/racism/http://www.psychocats.net/ubuntucat/tag/rape/http://www.psychocats.net/ubuntucat/tag/eee-pc/http://www.psychocats.net/ubuntucat/tag/usability/

Recommended