Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Help with Group Policy and printers

Posted on 2014-02-05
11
389 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
ID: 39836095
0
 
LVL 1

Author Comment

by:Elixir2
ID: 39836298
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
ID: 39836303
I still need to know how to find out what existing Group Policies are applied to which existing OUs in my existing domain.
0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 1

Accepted Solution

by:
Elixir2 earned 0 total points
ID: 39837289
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
ID: 39840370
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
 
LVL 1

Author Comment

by:Elixir2
ID: 39840611
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
ID: 39846833
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
ID: 39846919
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
ID: 39848082
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
ID: 39848702
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
ID: 39865098
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

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.
This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

856 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