Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

delete network printers

Posted on 2011-10-19
24
Medium Priority
?
265 Views
Last Modified: 2012-05-12
Windows 7 pro running on domain with 2008R2
We currently have several printers in several rooms each for the department they are in i.e. English, maths, science etc.
What we have is a group policy to deploy these printers when the user logs into that particular room, however the problem we have is the printer never gets deleted when the user goes to another room so they keep all printers throughout the school and can print to any from anywhere once they have logged into all the rooms.
Is there a way to auto delete the printer when the user logs off so they start from scratch in each room they log onto?
Many thanks
0
Comment
Question by:CheadleAcacademy
  • 13
  • 8
22 Comments
 
LVL 11

Accepted Solution

by:
Ackles earned 2000 total points
ID: 36996855
0
 
LVL 11

Expert Comment

by:Ackles
ID: 36996863
Please read till end, as you will not waste time in trying other things& will clear some concepts too.
A
0
 

Author Comment

by:CheadleAcacademy
ID: 37082827
I have tried this and it is still not removing the printers, even on a newly created account.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 11

Expert Comment

by:Ackles
ID: 37082847
Can you make a check?
Remove the Printer & then login & see. If the printer is applied it will show up till you remove it.

A
0
 

Author Comment

by:CheadleAcacademy
ID: 37083125
We have logged in as administartor and deleted the printers but when logged into another room it still remembers the printers from before
0
 
LVL 11

Expert Comment

by:Ackles
ID: 37083146
Can you please post GPO you have made for printer deployment?
Also where have to linked it to?

A
0
 

Author Comment

by:CheadleAcacademy
ID: 37099281
This is a screenshot of the GPO that deploys the LRC printers. It is applied to the LRC OU which contains two subUO's that have the computer objects in them.
LRC-Printer-GPO.jpg
0
 
LVL 11

Expert Comment

by:Ackles
ID: 37099300
Did you consider using Logoff Script as mentioned in the discussion?
A
0
 

Author Comment

by:CheadleAcacademy
ID: 37099413
yes but its a different policy with just that logon script on.
0
 
LVL 11

Expert Comment

by:Ackles
ID: 37099427
I am sorry, do you mean the one mentioned in the forum?

See this text from forum:

This problem occurs because all network printers are per user setting and are stored in each user’s profile. Even when you deploy printer connection via the “The computers that this GPO applies to (per machine)” option, the printer configuration is stored in a user’s profile and will not be removed automatically when a user logs off. If you are using roaming profile, you will notice that printers are roaming with users.

This corresponds to your scenario & making a logoff script would get you the desired results.
A
0
 

Author Comment

by:CheadleAcacademy
ID: 37099441
The script mentioned in the forum links to this which is what I used.
0
 
LVL 11

Expert Comment

by:Ackles
ID: 37099450
Can you run RSOP to confirm that script ran?
0
 
LVL 11

Expert Comment

by:Ackles
ID: 37099452
Or maybe Manually run it & see the affect?
0
 
LVL 11

Expert Comment

by:Ackles
ID: 37099499
One more thing, you have 2 GPO's linked on the root level, so everyone logging will get both the printers every time they login.
0
 

Author Comment

by:CheadleAcacademy
ID: 37099539
I have run the script locally on the computer and got the attached error. Line 9 Char 5 is objPrinter
script-error.jpg
0
 
LVL 11

Expert Comment

by:Ackles
ID: 37099546
You confirm that you ran with Admin Credentials?
0
 

Author Comment

by:CheadleAcacademy
ID: 37099552
Yes i was logged on with a domain administrator account with full local administrator rights.
0
 
LVL 11

Expert Comment

by:Ackles
ID: 37099620
k, so now we have to figure out how this script to run.
Let me have a look & then we take it further.

On another note, can you in the meantime try to put the script locally & run instead of calling it from Share?
Best, is run it from Admin Command Prompt.

A
0
 

Author Comment

by:CheadleAcacademy
ID: 37099670
logged in as domain admin i ran cmd as administrator and ran the script from the local C:\ drive and got the same error.
0
 
LVL 11

Assisted Solution

by:Ackles
Ackles earned 2000 total points
ID: 37099700
Please have a look at this, it's more descriptive:
http://www.computerperformance.co.uk/Logon/Logon_Remove_Printer.htm

Once we can remove the printer we can see if this works & if it works, then we can incorporate it in logoff scripts.

A
0
 
LVL 11

Expert Comment

by:Ackles
ID: 37140499
Any luck?

A
0
 
LVL 39

Expert Comment

by:hdhondt
ID: 37330051
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Printers have changed substantially in the last 30 or so years, not just in technical capabilities but in cost and usage as well.  Printers were originally used for interfacing with the operator, not necessarily for printing copy or pictures. In …
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses
Course of the Month10 days, 20 hours left to enroll

571 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