Command Line question for srvany.exe

Take a look at the command line shared on the following page (
http://www.jrdata.se/2011/01/20/dropbox-as-a-service/)

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

Open in new window


The Dropbox reference is throwing me. It's a reference to the Dropbox executable, correct? If so, dropbox.exe needs to be a PATH variable. Correct?
jdanaAsked:
Who is Participating?
 
zalazarCommented:
The Dropbox reference is just the name of the service you create with "instsrv".
You can just give it any name you like.
0
 
NVITCommented:
In addition to zalazar's comment, further down the page it says: 12. Add a new string value “Application”, (type REG_SZ). Set the value to the path to the dropbox.exe binary so you can specify the path.
0
 
zalazarCommented:
Indeed. After that is done you need to start the registry editor via "regedit.exe"
And create a new registry key called:
HKLM\SYSTEM\CurrentControlSet\Services\Dropbox\Parameters

Open in new window

Within this key you have to add a REG_SZ value called: Application
The data of this Application value should be the path to the Dropbox executable.

Within the same key also create another REG_SZ value called: AppDirectory
The data of this AppDirectory value should be the path to the Dropbox installation directory.

After that you can go to the services management mmc via:
Start |Run... |services.msc
Go to the Dropbox service
Change the "Log on As" to the correct username, e.g. Administrator
Start the service
0
 
jdanaAuthor Commented:
Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.