Disable Dropbox and Google Drive


  1. Posts : 1,443
    Windows 10
       #1

    Disable Dropbox and Google Drive


    I have two users on my laptop, they are both me, one when I'm home, my laptop is connected to a 22" monitor and I use it like a desktop computer. My other user is when I travel, so that has very few apps on the desktop and in the taskbar. When I'm on wifi in a hotel I don't want my Dropbox or Google Drive to sync, I know I can turn them off manually, but I 'd like to have them off when I or my wife logs in. Is that possible?
      My Computer


  2. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
       #2

    Maybe run a Powershell command at login that queries the Ethernet connection and if not active kills the Dropbox and Google services and/or running processes. I don't know what the Powershell command to do this is but I'm sure someone here will.

    It could be called out of: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run

    Edit: Looks like this might work:

    Code:
    PS C:\Users\ztruk> Get-NetAdapter -Name Ethernet | Format-List -Property "MediaConnectionState"
    
    MediaConnectionState : Connected
    If the response is not Connected then the Ethernet cable is unplugged so kill Dropbox and Google.
    Last edited by Ztruker; 06 Nov 2018 at 21:34.
      My Computers


  3. Posts : 1,443
    Windows 10
    Thread Starter
       #3

    Your code worked, sort of, it worked with an error message:
    Code:
    PS C:\Users\rboppy> Get-NetAdapter -Name Ethernet | Format-List -Property "MediaConnectionState"
    
    MediaConnectionState : Disconnected
    
    MediaConnectionState : The term 'MediaConnectionState' is not recognized as the name of a cmdlet, function, scriptfile, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correctand try again.At line:3 char:1+ MediaConnectionState : Connected+ ~~~~~~~~~~~~~~~~~~~~    + CategoryInfo          : ObjectNotFound: (MediaConnectionState:String) [], CommandNotFoundException
    But not being adept at Powershell I don't know how to "kill" Dropbox and Google Drive.
      My Computer


  4. Posts : 1,366
    Windows 10 Pro x64
       #4

    Your setup sounds unnecessarily complicated. Why not just stop them from running at boot, but put shortcuts for each on the desktop for when you need them?

    Or, just let them run and simplify your setup with just one user. Dropbox files are encrypted.
    How Dropbox keeps your files secure – Dropbox Help
      My Computer


  5. Posts : 1,443
    Windows 10
    Thread Starter
       #5

    I like that idea! Google Drive has a setting that allows not starting on startup, I can the run the googledrivesync.exe to get it up and running.

    I can disable Dropbox from the Taskmanager-Startup tab, but don't see a way to get it running again without restarting the computer, which I guess is no big deal.
      My Computer


  6. Posts : 347
    Windows 10 Home Version 21H1 OS Build 19045.2130
       #6

    rboppy said:
    I have two users on my laptop, they are both me, one when I'm home, my laptop is connected to a 22" monitor and I use it like a desktop computer. My other user is when I travel, so that has very few apps on the desktop and in the taskbar. When I'm on wifi in a hotel I don't want my Dropbox or Google Drive to sync, I know I can turn them off manually, but I 'd like to have them off when I or my wife logs in. Is that possible?
    This may help, possibly.

    https://docs.microsoft.com/en-us/sys...loads/autoruns

    Autoruns lets you disable apps, services etc. which run at startup, and you can then run them when you need them.

    Disable Dropbox and Google Drive-autoruns.jpg
    Attached Thumbnails Attached Thumbnails Disable Dropbox and Google Drive-image.png  
      My Computer


  7. Posts : 1,443
    Windows 10
    Thread Starter
       #7

    Thanks Eddie Doc, exactly what I need.
      My Computer


  8. Posts : 347
    Windows 10 Home Version 21H1 OS Build 19045.2130
       #8

    rboppy said:
    Thanks Eddie Doc, exactly what I need.
    Have you used it yet?
      My Computer


  9. Posts : 1,443
    Windows 10
    Thread Starter
       #9

    Oh yeah, it's found items in the registry that I deleted a long time ago (...file not found). Need to run as administrator to delete items.
      My Computer


  10. Posts : 347
    Windows 10 Home Version 21H1 OS Build 19045.2130
       #10

    rboppy said:
    Oh yeah, it's found items in the registry that I deleted a long time ago (...file not found). Need to run as administrator to delete items.
    I've found that when I install new software, it often sets itself to run on startup - not only that, but it sets other components to run at startup also, so it's worth checking all categories in autoruns and disabling those you don't need to run automatically.
    Let us know how it works for Drive and Dropbox.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 10:38.
Find Us




Windows 10 Forums