如果您使用的是Windows,您知道它为OneDrive添加了一个单独且不同的快捷方式到文件资源管理器(File Explorer),您无法删除该快捷方式。如果将Dropbox(Dropbox)安装在Windows计算机或设备上,也会发生同样的情况。但是, Google Drive(Google Drive)不会发生这种情况,至少默认情况下不会。假设(Suppose)您经常使用Google Drive,并希望在您的 Windows PC 上安装其桌面应用程序。如果您还想将Google Drive添加到文件资源管理器(File Explorer)怎么办,两者都作为快速访问(Quick access)链接并作为导航窗格中的独特快捷方式?有关如何执行所有这些操作的说明,请阅读本指南:
(Introductory)将Google Drive(Google Drive)添加到文件资源管理器(File Explorer)或Windows 资源管理器的(Windows Explorer)介绍性说明
本教程已针对最新版本的 Google Drive 桌面应用程序进行了更新,称为“Google Drive for desktop”。这个新应用取代了旧的“谷歌备份和同步”(“Google Backup and Sync”)应用。虽然您现在可以下载和使用其中任何一个,但从 2021 年 10 月开始(starting with October 2021),只有新的“桌面版 Google 云端硬盘”(“Google Drive for desktop”)仍可用。
本指南的第一章适用于所有版本的Windows。这向您展示了如何将Google Drive添加到文件资源管理器的(File Explorer’s )快速访问(Quick access)(Quick access)、Windows 资源管理器的(Windows Explorer’s) 收藏夹(Favorites)以及作为两个文件管理器中的常规驱动器。
本教程的第二章向您展示了如何在Windows 10和Windows 11中将(Windows 11)Google Drive添加到文件资源管理器(File Explorer)(作为其导航面板中的单独条目)。但是,它不允许您将Google Drive添加到Windows 7 中的Windows Explorer。
如何安装Google Drive并将其添加到文件资源管理器(File Explorer)(或Windows 资源管理器(Windows Explorer))
要将 Google Drive 添加到快速访问(Quick access)并作为文件资源管理(File Explorer)器中的驱动器,您必须首先将其下载并安装在您的 Windows PC 或设备上。使用您喜欢的网络浏览器转到应用程序的下载页面(download page),然后单击或点击“下载并安装桌面版 Google 云端硬盘”。(“Download & install Google Drive for desktop.”)然后,按下“Download for Windows”按钮,如下所示。
下载桌面版 Google 云端硬盘
GoogleDriveSetup.exe安装(GoogleDriveSetup.exe)程序文件
当Windows(Windows)请求您的许可时批准安装。请注意,您需要使用管理员帐户(need to use an administrator account)来执行此操作。
批准安装桌面版Google 云端硬盘(Google Drive)
选择(Choose)是否要将Google 云端硬盘、Google 文档、表格(Google Drive, Google Docs, Sheets, )和幻灯片(Slides)的快捷方式添加到桌面。然后,单击或点击安装(Install)。
选择是否以及在何处添加桌面版Google 云端硬盘的快捷方式(Google Drive)
等待“桌面版 Google 云端硬盘”(“Google Drive for desktop”)安装。完成后,您可以关闭(Close)安装对话框。然后,单击或点击“登录 Google Drive”(“Sign in to Google Drive”)窗口中的“使用浏览器登录”(“Sign in with browser”)按钮。
已安装Google 云端硬盘(Google Drive),现在您需要登录您的Google帐户
上一个操作会启动您的默认网络浏览器并将您带到Google登录网页。在其上,输入您的Google 帐户(Google Account)电子邮件地址,然后按Next。
输入 Gmail 地址
现在,输入您的Google 帐户(Google Account)密码,然后再按一次下一步(Next)。
提供您的Gmail帐户的密码
注意:(NOTE: )如果您为您的 Google 帐户启用了两步验证,(2-Step verification for your Google Account)您还必须使用智能手机批准登录。
如果您正确输入了 Google 凭据,系统会要求您确认是否从Google下载了(Google)“桌面版 Google 云端硬盘”(“Google Drive for desktop”)应用程序。如果您已按照本教程中显示的步骤进行操作,那么您已经完成了,因此请单击或点击登录(Sign in)以确认。
确认您已从Google下载桌面版Google Drive
一旦您通过身份验证,Google会告诉您“您已登录 Google Drive”。(“You’ve signed into Google Drive.”)您现在可以关闭浏览器窗口并开始在 Windows PC 上使用“桌面版 Google Drive” 。(“Google Drive for desktop”)
您已登录 Google
打开文件资源管理器(File Explorer)(Open File Explorer)。您现在应该会在导航面板的快速访问(Quick access)部分(窗口左侧)中看到您的Google Drive ,以及在(Google Drive)“这台电脑”的(“This PC.”)“设备和驱动器”(“Device and drives”)部分中列出的常规驱动器。
(Google Drive)文件资源管理器中的(File Explorer)Google Drive在快速(Quick)访问中列出并作为常规驱动器
优秀的!您已成功将Google Drive添加到文件资源管理器(File Explorer)。
但是,如果您想将Google Drive添加到文件资源管理器(File Explorer)作为导航面板中的单独实体,就像OneDrive或Dropbox一样?为此,请阅读本教程的下一部分:
如何将Google Drive添加到File Explorer的侧边栏(就像OneDrive或Dropbox)
您已在 Windows PC 上安装了“桌面版 Google 云端硬盘”应用程序。(“Google Drive for desktop” )但是,要使其在文件资源管理器的(File Explorer's)导航面板(如OneDrive或Dropbox)中显示为不同的条目,您还需要做几件事:
使用网络浏览器访问此GitHub 网页(GitHub webpage)并下载Google Drive ZIP存档(按Code,然后选择Download Zip)。
下载Google Drive桌面集成文件
在您的Windows(Windows)计算机上找到ZIP文件并解压缩(extract)其内容。你应该得到这个:
将Google Drive添加到文件资源管理器所需的文件(File Explorer)
使用您喜欢的文本编辑器打开Google Drive.reg文件。(Google Drive.reg)例如,记事本(Notepad)就可以了。
在文本编辑器中打开Google Drive.reg
您应该会看到类似于下面的屏幕截图的内容。现在,只需打开记事本(Notepad)(或您使用的编辑器)即可。您可以将其最小化,但不要关闭它,因为在从文件资源管理器(File Explorer)收集一些附加信息后,您需要在其中进行一些更改。
Google Drive.reg文件的外观
接下来,您需要在 PC 上找到“桌面版 Google 云端硬盘”应用程序的确切路径。(“Google Drive for desktop” )为此,请打开文件资源管理器(File Explorer)并导航到“C:\Program Files\Google\Drive File Stream.”在里面,总是有一个带有数字名称的文件夹,例如49.0.11.0,这是安装在您的 PC 上的“桌面版 Google Drive”应用程序的版本号。(“Google Drive for desktop”)打开它。
查找桌面版Google 云端硬盘的安装位置(Google Drive)
将完整路径复制到文件夹。
将完整路径复制到桌面应用程序文件夹的Google Drive
返回记事本(Notepad)或您选择使用的文本编辑器。在您之前打开的Google Drive文件中,搜索并替换所有显示(Google Drive)"C:\\Program Files\\Google\\Drive File Stream\\49.0.9.0" “Google Drive for desktop ”的确切(完整)路径”应用程序安装文件夹。那是您之前在File Explorer中复制的那个。确保在文件夹路径结构中使用 \(双反斜杠)。
更新Google Drive.reg文件中的桌面版Google Drive路径(Google Drive)
接下来,将所有TargetFolderPath值更改为"G:\Google Drive.”请注意G:是我们的Google Drive使用的驱动器号。在您的情况下,它可能会有所不同,因此请务必在文件资源管理器(File Explorer)中检查它。此外,就像在上一步中一样,请小心使用 \ (double-反斜杠)而不是文件夹结构中的(单个反斜杠)。
更新Google Drive.reg中的(Google Drive.reg)Google Drive存储位置
完成替换TargetFolderPath值的每个实例后,保存Google Drive.reg文件并关闭文本编辑器。双击(Double-click)或双击Google Drive.reg文件以运行它。当您看到UAC提示让新信息添加到您的Windows 注册表(Windows Registry)时,请说“是”(Yes)。
让Windows在其注册表中添加新信息
当注册表编辑器( Editor)告诉您新键已添加到您的Windows 注册表(Windows Registry)(Windows Registry)时,请按OK。
新的Google Drive数据已添加到Windows 注册表中(Windows Registry)
现在,打开文件资源管理器(File Explorer)。您应该会看到Google Drive现在在其导航面板中列为一个单独的实体,就像您想要的那样。整洁(Neat),对吧?🙂
Google Drive现在在文件资源管理器的导航面板中显示为一个单独的实体(File Explorer)
就是这样!
注意:(NOTE: )如果您改变主意并且不再希望Google Drive在(Google Drive)文件资源管理(File Explorer)器中显示为单独的快捷方式,您所要做的就是运行您之前提取的Remove Google Drive.reg文件。
您知道将Google Drive添加到文件资源管理器(Explorer)的其他方法吗?
如您所见,将Google Drive添加到File Explorer相对容易,只要您可以将它放在快速访问(Quick access)部分并作为File Explorer中的常规驱动器。但是,如果您希望Google Drive在文件资源管理器的(File Explorer's)导航窗格中显示为一个独特的选项,就像OneDrive或Dropbox一样,事情会稍微复杂一些,但仍然可行。你(Did)成功了吗?您知道将Google Drive添加到文件资源管理器(File Explorer)的其他方法吗?在下面的评论中与我们分享,我们将尽快更新本教程。
How to add Google Drive to File Explorer -
If you’re uѕing Windows, you know that it addѕ a sepаrate and distinct shortcut for OneDrive to File Explorer, one that you can't remove. The same happens with Dropbox if you install it on your Windows computer or device. However, this doesn't happen with Google Drive, at least not by default. Suppose you use Google Drive regularly and want to install its desktop app on your Windows PC. What if you also want to add Google Drive to File Explorer, both as a Quick access link and as a distinct shortcut in the navigation pane? For instructions on how to do all that, read this guide:
Introductory notes on adding Google Drive to File Explorer or Windows Explorer
This tutorial has been updated for the latest version of Google Drive’s desktop app, called “Google Drive for desktop.” This new app replaces the old “Google Backup and Sync” app. Although you can download and use either of them right now, starting with October 2021, only the new “Google Drive for desktop” will remain available.
The first chapter of this guide works for all versions of Windows. This shows you how to add Google Drive to File Explorer’s Quick access, to Windows Explorer’s Favorites, and as a regular drive in both file managers.
The second chapter of the tutorial shows you how to add Google Drive to File Explorer (as a separate entry in its navigation panel) in Windows 10 and Windows 11. However, it does not let you add Google Drive to Windows Explorer in Windows 7.
How to install and add Google Drive to File Explorer (or Windows Explorer)
To add Google Drive to Quick access and as a drive in File Explorer, you must first download and install it on your Windows PC or device. Use your favorite web browser to go to the app's download page and click or tap on the “Download & install Google Drive for desktop.” Then, press the “Download for Windows” button, as seen below.
Download Google Drive for desktop
The GoogleDriveSetup.exe installer file
Approve the installation when Windows asks your permission. Note that you need to use an administrator account to do that.
Approving the installation of Google Drive for desktop
Choose whether you want to add shortcuts for Google Drive, Google Docs, Sheets, and Slides to your desktop. Then, click or tap Install.
Choosing whether and where to add shortcuts to Google Drive for desktop
Wait for “Google Drive for desktop” to install. When done, you can Close the installation dialog. Then, click or tap on the “Sign in with browser” button from the “Sign in to Google Drive” window.
Google Drive was installed and now you need to sign in to your Google account
The previous action launches your default web browser and takes you to the Google sign-in webpage. On it, enter your Google Account email address and press Next.
Entering the Gmail address
Now, type in the password of your Google Account, and then press Next once more.
Providing the password of your Gmail account
NOTE: If you enabled 2-Step verification for your Google Account, you must also approve the sign-in using your smartphone.
If you entered your Google credentials correctly, you are now asked to confirm that you downloaded the “Google Drive for desktop” app from Google. If you’ve followed the steps shown in this tutorial, you did, so click or tap on Sign in to confirm.
Confirming that you've downloaded Google Drive for desktop from Google
Once you are authenticated, Google tells you that “You’ve signed into Google Drive.” You can now close the browser window and start using “Google Drive for desktop” on your Windows PC.
You've signed in to Google
Open File Explorer. You should now see your Google Drive listed both in the Quick access section of the navigation panel (left side of the window), as well as a regular drive listed in the “Device and drives” section of “This PC.”
Google Drive in File Explorer listed in Quick access and as a regular drive
Excellent! You've successfully added Google Drive to File Explorer.
But what if you want to add Google Drive to File Explorer as a separate entity in the navigation panel, just like OneDrive or Dropbox? For that, read the next part of this tutorial:
How to add Google Drive to File Explorer's sidebar (just like OneDrive or Dropbox)
You've installed the “Google Drive for desktop” app on your Windows PC. However, to make it show up as a distinct entry in File Explorer's navigation panel, like OneDrive or Dropbox, there are a couple more things you have to do:
Use a web browser to go to this GitHub webpage and download the Google Drive ZIP archive (press Code, then select Download Zip).
Downloading Google Drive for desktop integration files
Locate the ZIP file on your Windows computer and extract its contents. You should get this:
The files you need for adding Google Drive to File Explorer
Open the Google Drive.reg file using your favorite text editor. Notepad will do just fine, for example.
Opening Google Drive.reg in a text editor
You should see something like the screenshot below. For now, just leave Notepad (or the editor you used) open. You can minimize it, but don’t close it, as you will need to make a couple of changes inside it after you gather some additional information from File Explorer.
What the Google Drive.reg file looks like
Next, you’ll need to find the exact path to the “Google Drive for desktop” app on your PC. To do that, open File Explorer and navigate to “C:\Program Files\Google\Drive File Stream.” Inside, there’s always a folder bearing a numerical name such as 49.0.11.0, which is the version number of the “Google Drive for desktop” app installed on your PC. Open it.
Finding where Google Drive for desktop was installed on your PC
Copy the full path to the folder.
Copying the full path to the Google Drive for desktop app folder
Go back to Notepad or the text editor you chose to use. Inside the Google Drive file you’ve opened earlier, search and replace all the text that says "C:\\Program Files\\Google\\Drive File Stream\\49.0.9.0" with the exact (full) path to your “Google Drive for desktop” app installation folder. That’s the one you copied earlier in File Explorer. Make sure you use \\ (double-backslash) in the folder path structure.
Updating the Google Drive for desktop path in the Google Drive.reg file
Next, change all the TargetFolderPath values to "G:\Google Drive.” Note that G: is the drive letter used by our Google Drive. In your case, it might be different, so make sure you check it in File Explorer. Also, just like in the previous step, be careful to use \\ (double-backslash) instead of \ (single backslash) in the folder structure.
Updating the Google Drive storing location in Google Drive.reg
When you finish replacing every instance of TargetFolderPath values, save the Google Drive.reg file and close your text editor. Double-click or double-tap on the Google Drive.reg file to run it. Say Yes when you see the UAC prompt to let the new information be added to your Windows Registry.
Let Windows add the new information in its Registry
Press OK when the Registry Editor tells you that the new keys have been added to your Windows Registry.
The new Google Drive data has been added to the Windows Registry
Now, open File Explorer. You should see that Google Drive is now listed as a separate entity in its navigation panel, just like you wanted. Neat, right? 🙂
Google Drive is now shown as a separate entity in the navigation panel from File Explorer
That's it!
NOTE: If you change your mind and no longer want Google Drive to show up as a separate shortcut in File Explorer, all you have to do is run the Remove Google Drive.reg file that you extracted earlier.
Do you know other ways to add Google Drive to File Explorer?
As you've seen, it's relatively easy to add Google Drive to File Explorer, as long as you're OK with having it in the Quick access section and as a regular drive in File Explorer. But if you want Google Drive to show up as a distinct option in File Explorer's navigation pane, just like OneDrive or Dropbox, things are a bit more complicated but doable nonetheless. Did you manage to do it? Do you know other ways to add Google Drive to File Explorer? Share them with us in the comments below, and we'll update this tutorial as soon as possible.