> For the complete documentation index, see [llms.txt](https://docs.parallels.com/landing/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.parallels.com/landing/pdfm-ug/v20-zh-tw/parallels-desktop-for-mac-20-shi-yong-zhi-nan/zai-mac-shang-shi-yong-windows/lian-xian-wai-bu-zhuang-zhi.md).

# 連線外部裝置

Parallels Desktop 能夠讓您把 USB、Thunderbolt 和 FireWire 裝置用於 Windows。

許多外部裝置如滑鼠與印表機在連線到 Mac 時，預設可用於 Windows 與 macOS。

一些外部裝置如 Apple iPhone，只能用於 macOS 應用程式或 Windows 應用程式，不能同時用於兩個系統的應用程式。當您連線此類裝置時，您可選擇是否用於 macOS 或 Windows。

要連線外部裝置：

1. 連接裝置到 Mac。
2. 如果 Windows 正在執行而該裝置無法同時用於 Windows 與 macOS，您會被提示要求選定該裝置用於哪個系統。如果您希望 Parallels Desktop 記住您的選擇，請選取相應的核取方塊。要將該裝置用於 macOS 應用程式，可按一下 Mac 圖示。要用於 Windows 應用程式，可按一下 Windows 畫面。

<figure><img src="https://content.gitbook.com/content/NPLQPyrTCZG7rj2GnqwJ/blobs/3CQh2cnpmeGS8bArvSpC/image.png" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="info" %}
**重要：**&#x8981;能夠把 USB 裝置用於 Windows 應用程式，您需要為該裝置安裝 Windows 驅動程式。一般您可以從生產商網站上下載驅動程式。
{% endhint %}

您也可以[在連線任何外部裝置時設定會發生什麼事，以及將特定外部裝置設為一律搭配使用 macOS 或 Windows](/landing/pdfm-ug/v20-zh-tw/parallels-desktop-for-mac-20-shi-yong-zhi-nan/zai-mac-shang-shi-yong-windows/lian-xian-wai-bu-zhuang-zhi/diao-zheng-zhuang-zhi-she-ding.md)。

如果您的 USB 裝置已連線到 Mac，則可執行以下操作將其連線到 Windows：

* 如果 Windows 在全螢幕或視窗模式中執行，請將滑鼠指標移至螢幕頂部，按一下「**裝置**」>「**USB 和藍牙**」> 並選取要連線的裝置。<br>

  <figure><img src="https://content.gitbook.com/content/NPLQPyrTCZG7rj2GnqwJ/blobs/WKYnYWsEnfykXjMyU5II/Screenshot%202024-01-11%20at%2015.35.51.png" alt="" width="563"><figcaption></figcaption></figure>
* 如果 Windows 在融合 (Coherence) 模式中執行，可按一下功能表列中的 Parallels Desktop 圖示 >「**裝置**」>「**USB 和藍牙**」> 並選取要連線的裝置。\ <br>

  <figure><img src="https://content.gitbook.com/content/NPLQPyrTCZG7rj2GnqwJ/blobs/6A6RwIgLJzkApdTkIHYA/Screenshot%202024-01-11%20at%2015.36.53.png" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="info" %}
**附註：**&#x5982;果某個 macOS 應用程式正在使用您嘗試連線的裝置，則您會看到警告訊息。在這種情況下，首先您需要退出此應用程式，然後重試連線裝置。
{% endhint %}

### **連線一個通用存取卡讀卡機**

通用存取卡 (CAC) 讀卡機可以同時在 macOS 與 Windows 中工作。

1. 連線 CAC 讀卡機到 Mac。
2. 當您被提示要求選擇 Windows 或 Mac 時，可按一下 Windows 螢幕。該 CAC 讀卡機可用於 Windows 與 macOS。

### 如何停用將 USB 裝置連接至虛擬機器

基於安全理由，您可能想要禁止將 USB 裝置連接到虛擬機器。以下是使用命令列介面的方法：

```
prlctl set <VM ID> --device-del usb
```

此指令會停用虛擬機器的 USB 裝置控制器。如需更多 CLI 功能，請參閱《開發人員指南》的[相關章節](/landing/parallels-desktop-developers-guide/command-line-interface-utility.md)。

{% hint style="info" %}
**注意**: Parallels Desktop Command Line Interface 僅適用於 Pro、Business 及 Enterprise 授權。
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.parallels.com/landing/pdfm-ug/v20-zh-tw/parallels-desktop-for-mac-20-shi-yong-zhi-nan/zai-mac-shang-shi-yong-windows/lian-xian-wai-bu-zhuang-zhi.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
