Created On:  10 September 2012

Problem:

Customer is installing Fileshare as a service using FSSERVICE -i command.
Customer uses Fileshare Manager (FSMGR) to shut down Fileshare so that backups can be done.

Since FSMGR doesn't have a function to restart Fileshare, is there another command that can be used to do this?

Resolution:

The Fileshare service can be started and stopped using the NET START and NET STOP commands once it has been installed.

NET START "Micro Focus Fileshare Service"
NET STOP "Micro Focus Fileshare Service"

When you start Fileshare as a service it will write its fsscreen.lst file to its current directory which will be C:\Windows\System32 when started as a service.

You can change this by using the /wd command in the fs.cfg file or on the command line when installing fileshare as a service.

If you use the following command to install fileshare:

fsservice -i "Server1" /s server1 /wd c:\testfs /pf c:\testfs\password.fil

then it will install fileshare so when it is started it will use a server named server1, using Server1 as the name of the service and will change its current folder to c:\testfs and use the password file c:\testfs\password.fil.

When you name a fileshare service you would then use the name in NET START as follows:

NET START "Micro Focus Fileshare Service: Server1"

the fsscreen.lst file will then be written in c:\testfs and will include the operations that are run by fsmgr.