Solved

Removing Network Printer with Script

Posted on 2013-11-21
4
380 Views
Last Modified: 2016-11-23
We are on Windows Domain with mostly Windows XP machines. We had a Dell Network Printer that was being shared on the server and it is listed on every machine. We recently replaced this printer and now we want to have it removed from being listed on every machine and under every profile on the machine. These worstations are located in a schools library so there are a lot of users that are still seeing the  old printer and attempting to print to it.

I had a script that does remove the printer and i thought it was supposed to do it for all users but it is only doing it for the user that is logged that runs the script.

Rundll32 printui.dll,PrintUIEntry /dn /q /n"\\sh_print\Dell Color Laser 5110cn PCL6"


Any help would be appreciated. Thanks
0
Comment
Question by:jdemoccc
  • 2
4 Comments
 
LVL 22

Expert Comment

by:Nick Rhode
Comment Utility
I don't believe there is a script to remove the printer from all profiles as the printer is tied into the users session.  What is your server environment (2003, 2008?).  If 2008 you could use Group Policy Preferences to set and remove printers.
0
 
LVL 35

Expert Comment

by:Mahesh
Comment Utility
0
 

Author Comment

by:jdemoccc
Comment Utility
NRhode,

We are running a Server 2008 environment but we have not instituted group policy across the network completely. We have slowly been getting group policy working with the newer windows 7 machines but not with the old Windows Xp Machines. So group policy might not be the best policy has its only needs to be removed on about 20 or 30 machines from the library.
0
 
LVL 22

Accepted Solution

by:
Nick Rhode earned 300 total points
Comment Utility
Just a quick note that in order for group policy from a 2008 server to work on an xp workstation you would need to install the optional update on the xp machine.  The group policy client side extension.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
Resolve DNS query failed errors for Exchange
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

743 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

19 Experts available now in Live!

Get 1:1 Help Now