在VirtualBox和Windows之間共享剪貼板使傳輸數據和文件容易。例如,如果要訪問VM中的網頁,則可以在Windows中復制URL並將其直接粘貼到VM的瀏覽器中。以相同的方式,您還可以復制和粘貼要傳輸的文件。默認情況下,“共享剪貼板”功能是禁用的,但是您可以輕鬆地啟用 host-to-guest , guest-to-to-to-to-to-host 或雙向剪貼板共享只需單擊幾下即可。
在此快速而直接的教程中,我可以分享兩種方法。讓我們開始。
通過按“ Windows鍵”。Search“ virtualbox
)通過VM在VirtualBox中共享剪貼板
打開開始菜單。頂部的“ 專家“在側欄上的“ 一般“選項卡上的“ 高級” tab上的“ Advanced “選項卡上的“ 雙向“,從“共享clipboard” clipboard’plotboard’plotdown’ ok ok 。
詳細的步驟(使用屏幕截圖)
您可以通過在“開始”菜單中搜索VirtualBox應用程序。 src=“ https://i0.wp.com/windowsloop.com/wp-content/uploads/2025/01/open-virtualbox-130125.jpg?Resize=1024%2C959&sssssssssssl=1″ 右鍵單擊,然後選擇“ 設置“。
“ 一般“側邊欄上的標籤。接下來,轉到右面板上的“高級”選項卡。在此處,從“ 共享剪貼板“下拉菜單中選擇以下選項 。機器,但不是從主機到VM的。 src=”https://i0.wp.com/windowsloop.com/wp-content/uploads/2025/01/enable-shared-clipboard-virtualbox-170125.jpg?resize=1024%2C636&ssl=1″>
Clipboard sharing between your VM and Windows is now active. The sharing direction will depend on the option you selected (host-to-guest, guest-to-host, or bidirectional).
Good to know: How to create a shared folder in VirtualBox
Toggle Shared Clipboard in VM’s Menu Bar
Alternatively, if you want to quickly toggle the clipboard sharing on or off while the VM is running, you can use the VM’s menu bar.以下方法:
按“ Windows鍵”為打開開始菜單。 “Bidirectional“.Optionally, select the “Enable clipboard file transfers”option in the same menu.With that, shared clipboard is enabled in VirtualBox.
Detailed Steps (With Screenshots)
Launch the VirtualBox application by searching for it in the Start menu.打開後,在左側欄上選擇VM ,然後單擊“ start “按鈕。
主機到訪客:這使剪貼板從主機到VM共享,但不是從VM到VM到主機。 guest to host。在主機和來賓機器之間的兩個方向中。
要從剪貼板啟用文件傳輸,請在同一菜單中選擇“ 啟用剪貼板文件傳輸“選項。
一旦選擇一個選項,VirtualBox切換剪貼板分享。共享方向將取決於您選擇的選項(主機到吉斯特,客人到主機或雙向)。如果您不想要此功能,只需從“共享剪貼板”菜單中選擇“ disabled “選項。
總結-在VirtualBox
中共享VM和Windows之間的剪貼板要匯總,您有兩種方法可以在VirtualBox中啟用共享剪貼板。儘管兩種方法都可以正常工作並達到相同的結果,但第二種方法使您可以在需要時快速打開和關閉功能。通常建議您在不積極使用它的情況下,禁用剪貼板共享。例如,如果您的VM感染了惡意軟件,則禁用共享剪貼板會阻止惡意軟件通過剪貼板在主機機上訪問數據。
如果您有任何疑問或需要幫助,請在下面評論。我很樂意協助。