Event ID 315 — Shared Printer Availability

Updated: January 8, 2008

Applies To: Windows Server 2008 R2

This is preliminary documentation and subject to change.

red

Shared printer availability relates to whether shared printers are available on the network. When a printer is shared on the network, users with sufficient permissions can connect and print to the shared printer.

Event Details

Product: Windows Operating System
ID: 315
Source: Microsoft-Windows-PrintSpooler
Version: 6.1
Symbolic Name: MSG_SHARE_FAILED
Message: The print spooler failed to share printer %2 with shared resource name %3. Error %1. The printer cannot be used by others on the network.

Resolve

Restart the print spooler, fix sharing problems and check Group Policy

To resolve this error, do the following:

  • Stop and restart the Print Spooler service, and then try again to share the printer. To start or restart the Print Spooler service, use the following procedure:

    Warning: Restarting the Print Spooler service causes all print jobs to be restarted. Additionally, you might need to reset some printers or turn them off and then turn them back on after restarting the Print Spooler service. On an active print server, perform this procedure outside of normal business hours or during scheduled maintenance time, if possible. Before performing this procedure, take all printers offline and wait for all print jobs to be completed, or pause all printers and wait for all Active print jobs to be completed.

    1. In the Administrative Tools folder, open the Services snap-in.
    2. Locate the Print Spooler service in the list of services, and then confirm that its status is Started. If its status is not Started, select the service and then click Start on the Action menu.

      Note: You can also do this from an elevated Command Prompt window by typing the following command: net stop spooler && net start spooler

    In some instances, you might receive Error 1068 – "The dependency service or group failed to start" – when attempting to start the Print Spooler service. This can happen if the Print Spooler service relies on other services that are not running. To resolve this issue, use the following procedure:

    1. In the Services snap-in, right-click Print Spooler and then click Properties.
    2. Click the Dependencies tab. The first box lists all of the system services that must be running for the Print Spooler service to start. These are the dependencies.
    3. Make a note of each service, click OK, and then start each service that the Print Spooler service depends on, if the service is not already started. If a service was not already started, right-click it, click Properties, and then confirm that the Startup type is Automatic.
  • Determine whether you can share files from your computer. Correct any general sharing problem, and then try again to share the printer.
  • Ensure that the printer share name for this printer is not identical to the name of any other shared printers in the domain. If necessary to avoid this scenario, rename this printer share.
  • Verify that the Allow Print Spooler to accept client connections policy is enabled. To do this, use the following steps:
    1. In the Administrative Tools folder, open the Group Policy Management Console (GPMC).
    2. In the console tree, find the Group Policy object (GPO) that applies to the print server and has the Allow Print Spooler to accept client connections policy set to Disabled.
    3. Right-click the GPO, and then click Edit.
    4. Under Computer Configuration, right-click Printers in the Administrative Templates section, and then click Properties.
    5. Select either Enabled or Not Configured, and then click OK.
    6. On the print server, open the Command Prompt window, and then type Gpupdate.
    7. Retry sharing the printer. Sharing the printer may continue to fail until the GPO replicates to the domain controller that the print server contacts and until the GPO is applied to the print server.
  • If the printer is properly shared, examine the previous errors in Event Viewer to determine the underlying cause for this error.

Verify

To verify that a printer is shared or unshared properly:

  1. Log on using a user account that has Print permissions to the print queue.
  2. Attempt to connect to the printer in Windows Explorer through its share name (for example, \\server1\printer1), or open the Command Prompt window and then type net view \\<servername>\<sharename>.

Related Management Information

Shared Printer Availability

Printing Infrastructure

Show: