You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Ubuntu 14.0 LTS USB LIVE无法定位Windows文件及Win10管理员账户锁定求助

Fix Your Locked Windows Admin Account & Access Files from Ubuntu 14.04 Live USB

Hey Joe, let's tackle this problem head-on—first we'll get your Windows files visible in Ubuntu Live, then fix that locked admin account. Here's the step-by-step breakdown:

Step 1: Locate & Mount Your Windows Partition in Ubuntu Live USB

The most common reason Ubuntu can't find your Windows files is that the NTFS partition isn't mounted, or it's in a dirty state (from an improper Windows shutdown).

  • Open the Terminal (find it in the applications menu or press Ctrl+Alt+T).
  • First, list all your disk partitions to identify the Windows NTFS drive:
    sudo fdisk -l
    
    Look for a partition labeled Type: Microsoft basic data with a size matching your Windows drive (usually the largest partition, often /dev/sda2 or /dev/nvme0n1p2 if you have an SSD).
  • If the partition shows up but isn't mounted, create a mount point and attach it:
    sudo mkdir /mnt/windows
    sudo mount -t ntfs-3g /dev/sdaX /mnt/windows
    
    Replace /dev/sdaX with your actual Windows partition (e.g., /dev/sda2).
  • If you get an error about a dirty volume, fix the NTFS first:
    sudo ntfsfix /dev/sdaX
    
    Then try mounting again.
  • If you still can't find the partition, check your BIOS/UEFI boot settings: ensure Ubuntu is booted in the same mode (UEFI or Legacy) as your Windows installation. Mismatched modes can prevent GPT/MBR partitions from showing up.

Step 2: Fix the Locked Windows Admin Account

Once you can access your Windows files, we'll reset the admin password or restore the account using the chntpw tool (a utility for editing Windows registry files from Linux).

  • First, install chntpw (you'll need to update your package list first for Ubuntu 14.04):
    sudo apt-get update
    sudo apt-get install chntpw
    
  • Navigate to the Windows registry config directory:
    cd /mnt/windows/Windows/System32/config
    
  • Run chntpw to edit the SAM file (which stores user accounts and passwords):
    sudo chntpw -u Administrator SAM
    
  • Follow the on-screen prompts:
    1. Choose option 1 to clear the administrator password (this lets you log in without a password).
    2. If your account was accidentally disabled, choose option 2 to enable it.
    3. Save your changes (option q then y to confirm).

Step 3: Post-Fix Notes

After making these changes, restart your computer and boot back into Windows. You should now be able to log into the Administrator account. Once logged in:

  • Open the Registry Editor (regedit), navigate to HKEY_LOCAL_MACHINE\SAM\SAM.
  • Right-click the SAM folder, go to Permissions, and restore the default permissions (ensure the SYSTEM account has full control, as it did before your changes).

内容的提问来源于stack exchange,提问作者joe

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.19 10:11:56