# 启动和关机设置

您可以使用“启动和关机”设置选择如何启动和关闭虚拟机。

要访问**启动和关机**设置，请执行以下操作：

1. 请视需要选择执行以下操作：
   * 单击菜单栏中的 Parallels Desktop 图标，然后选择**配置**。
   * 如果在屏幕顶部可以看见 Parallels Desktop 菜单栏，请选择**操作** > 配置。
2. 单击**选项**，然后选择**启动和关机**。

### **设置为手动启动和关闭虚拟机**

如果您要始终手动启动和关闭虚拟机，请选择**手动启动和关机**。

### **将虚拟机配置为自动启动**

如果您要在 Mac 启动时自动启动虚拟机，请选择**始终在后台准备就绪**。

### **详细指定自动启动和关闭虚拟机的方式**

如果您不仅要指定虚拟机启动或关闭的方式，还要指定关闭虚拟机窗口时的视图模式和执行的操作，请选择**自定义**并执行以下操作：

#### **设定 Windows 是否自动启动**

在**自动启动**菜单中，选择下面一个选项：

{% hint style="info" %}
**注意：**&#x5F53;您[打开 Windows 应用程序](/pdfm-19-ug-zh_cn/parallels-desktop-for-mac-19-users-guide/zai-mac-shang-shi-yong-windows/ru-men/da-kai-windows-ying-yong-cheng-xu.md)时 Windows 将会启动，而忽略该设置。
{% endhint %}

* **从不**：Windows 从不自动启动。
* **当窗口打开时**：Windows 在您从**控制中心**打开它时自动启动。
* **当 Parallels Desktop 启动时**：当您启动 Parallels Desktop 时，Windows 自动启动。
* **当 Mac 启动时：**&#x5F53;您启动 Mac 时，Windows 将自动启动。如果选中此选项，还可以将虚拟机配置为延迟启动。\
  \
  [**注意：**&#x6B64;功能仅在 Parallels Desktop for Mac Pro Edition 中有提供。](#user-content-fn-1)[^1]<br>
* **在用户登录时**：Mac 启动且 macOS 用户登录 macOS 后，Windows 自动启动。

#### **设定启动查看方式**

此设置影响在您启动虚拟机或虚拟机操作系统应用程序时 Windows 以何种查看模式启动。

* 从**启动查看**菜单，选择**融合 (Coherence)**、**窗口**、**全屏 (Full Screen)**、**画中画**、**免登录 (Headless)** 或**与上次相同**。

{% hint style="info" %}
**注意：免登录 (Headless)** 模式仅在 Parallels Desktop for Mac Pro Edition 中有提供。
{% endhint %}

#### **设定关闭 Windows 时的动作**

在**虚拟机关机时**菜单中，选择下面一个选项：

* **保持窗口打开**：如果 Windows [设置为在单独窗口中显示](/pdfm-19-ug-zh_cn/parallels-desktop-for-mac-19-users-guide/zai-mac-shang-shi-yong-windows/she-ding-windows-ru-he-yu-macos-xie-tong-gong-zuo/she-ding-windows-chu-xian-zai-yi-ge-dan-du-de-chuang-kou.md)，则当您停止或关闭 Windows 时，此窗口会保持打开。
* **关闭窗口**：如果 Windows 设置为在单独窗口中显示，则当您停止或关闭 Windows 时，此窗口会关闭。
* **退出 Parallels Desktop**：当您停止或关闭 Windows 时，退出 Parallels Desktop。

#### **设定关闭 Mac 时的动作**

此设置仅针对 Windows [设置为出现在一个单独的窗口中](/pdfm-19-ug-zh_cn/parallels-desktop-for-mac-19-users-guide/zai-mac-shang-shi-yong-windows/she-ding-windows-ru-he-yu-macos-xie-tong-gong-zuo/she-ding-windows-chu-xian-zai-yi-ge-dan-du-de-chuang-kou.md)时的动作。

从**窗口关闭时**菜单中，选择**中止**、**关闭**、**强制停止**、**在后台保持运行**或**询问我怎么做**。

#### **当没有运行任何应用程序时暂停 Windows**

选择**达到以下时间段后暂停 Windows** 并指定达到即会自动暂停 Windows 的一段无操作时间。当没有运行任何应用程序时暂停 Windows 允许您[保存 Mac 的 CPU 资源](/pdfm-19-ug-zh_cn/parallels-desktop-for-mac-19-users-guide/zai-mac-shang-shi-yong-windows/you-hua-xing-neng/dang-mei-you-yun-xing-ren-he-ying-yong-cheng-xu-shi-zan-ting-windows.md)。

[^1]:


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.parallels.cn/pdfm-19-ug-zh_cn/parallels-desktop-for-mac-19-users-guide/zai-mac-shang-shi-yong-windows/ru-men/guan-bi-huo-zhong-zhi-windows/qi-dong-he-guan-ji-she-zhi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
