Solved

Non-Administrator Users Cannot Print with Windows XP

Posted on 2010-09-12
18
663 Views
Last Modified: 2013-12-04
As the Administrator on my home PC, I can print everything and anything, but none of my Limited account Users can print. They can see the printer and it shows that they are connecting to it, but nothing will print as long as they are logged in as a Limited User. Am I missing something somewhere?  Can how i give them printing priviledges, but keep the acct as limited?
0
Comment
Question by:wayneblue
  • 8
  • 4
  • 4
  • +2
18 Comments
 
LVL 3

Expert Comment

by:shariati
ID: 33657949
a printer connection is a per user setting. Each user has to make a
connection to the printer
Windows 2000, XP, 2003, Vista, and 2008 have the capability to have a Network Printer so that it is automatically available to any user that logs on at that computer.  Unfortunately, the Add Printer wizard does not expose that capability - it can only add a Network Printer for the currently logged on user.  So to add a printer globally (for all users) you have to a different tool.

The PrintUIEntry function of printui.dll has options for performing most printer management functions.  It can perform these functions either on the same computer that printui.dll is running on or on another computer (i.e remotely).  The general purpose rundll32 command can be used to execute PrintUIEntry function of printui.dll.

Some things to keep in mind:

   1. The function for adding a printer globally is /ga.  Globally in this context means that the action applies to all and any users that happen to logon at the target computer.
   2. The corresponding function for deleting a printer globally is /gd.  If you attempt to delete a global printer by using the Delete function in the printer's context menu, it will appear to delete, but will reappear when the Print Spooler service is restarted.
   3. Only printers previously added using the /ga function can be deleted using /gd.
   4. You have to have administrative rights and permissions on the target computer to use these functions.
   5. If a printer is added remotely using the /ga function, it will not appear to the user until the Print Spooler service is restarted or the user next logs on.  You can restart the print spooler remotely using these commands:
          sc \\targetcomputername stop spooler
          sc \\targetcomputername start spooler
      Like any other commands these commands can be used inside a command file, such as addglobalprinterremotely (see below).

Here's a way of "installing" network printers on workstations so that they are available to all users (remotely).

The file at AddGlobalPrinterRemotely.cmd has the commands for adding a network printer remotely and restarting the print spooler on the target computer.

If you prefer not to download .cmd files, paste (or key) the following into your own .cmd file (e.g. AddGlobalPrinterRemotely.cmd)

     rundll32 printui.dll,PrintUIEntry /ga /c\\%1 /n\\%2
     start /wait sc \\%1 stop spooler
     start /wait sc \\%1 start spooler

Then, at a command prompt key:

   addglobalprinterremotely targetcomputername printservername\printersharename

For example to install the printer \\pserver\p1 on the workstation abc:

   addglobalprinterremotely abc pserver\p1

To find out more about the rundll32 printui.dll,PrintUIEntry command, key (case sensitive):

    rundll32 printui.dll,PrintUIEntry /?

Here's some details:

/c specifies the computer which is to be the target of the requested action.

If /c is not specified, the local computer is assumed.  In other words, the /c option allows you to do printer management things on other computers without actually physically being there (i.e. remotely).

/n specifies which network printer is to be, in this case, added using the printer's UNC name (\\servername\printersharename).

/? is understood by PrintUIEntry to be a request for its Help information, which is displayed in a separate window.

The "start /wait" command runs the command (e.g. sc), then waits until the command actually terminates.  Stopping and starting the print spooler takes a while, so without this, the next command (e.g. sc ... start spooler) may run before the spooler is actually stopped.

Source:http://members.shaw.ca/bsanders/NetPrinterAllUsers.htm
0
 

Author Comment

by:wayneblue
ID: 33658015
well thanks, i saw that before, and it was copied from another source.. can you pls make this more of an ELMENTARY WAY, for me to understand this? i sort of and i sort of don't understand the above..
0
 
LVL 10

Expert Comment

by:Bawer
ID: 33658185
put the limited users in a group and then add the group to printer security with required permissions, they will be able to use it....
0
 
LVL 3

Expert Comment

by:shariati
ID: 33658191
in easy step:
1)on your server pc go to start>run>cmd
2)type:
sc \\[your-computer-name] stop spooler
sc \\[your-computer-name] start spooler

example: sc \\homepc stop spooler

