Using SC.exe for creating the service

Ha! Does work! Cool! Thanks guys.. The Thing with the user did the trick, as the service is "per se" startet on the machine-account, which has no settings for the pdf-creator Auto-Save

So let me put this together:

First part from Don_sati:


sc create "PDFCreator" start= auto binpath= "c:\\Program Files\\PDFCreator\\srvany.exe"


 

You can even add a description by prompting

 


sc description "PDFCreator" "This service allows offline priniting of PDFs"


Then add the following key to your registry. You can do that easily by copy & pasting the following text into a *.txt-file and change the file ext to .reg. Double click on it - add to registry. Finished:


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\PDFCreator\\Parameters]
"Application"="C:\\\\Program Files\\\\PDFCreator\\\\PDFCreator.exe"

 


Done. Now you have to configure the service to run as an other user.

Open \\Management\\Services\\PDFCreator. Go to the second register(Login) and change the "Login as" from the local system account to another account. The important thing is, that the account has to have write access to the Autosave-Folder.

However, I am not sure that you have to execute PDFCreator as this user for setting up the autosave etc as zetarhopike states.

In my opinion the settings for PDFCreator are stored in the reg-key


[HKEY_LOCAL_MACHINE\\SOFTWARE\\PDFCreator\\Program]


and in my case it worked also with a user which has never started PDFCreator and made any settings.

But keep in mind that I'm talking of Windows SBS 2003R2 x86 and his guidelines are for Server 2008 x64.