Skip to content

Codepolice

  • ⤫

Run Dropbox As a Windows Service on Windows Server 

Posted by Judy Alvarez Posted on February 28, 2022March 1, 2022
0

I know there is a lot of post about this already but I ran into some issues and had to collect some info from various places so I thought I might as well share my experience with the world. The goal is to be able to run Dropbox (or any other application that doesn’t have built-in support for services) as a service in Windows. This means you do not have to log in to your computer to start Dropbox. It will start as soon as you turn on your computer and Windows has loaded.

  1. Download Windows Server Resource Kit 2003 and install it.
  2. You must of course have Dropbox and when it’s installed and running right click on it in the taskbar and choose preferences. Then uncheck “Start Dropbox on System Startup” and “Show Desktop Notification”. It should look like the image below.
  3. Quit Dropbox.
  4. Start cmd.exe and enter the following commands.// Make sure that your “srvany.exe” is in the correct // folder. Also make sure that you have sc.exe in some “path” // folder or run this command in the folder where sc.exe is. sc create Dropbox binPath= “C:Program FilesWindows Server 2003 Resource Kitsrvany.exe” DisplayName= “Dropbox Service” // This adds a reg key to your registry with the path to // Dropbox.exe. Make sure that your Dropbox.exe is at that location. reg ADD HKLMSYSTEMCurrentControlSetServicesDropboxParameters /v Application /d “C:UsersAdministratorAppDataRoamingDropboxbinDropbox.exe” // I dont know if this is needed but it doesn’t hurt. reg ADD HKLMSYSTEMCurrentControlSetServicesDropboxParameters /v AppDirectory /d “C:UsersAdministratorAppDataRoamingDropboxbin”Note 1! I got this error [SC] DeleteService FAILED 1072: when i executed the sc.exe the first time. I found this Stack Overflow thread that pointed out that you couldn’t have the Services Management windows open when doing this.Note 2! The other problem i had as i mention the comments was that the Windows SDK is installed to c:program files (x86) and not “c:program files” as all the examples i saw had. When i tried to start the service i gor an error saying “The specified file cannot be found” and that was because it couldn’t found “srvany.exe”. I thought it couldn’t find Dropbox.exe but that wasn’t the case.
  5. When this is done start the “Services” Management App” (run -> search services and start “Services”). Right click on the “Dropbox Service”. Choose “Automatic” in the “Startup type” dropdown. Then click the “Log On” tab and choose “This Account”. Enter your current accounts username and password. This is needed otherwise your computer wont be able to access Dropbox.exe if it’s in a users folder.

I think that was all the issues I had. My sources for this post are the following.

Categories: JavascriptTagged: asp .net core interview questions, asp net and angular, asp net angularjs, asp net application life cycle, asp net calendar, asp net core best practices, asp net core jwt authentication, asp net core performance, asp net core serilog, asp net core with angular, asp net datatable, asp net hosting free, asp net install, asp net mvc gridview, asp net mvc interview questions for 10 years experience, asp net mvc validation, asp net response redirect, asp net web application example, difference between asp net and net, e commerce asp net, exception handling in asp net, gridview events in asp net, image in asp net, learn asp net mvc, outsource asp net development, page life cycle in asp net, signalr asp net core, sqlconnection in asp net, view state in asp net, what is web api in asp net

Post navigation

Previous Previous post: New Relic and runAllManagedModulesForAllRequests flag in .net
Next Next post: Send E-Mail When a task in Task Scheduler Fails

Related Posts

  • TypeScript and JavaScript dominate on GitHub in 2025

    #​759 — October 31, 2025 Read on the Web JavaScript Weekly Directives and the Platform Boundary — First there was the “use strict” directive to opt in to strict mode in JavaScript, but now you’ll encounter use client, use server, React’s new use no memo, and more, and they’re not standard JS features at all.

    Posted by Posted on October 31, 2025
    0
  • The reality of porting Deno code to Node

    #​598 — October 28, 2025 Read on the Web Awesome Node: Over 500 Curated Packages, Resources and Links — It’s been more than four years since we linked to Sindre’s handy resource, but it continues to get updates and tweaks (and, if you want, you can contribute a submission too – though the bar is

    Posted by Posted on October 28, 2025
    0
  • Vitest 4.0 and Next.js 16

    #​758 — October 24, 2025 Read on the Web JavaScript Weekly Vitest 4.0 Released: The Vite-Native Testing Framework — The Vite-powered, Jest-compatible testing framework introduces visual regression testing, makes its ‘Browser Mode’ stable (for running tests in a browser directly), adds Playwright Traces support, and more. Still unsure? You can compare it with other test

    Posted by Posted on October 24, 2025
    0
  • Node.js 25.0 arrives

    #​597 — October 21, 2025 Read on the Web Node.js v25.0.0 (Current) Released — The latest cutting edge version of Node has arrived with Web Storage enabled by default, JSON.stringify perf improvements, a new –allow-net option in the permission model, built-in Uint8Array base64/hex conversion, and WebAssembly and JIT optimizations. As shown in the diagram above, this

    Posted by Posted on October 21, 2025
    0
  • A Bun-believable release that isn’t half-baked

    #​757 — October 17, 2025 Read on the Web JavaScript Weekly Bun 1.3: The Full-Stack JavaScript Runtime — Arriving a few hours after last week’s issue (natch!) Bun 1.3 remains the big news of the past week. Bun is a performance and DX-focused JavaScriptCore-powered runtime which, with v1.3, balances being a drop-in Node.js replacement with

    Posted by Posted on October 17, 2025
    0
  • Bringing Python apps into Node

    #​596 — October 14, 2025 Read on the Web 📂 A Modern Guide to Reading and Writing Files in Node — A comprehensive guide to various methods for working with files, from promise-based methods through to working with streams, processing files concurrently, using file handles, and memory-efficient techniques. Luciano Mammino A Way to Integrate Python ASGI with Node.js

    Posted by Posted on October 14, 2025
    0
Judy Alvarez

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Codepolice

  • Github
  • Atlassian
  • Flatlogic
  • Xero
  • Jetbrains
  • Figma
  • TypeScript and JavaScript dominate on GitHub in 2025
  • The reality of porting Deno code to Node
  • Vitest 4.0 and Next.js 16
  • Node.js 25.0 arrives
  • A Bun-believable release that isn’t half-baked
https://flatlogic.com/generator
COPYRIGHT © 2025 - Codepolice