We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

Kiadose's avatar
Kiadose
Collaborator | Level 8
6 years ago

SIlent Removal of Dropbox

Hello, I was looking for a way to silently remove dropbox. I need to do this for a company. I am trying to use DropboxUninstaller.exe /s in SCCM but it's not working. It pops up a box asking if you want to uninstall. I tried looking through the forms but it seems this question has been totally ignored by Dropbox every time it is asked. They really don't like to support anything that would be useful admin wise. In fact pretty much everything I look for on here goes ignored. I am sure this will too but worth a shot. Maybe years later they will have figured out how to click the reply button. For reference, this was posted in 2015 and has been ignored by Dropbox staff since https://www.dropboxforum.com/t5/Installation-and-desktop-app/Silent-Uninstall-of-Dropbox-3-8-5/td-p/20427 Idk how they get customers when their support does not exist. I find nothing but ignored posts whenever I search for anything here.
  • Here is a link to the script as Jay suggested uploaded to my TechNet account. If anyone wants to use this just save it as a batch (.bat) file and it can be silently run in SCCM or anything like it. If you want to run it outside of SCCM you will need to add admin rights to the script or it might not work. The script is notated with REM as to what it is doing. I give no guarentees with this script but it removed it from my users systems with no problem.

    https://gallery.technet.microsoft.com/Dropbox-Removal-via-SCCM-063fdd08#content

    Hope this helps if it does click the like button.

    If you are wondering how I did this so you may apply the same idea to other things in the future I used Revo Uninstaller, ran that for Dropbox where it launched the uninstall I just cancelled then had it scan the remaining registry and folder entries and exported that. I then wrote command for every entry left over in order to achive what you see in that link but first starting out by killing the dropbox process in Task Manager so the folders wouldn't get locked down by users using it and finished it by writing in something to remove desktop icons and start menu pins. 

  • Jay's avatar
    Jay
    Icon for Dropbox Staff rankDropbox Staff
    Hi again, I don’t feel there’s a need to repeat your previous statement that no one replies to comments, especially since the threads you mentioned are 3 years old and out of date, and that I immediately replied to your other post yesterday.
     
    Regarding your query, I’m not aware of any silent uninstall option, so I’ll forward the suggestion to our dev team for their consideration in future.
    • Kiadose's avatar
      Kiadose
      Collaborator | Level 8

      I only repeat myself becuase 5/5 searches I have done have yielded year old questions with zero response or resolution. That is a 100% failure to me. Obviously you've gotten better at responding but it is frustrating. 3 of the issues I solved myself and I think I might have something for this so I am trying to improve where ever I find something I just want to stop hitting dead ends with everything that has to do with Dropbox. 

      Anyway here is a batch file I am playing with. It will look at every users app folder and run the unintsall if the dropbox folder is found it assumes a standard install of course. I will post something back if I get this working. Since it is batch running in SCCM it should be able to be made silent too so it might solve an unanswered question at least.

      Batch - Loop through folders and run command

      @echo off
          setlocal enableextensions
      
          for /F "tokens=2,*" %%a in ('reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" /v ProfileImagePath /s ^| find "REG_EXPAND_SZ" ^| findstr /v /i "\\windows\\ \\system32\\"') do (
              call :doUninstall "%%b"
          )
      
          endlocal
          exit /b
      
      :doUninstall
          set "_uninstaller=%~1\AppData\Roaming\Dropbox\bin\DropboxUninstaller.exe"
          if not exist "%_uninstaller%" goto :EOF
          start "" /wait "%_uninstaller%" /S
          goto :EOF
      • Kiadose's avatar
        Kiadose
        Collaborator | Level 8
        I came up with a solution. I wrote a 588 line batch file but when I try to upload it I get an unknown error has occurred. Jay can I send it to you and have you upload it here?

About Apps and Installations

Have a question about a Dropbox app or installation? Reach out to the Dropbox Community and get solutions, help, and advice from members.

Need more support

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!