Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Help with Group Policy and printers

Posted on 2014-02-05
11
Medium Priority
?
429 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
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

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

This process allows computer passwords to be managed and secured without using LAPS. This is an improvement on an existing process, enhanced to store password encrypted, instead of clear-text files within SQL
How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

885 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