Skip to end of metadata
Go to start of metadata

Once the document preview is tested and verified to run properly, it will be necessary to make the Openoffice as a windows service. These instructions are tested on Windows 7 64bit, Windows 2003 Server: 

  1. Create a folder such as C:\utils and copy the attached file srvany.exe to it. This a file extracted from Windows Server 2003 Resource Kit.

     

  2. Open a command prompt with administrator privileges. Run the following command.

    C:\Windows\system32>sc create "ooservice" binPath= "\"C:\Utils\srvany.exe\"" DisplayName= "OpenOffice Server" start= auto
    [SC] CreateService SUCCESS
  3. Now open the registry editor(Go to Run and give regedit).  Navigate to the key HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\ooservice. 
     

  4. Create a new key named "Parameters". 
     

  5. For the new key "Parameters", create a string value named "Application" with following value.

    "C:\Program Files (x86)\OpenOffice 4\program\soffice.exe" -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard

    Note: Update path to open office as necessary.
     

  6. Finally your registry setting should like this:
     


  7. Start the service "OpenOffice Server" from the control panel. Go to Administrative Tools | Services and then click on Open Office Server to start.


  8. Check if the open office service is started and running fine.

    C:\Windows\system32>netstat -nao|findstr -c":8100"
      TCP    127.0.0.1:8100         0.0.0.0:0              LISTENING       6016

 

If FileCloud service is set to run with a different account (needed for accessing UNC Paths), then make sure OO service is also set to run with the same account in Windows Services .

  • No labels