Skip to content (Press Enter)

如何在 Dropbox 中啟用共同編輯功能

Admins 已更新 Feb 09, 2026

In this article

    person icon

    本文介紹的功能開放 Dropbox Standard、Advanced、Business、Business Plus 和 Enterprise 的特定管理員使用。

    透過 Dropbox 的 Microsoft 共同編輯功能,工作團隊可以使用 Microsoft Office 桌面應用程式,在 Word、Excel 和 PowerPoint 檔案中即時協作。這樣可以簡化團隊合作過程,讓所有人都能取得共識,減少版本衝突。

    擁有 Microsoft 365 Business 授權的 Dropbox Standard、Advanced、Business、Business Plus 或 Enterprise 團隊管理員,可以為其團隊啟用共同編輯功能。

    在管理員主控台中啟用共同編輯功能


    大多數的工作團隊會預設啟用共同編輯功能。不過,如果您連結的應用程式被工作團隊預設封鎖的話,您必須啟用共同編輯功能,允許工作團隊將 Microsoft Office 365 連結至 Dropbox。

    方法如下:

    1. 以管理員帳號密碼登入 dropbox.com。
    2. 按一下左側邊欄中的 [管理員主控台]。
    3. 在 [產品] 下方,按一下 [Dropbox] 左側的下拉式選單。
    4. 按一下 [設定]。
    5. 按一下 [整合] 索引標籤。
    6. 向下捲動至底部的應用程式清單。
    7. 在 Microsoft Office 365 旁,按一下 ☑(更多選項)。
    8. 選擇 [允許]。
    Turn on co-authoring from the admin console

    Windows 上受保護的畫面

    若文件來自不受信任的來源,Windows 會自動以唯讀模式開啟共同編輯工作階段。預設情況下,Dropbox 在 Windows 電腦上是不受信任的來源。螢幕頂部會出現一個橫幅,警告您來自網路的檔案可能包含病毒。若要開始編輯文件,請按一下 [啟用編輯] 。

    若要跳過此步驟,您可以將 Dropbox 設定為信任的來源。方法如下:

    1. 打開控制面板。
    2. 按一下 [網路選項]。
    3. 選擇 [安全性] 分頁。
    4. 選擇 [信任的網站]。
    5. 按一下 [網站]。
    6. 在 [將此網站新增至區域] 下方輸入以下網址: https://wopi.dropbox.com。
    Set Dropbox as a trusted source, step 1
    Set Dropbox as a trusted source, step 2
    這個程序需要由團隊中所有使用共同編輯的人完成。工作團隊 IT 管理員可以使用群組原則物件,為全組織將 Dropbox 設定為信任的來源。

    參閱 Microsoft 說明文件進一步瞭解全域授權
    。

    如何為工作團隊將 Dropbox 自動佈建為位置

    highlighter icon

    備註:下列說明主要提供給工作團隊的 IT 管理員參考。在您開始自動佈建流程之前,強烈建議您閱覽此指南及 Microsoft 的為桌面新增位置佈建說明文件。

    自動佈建可讓您將 Office 365 中將 Dropbox 新增為位置,供所有團隊成員使用,不用讓成員一個個手動操作。下列所述的每個設定方法都會要求所有團隊使用者登入自己的 Dropbox 帳戶,以便驗證 Dropbox 作為儲存空間位置。

    使用 Windows

    群組原則物件

    建立新群組原則物件的方法如下:

    1. 建立包含下列 PowerShell 指令碼的檔案:
    $DropboxForTeamsServiceId = 'TP_DROPBOX_PLUS';
    function Get-DropboxForTeamsExists {
        param ($OfficeVersion)
        $serviceExists = 0;
        $localServices = Get-ChildItem -Path "HKCU:\Software\Microsoft\Office\$OfficeVersion\Common\ServicesManagerCache\Local"
        foreach ($value in $localServices) {
            $service = Get-ItemProperty "HKCU:\$value"
            if ($service.ServiceId -eq $DropboxForTeamsServiceId) {
                $serviceExists = 1;
                break
            }
        }
        $serviceExists;
    }
    # Get current office version
    function Get-OfficeVersion {
        $officeVersionX32 = (Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Office\ClickToRun\Configuration' -ErrorAction SilentlyContinue -WarningAction SilentlyContinue) | Select-Object -ExpandProperty VersionToReport
        $officeVersionX64 = (Get-ItemProperty -Path 'HKLM:\SOFTWARE\WOW6432Node\Microsoft\Office\ClickToRun\Configuration' -ErrorAction SilentlyContinue -WarningAction SilentlyContinue)
        if ($officeVersionX32 -ne $null -and $officeVersionX64 -ne $null) {
            $officeVersion = $officeVersionX64 #Use x64 as default.
        } elseif($officeVersionX32 -eq $null -or $officeVersionX64 -eq $null) {
            $officeVersion = $officeVersionX32 + $officeVersionX64
        }
        $officeVersionMain = $officeVersion.Split(".")[0] + '.0'
        $officeVersionMain
    }
    Write-Host "Dropbox for Teams provisioning script initialized."
    Write-Host "Detecting Office version."
    $officeVersion = Get-OfficeVersion
    Write-Host "Office version detected: $officeVersion"
    $dropboxForTeamsExists = Get-DropboxForTeamsExists -OfficeVersion $officeVersion
    if($dropboxForTeamsExists -eq 0) {
        Write-Host "Dropbox for Teams not found, running provisioning script."
        <#
            Paremeters used within script
            - `asp`    = Add storage provider command
            - `d`      = Read service identifier field
            - `o`      = This is lower-case letter ‘o’ not zero. Read operation identifier to indicate is silent or not
            - `1`      = Invoke in silent mode (intended to be invoked on user login)
            - `a`      = Lower-case letter ‘a’. Read the invoking application identifier
            - `script` = The application invoking the protocol handler for debugging and logging use. In this case it is script.
        #>
        start "ms-office-storage-host:asp|d|$DropboxForTeamsServiceId|o|1|a|script"
        Write-Host "Provision script finished."
    } else {
        Write-Host "Dropbox for Teams found exiting..."
    }
    1. 建立新的群組原則物件 (GPO):
      1. 閱讀 Microsoft 說明文件。
      2. 以 [Group Policy Creator Owners] 中一員的身分,開啟 [群組原則管理] 控制台。
      3. 找到相關網域的 [群組原則物件],然後按一下 [新增]。
      4. 為您的新群組原則物件命名。
         
    2. 設定登入指令列:
      1. 閱讀 Microsoft 說明文件。
      2. 開啟 [群組原則管理控制台]。
      3. 展開 [使用者設定] 下的 [Windows 設定],並選擇 [指令碼]。
      4. 在「指令碼登入/登出」視窗中按兩下 [登入]。
      5. 在「登入屬性」視窗中按一下 [PowerShell 指令碼]。
      6. 按一下 [新增]。
      7. 按一下 [指令碼名稱] 旁邊的 [瀏覽]。
      8. 複製第一步中的 PowerShell 指令碼,並貼上至視窗,並在複製完成後加以選擇。
      9. 按一下 [開啟]。
        • 此操作會將 Users-Scripts-Logon 資料夾預設放在「Sysvol – Policies」資料夾的 GPO 物件之中。
           
    3. 接受所有變更並關閉群組原則管理編輯器。

    4. 將該原則連結至任何組織單位 (OU):
      1. 閱讀 Microsoft 說明文件。
      2. 在群組原則管理控制台中,前往想要的 OU。
      3. 在此 OU 上按右鍵,並選擇 [連結至現有 GPO]。
      4. 選擇您想要連結的 GPO,並按一下 [確定]。
         
    5. 該指令碼會在團隊成員登入時執行。
      • 如果需要的話,可以建議或強制重新啟動團隊成員的裝置。

     

    使用 Intune 套用指令碼

    PowerShell 指令碼可以透過 Intune 以類似方式套用。詳情請閱讀 Microsoft 官方說明文件。

    請確認下列事項:

    • 僅針對 Windows 10 及 Windows 11 裝置
    • 只能在使用者情境中執行指令碼
    • 使用已登入的帳號密碼執行指令碼
    • 停用指令碼簽章檢查
    • 以 64 位元模式執行指令碼

    使用 macOS

    這些選項都能設定 com.microsoft.office 網域下的 OfficePrePopulatedThirdPartyCloudStorageProviders 項目。

    Shell 指令碼

    下列指令碼必須在使用者情境中執行。指令碼執行時如果有任何開啟中的 Microsoft 應用程式,該應用程式必須重新啟動。

    #!/bin/zsh
    office_settings=$(defaults read com.microsoft.office)
    if [[ ${office_settings} != *"domain com.microsoft.office does not exists"* ]] ;
    then
      echo "Office detected"
      if [[ ${office_settings} == *"TP_DROPBOX_PLUS"* ]] ;
      then
        echo "Dropbox entry is present. No action taken."
      else
        echo "Adding Dropbox storage account entry..."
        defaults write com.microsoft.office OfficePrePopulatedThirdPartyCloudStorageProviders -array '{CSPServiceID=TP_DROPBOX_PLUS; }'
        echo "Entry added."
      fi
      exit 0
    else
      echo "Office not installed."
      exit 1
    fi
    如要復原變更,請執行此 Shell 指令碼:
    #!/bin/zsh
    defaults write com.microsoft.office OfficePrePopulatedThirdPartyCloudStorageProviders -array '{}'

    Apple 裝置管理安裝

    1. 使用任何文字編輯器建立附檔名為 .mobileconfig 的檔案。
    2. 複製以下指令碼,並將 #UUID1# 和 #UUID2# 值替換為隨機產生的值:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-
    1.0.dtd">
    <plist version="1.0">
            <dict>
                    <key>PayloadContent</key>
                    <array>
                            <dict>
                                    <key>OfficePrePopulatedThirdPartyCloudStorageProviders</key>
                                    <array>
                                            <dict>
                                                    <key>CSPServiceID</key>
                                                    <string>TP_DROPBOX_PLUS</string>
                                            </dict>
                                    </array>
                                    <key>PayloadDisplayName</key>
                                    <string>Microsoft Office</string>
                                    <key>PayloadIdentifier</key>
                                    <string>com.microsoft.office.#UUID1#</string>
                                    <key>PayloadType</key>
                                    <string>com.microsoft.office</string>
                                    <key>PayloadUUID</key>
                                    <string>#UUID1#</string>
                                    <key>PayloadVersion</key>
                                    <integer>1</integer>
                            </dict>
                    </array>
                    <key>PayloadDisplayName</key>
                    <string>Add Dropbox Storage Account to O365</string>
                    <key>PayloadIdentifier</key>
                    <string>com.dropbox.o365connectedservices</string>
                    <key>PayloadOrganization</key>
                    <string>Dropbox, Inc.</string>
                    <key>PayloadRemovalDisallowed</key>
                    <false/>
                    <key>PayloadScope</key>
                    <string>System</string>
                    <key>PayloadType</key>
                    <string>Configuration</string>
                    <key>PayloadUUID</key>
                    <string>#UUID2#</string>
                    <key>PayloadVersion</key>
                    <integer>1</integer>
            </dict>
    </plist>
    1. 上傳檔案至 Apple 裝置管理軟體(如 JAMF 或 MobiControl)。
    2. 重新啟動 Office 應用程式之後,即可看到設定選項。

       

    使用 mcxToProfile 生成 .mobileconfig 檔案

    mcxToProfile 是一個簡單的指令列公用程式,用於建立「自定義設定」組態設定檔,無需 OS X Server 10.7 和 10.8 中的設定檔管理裝置管理服務。

    此指令列可從屬性清單檔案或直接從目錄服務節點(本機 MCX 或開放目錄)中擷取輸入內容。

    使用此方法的步驟如下:

    1. 使用文字編輯器建立副檔名為 plist 的新檔案。
    2. 複製下列 XML 檔案。
    
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" http://www.apple.com/DTDs/PropertyList-1.0.dtd>
    <plist version="1.0">
      <dict>
        <key>OfficePrePopulatedThirdPartyCloudStorageProviders</key>
        <array>
          <dict>
            <key>CSPServiceID</key>
            <string>TP_DROPBOX_PLUS</string>
          </dict>
        </array>
      </dict>
    </plist>
    1. 將 .plist 轉換成 .mobileconfig;此操作需使用 mcxToProfile 工具。
    2. 上傳檔案至 MDM 軟體(如 JAMF 或 MobiControl)。
    3. 重新啟動 Office 應用程式之後,即可看到設定選項。

    儲存空間帳戶驗證

    執行上述步驟之後,團隊中的每位使用者必須手動驗證 Dropbox,作為 Office 365 桌面應用程式中的位置。方法如下:

    1. 開啟任一 Microsoft Office 365 桌面應用程式。
    2. 按一下左側邊欄的 [開啟]。
    3. 在「其他位置」中,按一下 [Dropbox 工作團隊方案]。
    4. 按一下 [登入]。
    5. 登入您的 Dropbox 帳戶。
    6. 選擇您想要連結至 Office 365 的 Dropbox 帳戶。


    使用者可能需要重新啟動 Microsoft 365 應用程式,才會看到 Dropbox 被新增為位置。

    為 Microsoft Teams 開啟 Dropbox 應用程式

    在 Microsoft Teams 中新增 Dropbox 應用程式的方法

    如果您有連結任何預設關閉的應用程式,您需要使用 Teams 的應用程式設定原則,為工作團隊成員新增 Dropbox 應用程式。方法如下:

    1. 登入 Teams 系統管理中心,並前往 [Teams 應用程式] > [設定原則]。
    2. 選擇 [新增]。
    3. 提供原則的名稱和描述。
    4. 在 [已安裝的應用程式] 中,選擇 [新增應用程式]。
    5. 在 [新增已新增的應用程式] 面板中,搜尋「Dropbox」。
    6. 按一下 [Dropbox] 旁的 [選擇]。
    7. 選擇 [新增]。
    Add the Dropbox app in Microsoft Teams

    如何在 Microsoft Teams 中釘選 Dropbox 應用程式

    如要在 Microsoft Teams 中釘選 Dropbox 應用程式,請按照以下步驟操作:

    1. 登入 Teams 管理中心,並存取 [Teams 應用程式] > [設定規定]。
    2. 選擇 [新增]。
    3. 提供原則的名稱和描述。
      • 或者,開啟 [使用者釘選 ],允許使用者釘選應用程式並變更釘選應用程式的順序。
    4. 在 [釘選的應用程式] 底下,選取 [新增應用程式]。
    5. 在 [新增釘選的應用程式] 窗格中,搜尋「Dropbox」,然後選取 [新增]。

    如何新增 Dropbox 至所有 Microsoft Teams 頻道

    如要新增 Dropbox 至所有 Microsoft Teams 頻道,請按照以下步驟操作:

    1. 以管理員帳號密碼登入 dropbox.com。
    2. 按一下 [管理員主控台]。
    3. 在 [產品] 下方,按一下 [Dropbox] 左側的下拉式選單。
    4. 按一下 [設定]。
    5. 按一下 [整合] 索引標籤。
    6. 向下捲動至應用程式清單,並選擇「不在 App Center 中」篩選條件,以查看 Microsoft Teams 整合。
    7. 在 Microsoft Teams 應用程式右側按一下 ☑(更多選項)。
    8. 按一下 Microsoft Teams 版 Dropbox 應用程式右側的 [編輯偏好設定]。
    9. 按一下 [新增]。
    這篇文章對您有幫助嗎?

    請告訴我們這篇文章為何沒有幫助:

    謝謝您讓我們知道!

    感謝您的意見。

    Відповіді спільноти

    Footer-Help