Print to printers in another domain

This tip was submitted to the SearchWin2000.com tip exchange by member James Robertson. Please let other users know how useful it is by rating it below.

Have you ever needed to let a customer with a computer and user account in another domain print to your printers? This tip explains how.

Every printer on a Windows NT or Active Directory domain has some security placed on it. Even the special "Everyone" group has some security, because it is only for the domain on which it exists. When you have users who come onto your premises and need to print, they need a way to authenticate to your print server with a domain account. This is easily accomplished by performing the following steps:

  1. Create a new user in your domain. Something like "printer." Make it a member of the domain level "guests" group and give it a simple password like "12345678" that never expires. Be sure to remove the user from any other groups. You only want this account to be a guest. That way it can't be used to hack your network.

  2. Create a simple batch file to give out. The contents should be:

    @echo off
    net use \\<printservername>\ipc$ /user:<domain>printer 12345678

    Replace <printservername> with the name of the print server the person needs access to, and, of course, change <domain> to your Windows NT or AD NetBIOS domain name.

  3. Place the batch file on the desktop or some other easily accessible location on the computer of the person

    Requires Free Membership to View

  1. who needs access to the printers on your domain.

  2. Run the batch file to authenticate to the local IPC$ share on the print server. This will allow the user to enumerate the printers on the server and to connect and print to them.

You're all done! Every time the person comes to your office and needs to print, they just need to use the batch file to authenticate first.

This was first published in July 2003

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.