[batch] 解決忘記密碼無法登入 windows 問題

解決忘記密碼無法登入windows問題

  • 測試成功環境: Windows 2003, Windows XP
@echo off
echo.
echo 正在刪除系統目前使用的 SAM 檔案及相關註冊表檔案
echo.
del c:\windows\system32\config\sam /f /q >nul
del c:\windows\system32\config\system /f /q >nul
del c:\windows\system32\config\software /f /q >nul
del c:\windows\system32\config\security /f /q >nul
del c:\windows\system32\config\default /f /q >nul
echo 正在複製系統的備份 SAM 檔案及相關註冊表檔案
echo.
copy c:\windows\repair\sam c:\windows\system32\config\ >nul
copy c:\windows\repair\system c:\windows\system32\config\ >nul
copy c:\windows\repair\software c:\windows\system32\config\ >nul
copy c:\windows\repair\security c:\windows\system32\config\ >nul
copy c:\windows\repair\default c:\windows\system32\config\ >nul
echo 成功清除 Windows 所有帳戶及密碼資訊, 現在重新啟動程式即可直接進入 Windows 系統

此種方法提供一種最暴力登入 Windows 的辦法,需要透過F8進入安全模式下或是利用修復主控台的方式執行以上批次檔(batch),但如果該帳號有相關Windows加密資料此種方法會造成加密資料永遠就不回來。

最好還是透過 Offline NT Password & Recovery Editor 方式將該使用者密碼換掉或清空以便進入該帳號作後續處理,本文只是提供另一種思路。

198 comments

  1. With havin so much content do you ever run into any problems of
    plagorism or copyright infringement? My site has a lot of completely unique content I’ve either authored
    myself or outsourced but it seems a lot of it is popping it up all
    over the internet without my authorization. Do you know any methods to help stop content from being stolen? I’d certainly appreciate
    it.

  2. Its like you learn my mind! You appear to understand so much approximately this, like you wrote the book in it or something.
    I believe that you just could do with some % to drive the message house a bit, however instead of that, this is great
    blog. A great read. I will definitely be back.

  3. I was curious if you ever considered changing the structure of your site?
    Its very well written; I love what youve got to say.
    But maybe you could a little more in the way of content so people could connect
    with it better. Youve got an awful lot of text for only
    having one or two pictures. Maybe you could space it out better?

  4. This is very interesting, You are an excessively professional blogger.
    I’ve joined your feed and look ahead to looking for extra of your fantastic post.
    Additionally, I’ve shared your site in my social networks

  5. Wow, awesome weblog layout! How lengthy have you been running a
    blog for? you made blogging look easy. The full glance of
    your web site is magnificent, as smartly as the content material!

  6. I love your blog.. very nice colors & theme. Did you make this website yourself or
    did you hire someone to do it for you? Plz reply as I’m looking
    to design my own blog and would like to find out where u got this
    from. thanks

  7. I’ll right away snatch your rss feed as I can not to find your e-mail subscription link or newsletter service.
    Do you have any? Please permit me know so that I could subscribe.
    Thanks.

  8. Hi there i am kavin, its my first occasion to commenting anyplace,
    when i read this post i thought i could also make comment due
    to this good article.

  9. I am not sure where you are getting your info, but great topic.

    I needs to spend some time learning much more or understanding
    more. Thanks for great info I was looking for
    this information for my mission.

  10. I really like your blog.. very nice colors & theme. Did you design this website yourself or
    did you hire someone to do it for you? Plz reply as
    I’m looking to construct my own blog and would like to know where u got this from.
    appreciate it

  11. It is the best time to make a few plans for the
    longer term and it’s time to be happy. I have read this put up and if I could I wish to recommend you some attention-grabbing issues or advice.
    Perhaps you could write next articles referring to this article.
    I want to learn even more issues about it!

  12. I am extremely inspired along with your writing abilities
    as neatly as with the format on your weblog. Is this a paid subject matter or did you customize it yourself?
    Either way keep up the nice high quality writing, it is rare to peer a
    nice blog like this one nowadays..

  13. Pretty section of content. I just stumbled upon your weblog and in accession capital
    to assert that I get actually enjoyed account your blog posts.
    Anyway I’ll be subscribing to your augment and even I achievement you access consistently fast.

  14. May I just say what a relief to discover somebody that really knows what they are discussing on the internet.
    You actually realize how to bring a problem to light and make it important.

    More and more people need to look at this and understand this side of your story.
    It’s surprising you are not more popular given that you most certainly possess the gift.

  15. This design is wicked! You most certainly know how
    to keep a reader entertained. Between your wit and your videos, I was almost moved to start my own blog (well, almost…HaHa!) Great job.
    I really enjoyed what you had to say, and more than that, how you presented it.
    Too cool!

  16. Simply wish to say your article is as amazing.

    The clarity in your post is just spectacular and i can assume you’re an expert on this subject.

    Fine with your permission let me to grab your feed to keep updated with forthcoming post.
    Thanks a million and please continue the gratifying work.

  17. Aw, this was an exceptionally nice post. Finding the time and actual
    effort to create a really good article… but what can I say… I put things
    off a whole lot and don’t manage to get nearly anything done.

  18. You are so interesting! I do not suppose I’ve read through anything like that before.
    So nice to find somebody with some genuine thoughts on this subject matter.
    Seriously.. thanks for starting this up. This website is one thing that is
    needed on the internet, someone with some originality!

  19. Hello there, There’s no doubt that your site could be having web browser
    compatibility problems. Whenever I take a look at
    your web site in Safari, it looks fine however, if opening
    in Internet Explorer, it’s got some overlapping issues.
    I just wanted to give you a quick heads up! Aside from that, great
    blog!

  20. I’ve been exploring for a bit for any high quality articles
    or weblog posts on this kind of space . Exploring in Yahoo I at last stumbled
    upon this site. Studying this info So i am satisfied to express that I have an incredibly good uncanny feeling I found out just what
    I needed. I so much without a doubt will make sure to do not forget this
    site and provides it a look on a continuing basis.

  21. It’s in point of fact a great and useful piece of information.
    I am glad that you just shared this useful info with us. Please stay us up to date like this.
    Thanks for sharing.

  22. Have you ever thought about publishing an e-book or guest authoring on other websites?
    I have a blog based upon on the same ideas you discuss
    and would love to have you share some stories/information. I know
    my audience would value your work. If you are even remotely interested, feel
    free to send me an e-mail.

  23. Does your website have a contact page? I’m having trouble locating it but,
    I’d like to send you an email. I’ve got some suggestions for
    your blog you might be interested in hearing. Either way, great site and I look forward to seeing it develop over time.

  24. I blog frequently and I truly appreciate your information. Your article has really peaked my
    interest. I’m going to take a note of your blog and keep checking for new details about once per
    week. I opted in for your RSS feed too.

  25. Nice post. I was checking continuously this blog
    and I’m impressed! Very useful information specially the last part 🙂 I care for such info a
    lot. I was looking for this particular information for a
    very long time. Thank you and best of luck.

發表迴響

你的電子郵件位址並不會被公開。 必要欄位標記為 *

*