2011年10月18日 星期二

如何將Dropbox以服務型式啟動(免登入運行) Start Dropbox as a Windows Service

前置作業:安裝Dropbox, 取消開機時自動啟動 ( 一般型 與 服務型 不能同時運行。)

1. 安裝 Windows Server 2003 Resource Kit Tools,內含將Dropbox 服務化的程式
Download Details - Microsoft Download Center - Windows Server 2003 Resource Kit Tools
https://www.microsoft.com/download/en/details.aspx?displaylang=en&id=17657
2. 在命令提示字元下執行(安裝自訂新服務)

C:\Program Files (x86)\Windows Resource Kits\Tools>instsrv Dropbox "c:\Program Files (x86)\Windows Resource Kits\Tools\srvany.exe"

3. 執行 regedit.exe 登錄檔編輯程式:
  a. 尋找機碼 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dropbox
  b. 新增機碼 Parameters
  c. 新增字串值(type REG_SZ) Application
  d. 修改字串值Application之值為Dropbox.exe 執行檔之路徑

4. 至服務管理員, 在登入分頁中, 選擇帳號登入的方式執行,登入帳號為安裝Dropbox所用之帳號,並輸入其密碼,參考資料中,舊版Dropbox可以免帳號啟動,新版的Dropbox 似乎不行。

5. 啟動Dropbox 服務,以後Dropbox會在開機時,自動以服務型式啟動。

p.s. 另一種付費方案解:
Run any Application as a Windows Service | AlwaysUp | Run/Start your exe/program at boot as a Windows 2008/7/Vista/2003/XP Service | Free Trial
http://www.coretechnologies.com/products/AlwaysUp/

Dropbox 延伸應用:網頁服務器
Using Dropbox as an automatic and free Web Publishing solution | Bram.us
http://www.bram.us/2008/12/15/using-dropbox-as-a-free-web-publishing-solution/

Reference:
[1] Installing Dropbox as a service on Windows Server 2003, 2008 (x64)
http://blog.dreamfactory.se/2011/01/20/dropbox-as-a-service/
[2] Download Details - Microsoft Download Center - Windows Server 2003 Resource Kit Tools
https://www.microsoft.com/download/en/details.aspx?displaylang=en&id=17657
[3] TipsAndTricks/WindowsService - Dropbox Wiki
http://wiki.dropbox.com/TipsAndTricks/WindowsService
[4] How to run Dropbox as a Windows 7/2008/Vista/2003/XP Service | AlwaysUp | Start Dropbox at Boot - No need to login
http://www.coretechnologies.com/products/AlwaysUp/Apps/RunDropboxAsAService.html
[5] Dropbox On Windows Home Server (as a service) « Dropbox Forums
http://forums.dropbox.com/topic.php?id=2828&replies=11
[6] windows home server - How to configure Dropbox as a service - Super User
http://superuser.com/questions/41992/how-to-configure-dropbox-as-a-service

沒有留言: