Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access to Printer through a Service 2

Status
Not open for further replies.

JaneMosk

Programmer
Jul 2, 1999
7
US
We have just converted an application running on an NT server to a service. The application sends a report to a printer. When running as an application with a user logged in, the application found the printers defined for the user. Now that it is running as a service the application can not find a printer. Is there a way to define a printer the service can find without a user being logged on??
 
Services generally run under the security context of the local machine and therefore cannot access anything across a netowrk.<br><br>As, a beginning yo need to get the service to run under a domain account: In Start&gt;Control Panel&gt;Services open the startup properties for the service.&nbsp;&nbsp;Instead of logging on as a system account log on under a domain account that can access the printer.<br><br>I don't know if this will give you access to the user profile (and the printer defined in it) or not, but it should get you going in the right direction. <p> Jeff<br><a href=mailto: masterracker@hotmail.com> masterracker@hotmail.com</a><br><a href= > </a><br> Of all the things I've lost in life, I miss my mind the most ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top