×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Access to Printer through a Service
2

Access to Printer through a Service

Access to Printer through a Service

(OP)
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??

RE: Access to Printer through a Service

Services generally run under the security context of the local machine and therefore cannot access anything across a netowrk.

As, a beginning yo need to get the service to run under a domain account: In Start>Control Panel>Services open the startup properties for the service.  Instead of logging on as a system account log on under a domain account that can access the printer.

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.

Jeff
masterracker@hotmail.com

Of all the things I've lost in life, I miss my mind the most ...

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close