Restart the print spooler fix sharing problems and check Group Policy
To resolve this error, do the following:
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.
In the Administrative Tools folder, open the Services snap-in.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 and 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:
In the Services snap-in, right-click Print Spooler and then click Properties. 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. 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.
In the Administrative Tools folder, open the Group Policy Management Console (GPMC).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.Right-click the GPO, and then click Edit.Under Computer Configuration, right-click Printers in the Administrative Templates section, and then click Properties.Select either Enabled or Not Configured, and then click OK.On the print server, open the Command Prompt window, and then type Gpupdate.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.