Products | About Us

Run Program with Current User

Hallo,

first sorry for my bad english.


1.) I create an outputfile.(PCL)
2.) I call my application with "Run Progream" to work.

Normaly my Application will get the Registry entries
from HKEY_CURRENT_USER.
Starting the Application from Print Distributor the
registry will be taken from HKEY_USERS/.defaults.

What can i do to use HKEY_CURRENT_USER.

Thanks

Jörg

Jörg
29th May 2008

Jörg,

This is controlled by the account the Print Distributor service is running under. You can change this in Start->Control Panel->Administrative Tools->Services, double click on the Print Distributor entry and go to the login tab.

The account you change this to must have local admin rights.

Tony Edgecombe
29th May 2008

Tony,

if i do that, the next Problem comes up.
I have no chance for an "conversation between Service and Desktop".
But this is what i need.

Jörg
29th May 2008

If you need to interact with the desktop then the only option is to run under the localsystem account.

Tony Edgecombe
29th May 2008

Hi,

you told me that if we need interaction with local desktop we have to use the option "run under local system account".

Our Problem is, that the programm we have to start after redirecting printer output is converting output to pdf and than call (our) archiving-software.
For archiving we need definitly the current-user environment.

So that what we need is a possibility to start programms in the current user environment.

We testet your software and it will fit completely to our solution/needs. The only (and last gap) is the described functionality.
Do you see any possibility to add this functionality to your software?
Realy this would be the reason to order!

with friendly regards

Jörg
30th May 2008

Jörg,

We aren't planning to change the way this works in Print Distributor.

It is possible to pass the username through to your program in the Run Program action, just use the ?UN? field if this helps.

Tony Edgecombe
30th May 2008

Feed