{"id":302,"date":"2013-03-05T12:16:04","date_gmt":"2013-03-05T04:16:04","guid":{"rendered":"http:\/\/www.lanchbury.id.au\/?p=302"},"modified":"2013-03-31T12:25:02","modified_gmt":"2013-03-31T04:25:02","slug":"dropbox-as-a-service","status":"publish","type":"post","link":"https:\/\/www.lanchbury.au\/?p=302","title":{"rendered":"Dropbox As A Service"},"content":{"rendered":"<p>Dropbox, what a great service. Mobile support, multiple OS support (Linux, Windows, Mac), unlimited previous versions, LAN sync to save internet bandwidth. Pretty much everything, but what if I&#8217;ve got a server that I want to leave logged in, or can&#8217;t. Well Dropbox you&#8217;ve let me down in a big area now, or have you?<\/p>\n<p>I was researching the net for a solution to make Dropbox top run as a service and I found a solution it was just broken up at a couple of places, so I&#8217;ve decided to put the answer in one location, and put my system administrator stamp of approval that this process is save to do on windows server 2003 &amp; 2008 and there is a good change 2012 too.<\/p>\n<p>So here is what to do to run Dropbox as a service.<\/p>\n<p>First you will need to install a Microsoft resource kit which is available from the below link. It does state that it&#8217;s for Server 2003 and some of the resource kit is incompatible with 2008 but installing it into Program Files isn&#8217;t going to upset your server and this process we are going to use does work.<\/p>\n<p>http:\/\/www.microsoft.com\/downloads\/details.aspx?FamilyID=9D467A69-57FF-4AE7-96EE-B18C4790CFFD&#038;displaylang=en<\/p>\n<p>The below link is where I received the below part of this guide. I&#8217;ll give them the credit, I just felt that I could reword it to make it easier to follow.<br \/>\nhttp:\/\/blog.dreamfactory.se\/2011\/01\/20\/dropbox-as-a-service\/<br \/>\nI wanted to install a backup solution, and made a go for using the Dropbox service<\/p>\n<p>1. Install Dropbox, if not installed previously and connect it to your Dropbox account and get the client working as you want with the folders you wish you to synchronize.<br \/>\n2. Go into \/ or while your in preferences and uncheck \u201cShow desktop notifications\u201d and \u201cStart Dropbox on system startup\u201d<br \/>\n3. Right click the DropBox icon in the bottom right next to the clock and select Exit. It is important to make sure to program is closed.<br \/>\n4. Press the Start button and in the search field type &#8220;cmd&#8221;. At the top of the start menu, right click command prompt and click Run As Administrator.<br \/>\n5. Now type the below into the black box.<br \/>\n<code>CD C:\\Program Files (x86)\\Windows Resource Kits<br \/>\ninstsrv Dropbox \"c:\\Program Files (x86)\\Windows Resource Kits\\Tools\\srvany.exe\"<\/code><br \/>\nYou should receive a &#8220;The service was successfuly added&#8221;<\/p>\n<p>Make sure that you go into the Control Panel and use<br \/>\nthe Services applet to change the Account Name and<br \/>\nPassword that this newly installed service will use<br \/>\nfor its Security Context.<\/p>\n<p>Next is to change the user for witch the newly added service \u201cDropbox\u201d runs under. Change this to Administrator.<br \/>\n5. Choose properties on Dropbox service.<br \/>\n6. Click on tab \u201cLog On\u201d<br \/>\n7. Click \u201cThis account\u201d, and select Admimistrator. Set appropriate password.<br \/>\n8. Click Apply and OK<\/p>\n<p>If this is the first time you have done this procedure for the administrator user, you will get an notification saying that the \u201cAdministrator user has been granted log on as service rights\u201d<\/p>\n<p>Next is to setup some registry settings for the service<br \/>\n9. Start &gt; Run &gt; regedit<br \/>\n10. Navigate to HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Dropbox<br \/>\n11. Create a new key \u201cParameters\u201d<br \/>\n12. Add a new string value \u201cApplication\u201d, (type REG_SZ). Set the value to the path to the dropbox.exe binary. Find the location by right clicking on the Dropbox icon on the desktop. Simply copy the path from there.<br \/>\n13. Close Registry Editor<br \/>\n14. Go back to Services, and start the Dropbox service<\/p>\n<p>Now everything should be in place and work correctly.<\/p>\n<p>Addition: It works fine to stop the Dropbox service, then start Dropbox and make changes in preferences etc, save changes and exit Dropbox. Then you can start Dropbox service again without problems. Work very neat actually. Running now on Windows Server 2003 and Windows Server 2008 64-bit. On Windows Server 2008 you can just copy instsrv.exe and srvany.exe to a folder under Program Files and create the Dropbox service from there.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dropbox, what a great service. Mobile support, multiple OS support (Linux, Windows, Mac), unlimited previous versions, LAN sync to save internet bandwidth. Pretty much everything, but what if I&#8217;ve got a server that I want to leave logged in, or can&#8217;t. Well Dropbox you&#8217;ve let me down in a big area now, or have you? &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"https:\/\/www.lanchbury.au\/?p=302\">Continue reading<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[12],"tags":[],"class_list":["post-302","post","type-post","status-publish","format-standard","hentry","category-how-to","item-wrap"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7tC7P-4S","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=\/wp\/v2\/posts\/302","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=302"}],"version-history":[{"count":8,"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=\/wp\/v2\/posts\/302\/revisions"}],"predecessor-version":[{"id":329,"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=\/wp\/v2\/posts\/302\/revisions\/329"}],"wp:attachment":[{"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=302"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=302"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lanchbury.au\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}