如何知道 Windows 安装在哪个驱动器上?

Pie*_*tro 4 windows boot windows-10

我有两份 Windows 10 的精确副本,一份在驱动器 C: 上,一份在驱动器 D: 上。这是同一台笔记本电脑中的两个内部驱动器。

我怎么知道哪个 Windows 正在运行?

如何选择在启动期间启动的那个?

Vis*_*hwa 5

有几种方法,我会提到我想到的最快的方法。

  1. 打开运行对话框 ( Winkey+ R) 并输入以下命令Enter,它将打开您当前的 Windows 安装目录

    %windir%
    
    Run Code Online (Sandbox Code Playgroud)
  2. 打开任务管理器并在详细信息/进程选项卡中选择一个系统进程(类似于 svchost.exe 或 winlogon.exe)。右键单击它,您可以看到打开文件位置,这也将打开您的 windows 目录。


Pet*_*orf 5

像 C: 这样的驱动器盘符仅在 Windows 安装的运行时期间分配,因此它们通常会同时用于C:您的两个安装。

打开提升的权限cmd.exePowershell.exe(以管理员身份),然后键入:

diskpart
Run Code Online (Sandbox Code Playgroud)

稍后,输入:

list volume
Run Code Online (Sandbox Code Playgroud)

你会得到这样的东西:

 Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
 ----------  ---  -----------  -----  ----------  -------  ---------  --------
 Volume 1         WinBOOT      FAT32  Partition    350 MB  Healthy    System
 Volume 2     D   Win1         NTFS   Partition     31 GB  Healthy
 Volume 3     C   Win2         NTFS   Partition     33 GB  Healthy    Boot
 Volume 4     S   Data         NTFS   Partition    380 GB  Healthy
Run Code Online (Sandbox Code Playgroud)

此时你可以看到Volume 3当前正在运行的 Windows 上,还有一个 上的Volume 2Boot在最右侧的信息栏中表明这是当前的 Windows 驱动器。

您可以通过打开磁盘管理看到相同的内容:

 diskmgmt.msc
Run Code Online (Sandbox Code Playgroud)

Boot并在卷的“状态”列中查找。

设置双启动 Windows 时,您应该为每个启动项使用描述性名称。