[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 方式將該使用者密碼換掉或清空以便進入該帳號作後續處理,本文只是提供另一種思路。

394 comments

  1. It’s really a great and helpful piece of info. I’m glad that you shared this useful
    information with us. Please keep us up to
    date like this. Thank you for sharing.

  2. great submit, very informative. I’m wondering why the opposite
    experts of this sector do not notice this. You must proceed your
    writing. I’m confident, you have a huge readers’ base already!

  3. A motivating discussion is worth comment. I believe that you
    need to publish more on this topic, it may not be a taboo matter but typically
    people do not speak about these topics. To the
    next! Kind regards!!

  4. Howdy! I could have sworn I’ve been to this website before but after reading through some of the post I realized it’s
    new to me. Anyhow, I’m definitely happy I found it and I’ll be book-marking and checking back
    frequently!

  5. I know this if off topic but I’m looking into starting my own blog and was wondering what all is needed to
    get setup? I’m assuming having a blog like yours would cost a
    pretty penny? I’m not very web savvy so I’m not 100% certain. Any tips or advice would be
    greatly appreciated. Many thanks

  6. Today, I went to the beach front with my children. I found a sea shell and gave it to my 4 year
    old daughter and said “You can hear the ocean if you put this to your ear.” She placed the shell to her ear and screamed.
    There was a hermit crab inside and it pinched her ear. She
    never wants to go back! LoL I know this is totally off topic
    but I had to tell someone!

  7. Hey! This is kind of off topic but I need some guidance from an established blog.
    Is it difficult to set up your own blog? I’m not very techincal but I can figure things out pretty quick.
    I’m thinking about creating my own but I’m not sure where to start.
    Do you have any ideas or suggestions? Thank you

  8. of course like your web-site but you have to check the spelling on quite a few
    of your posts. A number of them are rife with spelling issues and I find it very bothersome to inform the
    reality however I’ll certainly come back again.

  9. I do consider all of the concepts you’ve presented to your post.
    They are really convincing and will definitely work.
    Still, the posts are too short for novices. May you
    please prolong them a little from next time?
    Thanks for the post.

  10. I was curious if you ever thought of changing the structure of your website?
    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 1 or two pictures.
    Maybe you could space it out better?

  11. Admiring the dedication you put into your website and
    detailed information you present. It’s nice to come across a blog
    every once in a while that isn’t the same unwanted rehashed information. Wonderful read!
    I’ve saved your site and I’m adding your RSS feeds to my Google account.

  12. You can certainly see your skills in the work you write. The arena hopes for even more passionate writers such as
    you who aren’t afraid to mention how they believe. At all
    times go after your heart.

  13. I think everything posted was actually very logical.
    But, what about this? suppose you typed a catchier post title?
    I am not suggesting your content is not solid, however what if you added a post
    title that makes people desire more? I mean [batch] 解決忘記密碼無法登入 windows 問題 – Taien's
    blog is kinda boring. You should peek at Yahoo’s home
    page and watch how they create article titles to grab viewers interested.

    You might try adding a video or a related picture or two to get people interested
    about everything’ve got to say. Just my opinion, it would make
    your blog a little livelier.

  14. Oh my goodness! Impressive article dude! Thanks, However I am experiencing problems with your RSS.
    I don’t understand the reason why I am unable to subscribe to
    it. Is there anybody getting the same RSS problems? Anyone who knows
    the answer will you kindly respond? Thanx!!

  15. Howdy! This post couldn’t be written any better!
    Reading this post reminds me of my previous
    room mate! He always kept chatting about this. I will forward
    this write-up to him. Fairly certain he will have a good read.

    Many thanks for sharing!

  16. Simply desire to say your article is as astonishing.

    The clearness in your post is simply great 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 carry on the rewarding work.

  17. Hello, There’s no doubt that your site might be having web
    browser compatibility issues. When I look at your website in Safari, it looks fine however, if opening in I.E., it’s got some overlapping issues.

    I simply wanted to provide you with a quick heads
    up! Other than that, wonderful website!

  18. Hello! I know this is kind of off topic but I was wondering if you knew where I
    could get a captcha plugin for my comment form? I’m using the same blog platform as yours and I’m having trouble finding one?
    Thanks a lot!

  19. I have been surfing online more than three hours today, yet I by no means found any attention-grabbing article like yours.
    It’s beautiful value enough for me. In my view, if all site owners and bloggers made good content material as you did, the net might be much more
    useful than ever before.

  20. Having read this I thought it was really informative.
    I appreciate you spending some time and effort to put this
    informative article together. I once again find myself spending a significant amount of time both reading and posting comments.
    But so what, it was still worthwhile!

  21. Hello there, I found your website via Google at the same time as looking for a
    similar topic, your website came up, it seems great. I’ve bookmarked
    it in my google bookmarks.
    Hello there, simply became alert to your blog through Google, and found that it’s really informative.
    I am going to watch out for brussels. I’ll appreciate in the event you
    continue this in future. Many people will be benefited out of your writing.

    Cheers!

  22. Nice post. I learn something new and challenging on websites
    I stumbleupon every day. It’s always helpful to read content from other authors and practice something from other sites.

  23. Please let me know if you’re looking for a writer for your blog.
    You have some really great articles and I feel I would be a good
    asset. If you ever want to take some of the load off, I’d love to write some content for your blog in exchange for a
    link back to mine. Please shoot me an e-mail if interested.
    Regards!

發表迴響

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

*