Solved

Help with Group Policy and printers

Posted on 2014-02-05
11
384 Views
Last Modified: 2014-02-17
I run a small organization with a win2008 print server. I want to install a new network printer and roll it out to all users on Windows XP, 7 and server 2008 where necessary.

There was a login.bat file which mapped printers. But I have found that it is either doing it wrong or being superceded by Group Policy.

In addition, I need to UNINSTALL two old printers and make them stop showing up via Group Policy.

Where do I look and how do I do this? Familiar with ADUC but not so much with GPMC and how it applies (or fails to apply).
0
Comment
Question by:Elixir2
  • 7
  • 3
11 Comments
 
LVL 9

Expert Comment

by:rawinnlnx9
Comment Utility
0
 
LVL 1

Author Comment

by:Elixir2
Comment Utility
In the link you posted, the OP's question was unresolved. But your link led me to this link.
http://support.microsoft.com/kb/234270
0
 
LVL 1

Author Comment

by:Elixir2
Comment Utility
I still need to know how to find out what existing Group Policies are applied to which existing OUs in my existing domain.
0
 
LVL 1

Accepted Solution

by:
Elixir2 earned 0 total points
Comment Utility
On the print server, I installed the drivers from the internet first using the Print Management console.
I then created a new IP port and chose an IP address outside the DHCP scope.
I installed the new printer, added it to the Directory and most importantly published it via GPO, which was an option when using Print Managment console.

Finally, I updated the login.bat file that is in every users profile in the NETLOGON folder and propagated this change to both DCs.

I feel like I know what I'm doing. Unfortunately, the links you provided had nothing to do with this solution. Sorry!
0
 
LVL 6

Expert Comment

by:Flipp
Comment Utility
Did you resolve this without the Login Script? I can certainly help you with configuration via GPO and GPP which uses the Print Management console.
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 1

Author Comment

by:Elixir2
Comment Utility
I would LOVE the extra help. I'm still using the login.bat file. The reason is because even though login.bat is specified in the default domain gpo, some users weren't getting the mappings. I put login.bat back on each users' profile settings in AD.
0
 
LVL 1

Author Closing Comment

by:Elixir2
Comment Utility
After spending the better part of a day on this, we used the Server 2008's Printer Management console available when the Print Server role is installed. Expert links were partial solutions of other issues.
0
 
LVL 6

Expert Comment

by:Flipp
Comment Utility
From the Print Management console, did you ever try right clicking on installed printer and deploy? You would of had to of created a GPO and linked to appropriate OU depending ob if you are targeting Users or Computers. There are also some point and print restriction settings I use. If users have XP then you will need the pushprinters EXE.
0
 
LVL 1

Author Comment

by:Elixir2
Comment Utility
Yes, I did that. And it appeared to work. Because of the XP users, I also used the login.bat file.

Now, I'm having problems REMOVING old printers that were published using this method. But that's another question and another 500 points. :)
0
 
LVL 6

Expert Comment

by:Flipp
Comment Utility
You don't need to use the login.bat for XP Users if you simply use the pushprinterconnections.exe utility in the Startup Scripts. I deploy by Computer rather than per User, but works both ways. As long as I have certain drivers installed for all x86, x64 I dont see any issue - this is a good starting point that I am sure you have seen http://technet.microsoft.com/en-us/library/cc722179(v=ws.10).aspx.
As far as cleanup goes, if the printer was deployed using this method then it can easily be removed from client machines, but performing a cleanup for printers installed using other methods I would look to a VBScript.
0
 
LVL 1

Author Comment

by:Elixir2
Comment Utility
This is the VBScript we're looking for... any idea how to make it do multiple printers?
Option Explicit

Dim objNetwork, objPrinters
Set objNetwork = CreateObject("WScript.Network")
Set objPrinters = objNetwork.EnumPrinterConnections

' ### Delete selected network printer
Dim sPrinterName
sPrinterName = "\\SERVER\ICT_HP4050N"
objNetwork.RemovePrinterConnection sPrinterName, True, True

Open in new window

0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

772 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

10 Experts available now in Live!

Get 1:1 Help Now