+ Post New Thread
Results 1 to 8 of 8
Windows Thread, Add a shared printer for all users in XP in Technical; Hey all, Sure this is really simple for someone that's not me WinXP. I am sharing a usb printer on ...
  1. #1

    Join Date
    Jun 2007
    Posts
    6
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Add a shared printer for all users in XP

    Hey all,

    Sure this is really simple for someone that's not me

    WinXP. I am sharing a usb printer on workstation1. How do I add it for all users on workstation 2?

    Thanks in advance, Rich.

  2. #2
    mrforgetful's Avatar
    Join Date
    May 2006
    Posts
    1,639
    Thank Post
    7
    Thanked 15 Times in 15 Posts
    Rep Power
    22

    Re: Add a shared printer for all users in XP

    Put the following in a text file then change the extension to .cmd

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

  3. #3

    Join Date
    Jun 2007
    Posts
    6
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Add a shared printer for all users in XP

    You the man, I'll give that a go later. Thanks very much!

  4. #4
    mrforgetful's Avatar
    Join Date
    May 2006
    Posts
    1,639
    Thank Post
    7
    Thanked 15 Times in 15 Posts
    Rep Power
    22

    Re: Add a shared printer for all users in XP

    You'll need to reboot the computer after running it.

    You can use that to install any network shared printer to a computer for all users.

    If you need to remove the printer change the /ga to a /gd

  5. #5

    Join Date
    Jun 2007
    Posts
    6
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Add a shared printer for all users in XP

    Added local group policy via snapin for that workstation and put the printer.cmd script in the computer config startup folder but this hasn't worked for some reason. In the end I just went for \\hostname\printername as a scipt. Problem sorted now, thanks for your help, muchly appreciated

  6. #6

    Join Date
    Nov 2006
    Location
    Reading, UK
    Posts
    487
    Thank Post
    30
    Thanked 14 Times in 8 Posts
    Rep Power
    18

    Re: Add a shared printer for all users in XP

    Out of interest, are you only looking to push this out to a couple of machines?

    If not, perhaps a more complex script similar to my one that will check the computers location in AD and then map the correct printer(s) accordingly? This can then be called up via a User Login Script or Startup Script I would imagine too.

    Give me a shout if you would like a copy of the script.

  7. #7

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,262
    Thank Post
    242
    Thanked 1,572 Times in 1,252 Posts
    Rep Power
    340

    Re: Add a shared printer for all users in XP

    Alternatively (for everyone's reference) you can add multiple print servers within Windows Server 2003 R2, then distribute it to particular users or computers (or both) within any number of OUs.

  8. #8

    Join Date
    Mar 2008
    Posts
    30
    Thank Post
    3
    Thanked 1 Time in 1 Post
    Rep Power
    0
    I know this thread is years old but thanks MrForgetful, this sorted out my printer problem.

    How can I add to this to make the printer in the command the default printer for all users?

SHARE:
+ Post New Thread

Similar Threads

  1. FAO: ELGG users and Moodle Users
    By thegrassisgreener in forum Virtual Learning Platforms
    Replies: 18
    Last Post: 3rd July 2009, 07:12 PM
  2. Replies: 13
    Last Post: 18th October 2007, 01:09 PM
  3. Replies: 6
    Last Post: 23rd June 2007, 08:44 AM
  4. setting a default printer for all users
    By wellwillthisnamedothen in forum How do you do....it?
    Replies: 10
    Last Post: 8th June 2007, 03:34 PM
  5. Replies: 7
    Last Post: 27th September 2006, 08:19 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •