Foldershare as a service

by chris 2/28/2008 11:03:00 AM

I have been using FolderShare for several years now and I am amazed at how many other people use it also.  A while ago I decided to run it on my home server but didn't want to be logged in all the time for FolderShare to continue to run.  Enter SrvAny.  A little testing and I had FolderShare working as a service.  This has been my configuration for over a year without any problems.  Recently I have helped others get their servers configured and I decided to post the steps for all to use.  Below are the steps you need to use to get Foldershare working as a service:

NOTE 1:  Be sure that you have already configured Foldershare and that data is being synchronized before proceeding.
NOTE 2:  Be sure to shutdown Foldershare before performing these steps.

  1. Download instsrv.exe and srvany.exe 
  2. Copy instsrv.exe to c:\program files\foldershare
  3. Copy srvany.exe to c:\program files\foldershare
  4. execute "c:\program files\foldershare\instsrv.exe" FolderShare "c:\program files\foldershare\srvany.exe"
  5. execute c:\reg ADD HKLM\SYSTEM\CurrentControlSet\Services\FolderShare\Parameters /v Application /d "c:\program files\foldershare\foldershare.exe"
  6. execute c:\reg ADD HKLM\SYSTEM\CurrentControlSet\Services\FolderShare\Parameters /v AppDirectory /d "c:\program files\foldershare"
  7. execute c:\reg DELETE HKCU\Software\Microsoft\Windows\CurrentVersion\Run /v Foldershare /f
  8. execute c:\net start Foldershare

More Information:  http://support.microsoft.com/kb/137890 

A couple of things worth mentioning.  First, you can't run a Windows Service with Interactive Desktop support if you want that service to access the internet; Windows won't let this happen.  So this means you should never click the service properties checkbox to make Foldershare interactive with the desktop.  Second, because you are running Foldershare as a service you will receive an error during your login indicating that Foldershare is already running. Ignore this error and things will continue to work great.  If you try and remove the registry entry that causes Foldershare to launch during your login process the service will re-add the entry the next time it restarts, so don't even bother removing the registry.  I have tested this with Windows Server 2003 and Windows Home Server without any trouble.

instsrv.exe (31.50 kb)   srvany.exe (8.00 kb)

kick it on DotNetKicks.com

Comments

Add comment


(Will show your Gravatar icon)  

  Country flag

biuquote
Loading



Powered by BlogEngine.NET Theme by Mads Kristensen Hosted by 1and1 Hosting Sign in
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way. © 2008 Chris Blankenship

Welcome to my blog

Welcome to my site

Villainy wears many masks,
none of which so dangerous as virtue…



Subscribe to comments feed Recent comments exp/col

View Chris Blankenship's profile on LinkedIn   DSCODUC on Technorati

check out my neighbors in meatspace  

Stop Spam Harvesters, Join Project Honey Pot   This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License