then on your local computer
3) Start>Run>CMD
4) type :
rundll32 printui.dll,PrintUIEntry /ga /c\\%1 /n\\%2
start /wait sc \\%1 stop spooler
start /wait sc \\%1 start spooler
5) now type
addglobalprinterremotely [your workstation name] [your server name]\[your Printer name]

example :
addglobalprinterremotely homegroup mypc\Hp1600
0
 
LVL 3

Expert Comment

by:shariati
ID: 33658226
and if you want to do as Bawer said to add a group do :


1.click Start, and then click Control Panel. Click Performance and Maintenance, click Administrative Tools, and then double-click Computer Management.

2.In the console tree, click Groups.

Computer Management > System Tools > Local Users and Groups > Groups

3.Right-click the group in which you want to add a member, point to All Tasks, click Add to Group, and then click Add.

4.Click Look in to display a list of domains from which users and groups can be added to the group.

5.In Location, click the domain containing the users and computers you want to add, and then click OK.

6.In Name, type the name of the user or group you want to add to the group, and then click OK.
--------------------------------
now add the group to printer permission

Open Printers folder
Click the printer you want to set permissions for.
Press and hold down CTRL, and then right-click the printer for which you
want to set permissions, click Properties, and then click the Security tab.
Click Add.
Click Look For, select the types of users you want to add, and then click OK.
Click Look In, browse for the location you want to search, and then click OK.
The location can be a workgroup or an individual computer...
0
 
LVL 1

Expert Comment

by:ManoranjanSinha
ID: 33658315
Plz follows the following steps:-
1)Click onStart Button-Setting-And then select Printer & Fax option.

2)A new window will be display with all list of Printers

3) Select the particular printer and right click on that printer and select  properties option

4) Then clcik on the security tab from that windows and select the particular user from  where u want to take print out.
5) And check  the print check box option from mention below option.
0
 

Author Comment

by:wayneblue
ID: 33668309
shariati: your last comment seems to be something that i can understand.. i am very computer literate, but at times gets lost with all of the terminologies used, and how to correctly imply them..
0
 

Author Comment

by:wayneblue
ID: 33668384
ManoranjanSinha and shariati, pls contact me ASAP.........Something's just not happening..
0
 
LVL 8

Expert Comment

by:natcom
ID: 33668485
* Find the SPOOL directory, typically within your %SYSTEM32% folder.
* Find the TEMP directory, typically within your %SYSTEM% folder.
* Right-click on each and select Properties, then the Security tab.
* Assign Full Control to "Everybody".

Microsoft Knowledgebase article 271901 may give additional help.
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

Author Comment

by:wayneblue
ID: 33668617
natcom: and the best way to find those folders is??
0
 
LVL 8

Expert Comment

by:natcom
ID: 33668773
C:\WINDOWS\system32   C:\WINDOWS\temp and C:\WINDOWS\system32\spool      if you cant find then just do a search for then on your computer  click on start run then search.
0
 

Author Comment

by:wayneblue
ID: 33668806
ok, here's the deal...i was able to find the system 32 folder...when i did that and clicked on it, i found a "spool" folder there.....so when i did this, "Right-click on each and select Properties, then the Security tab. * Assign Full Control to "Everybody"., there's NO SECURITY TAB... what am i doing wrong here?
0
 
LVL 3

Expert Comment

by:shariati
ID: 33668871
what version of windows are you using?
is it XP home edition?
0
 

Author Comment

by:wayneblue
ID: 33668880
shariati: i am using xp pro.. with sp3.
0
 
LVL 8

Accepted Solution

by:
natcom earned 500 total points
ID: 33673647
on windows explorer click on tools folder option view and uncheck use simple file sharing recommended then you will be able to see security tab.
0
 

Author Comment

by:wayneblue
ID: 33675736
ok natcom, i will surely try that and let you know..
0
 

Author Closing Comment

by:wayneblue
ID: 33722375
thanks natcom
0
 
LVL 8

Expert Comment

by:natcom
ID: 33725435
you are welcome I am glad I was able to assist you.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

In a recent article here at Experts Exchange (http://www.experts-exchange.com/articles/18880/PaperPort-14-in-Windows-10-A-First-Look.html), I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
Windows 10 is here and for most admins this means frustration and challenges getting that first working Windows 10 image. As in my previous sysprep articles, I've put together a simple help guide to get you through this process. The aim is to achiev…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now