Howto: Start OpenOffice Headless as a Windows Service

Skip to first unread message


Jul 31, 2009, 3:26:35 AM7/31/09
to OpenMeetings User

Because there are so many wrong and not working Tutorials out there, I
decided to post my working way here!
I only tested this with Win 2003 Server R2 and OpenOffice 3.1!!!

Follow these steps:

1.) Install Windows Server 2003 Resource Kit Tools
2.) Create a new Service (name: OpenOfficeService; Paths: Path to
Resource Kits Tools):
use cmd: Command Prompt>"C:\Program Files\Windows Resource Kits\Tools
\Instsrv.exe" OpenOfficeservice "C:\Program Files\Windows Resource Kits

3.) Open registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet
\Services\OpenOfficeService and add a Subkey "Parameters"
4.) Add to Subkey "Parameters" a new String Value "Application" with
the value "C:\Program Files\ 3\program\soffice.exe -
headless -nofirststartwizard -

Regtistry shoud look something like:

---Application = "C:\Program....."

6.) Run services.msc and start Service (check if startup type is set
to automatic)
5.) Check if OpenOffice is listening: Command Prompt> netstat -anp tcp
(should listen on port 8100)

Additional Notes:

- You have to type the quotation marks ("..") in step 2.) !!!!! In the
following stepts they ("..") just mark values!
- Customize your Paths, for shure....

This should work! greets flo


Jul 31, 2009, 8:44:25 AM7/31/09
to OpenMeetings User
@ 4.) You have to type the accept="....." quotation marks too!!! :-)

greets flo

Mason Breed

Jul 31, 2009, 10:45:05 AM7/31/09
I'm fairly sure that I've been able to load larger PDF's in the past but
currently trying to load a PDF with > 6 pages results in the message
that the file has been uploaded, but then the conversion never completes.

A pdf of 6 or less pages uploads and converts almost instantly with no

manually running pdf2swf on the PDF's generates the SWF.

The log shows this:
<<shows the file correctly being uploaded to upload temp, then: >> 1941457 280
org.openmeetings.servlet.outputhandler.UploadHandler [http-5080-9] -
canBeConverted: false 1941459 68
[http-5080-9] - fullProcessing: false 1941462 38
[http-5080-9] - process: generateBatchThumb

I'm running the latest red5 bundle.

Anyone else hit this issue?
Any ideas of something I could check?


Dec 9, 2011, 1:04:55 PM12/9/11
Hi Chaossepp,

Thank you for your tutorial.
Please permet me make an indication.
It is write:

"C:\Program Files\Windows Resource Kits\Tools
\Instsrv.exe" OpenOfficeservice "C:\Program Files\Windows Resource Kits

...and so no works for me, but so yes:

C:\Program Files\Windows Resource Kits\Tools
\Instsrv.exe" OpenOfficeservice "C:\Program Files\Windows Resource Kits

Thank you again.

Reply all
Reply to author
0 new messages