how to automatically manage new user ad accounts - printer assignment.

Posted on 2004-07-31
Last Modified: 2013-12-03
First an explanation - Our server is a windows 2000 server, it was upgraded from an NT4 server
we are using active directory.  I am not the designer of this server, so some of the configurations were established before I took over, and I have never Administered a WinNT4 server.

Currently when a user logs onto a workstation for the first time, there desktop is preconfigured usually with a custom folder, and all the printers that were published when the sever was setup.

I have recently removed 2 printers from service and added 3 into service.  The problem is that the printers removed from service are still added when a user logs on to a workstation for the first time and the new printers are not there, I have published the new printers in active directory and can find them and add them to the users profile - but if that user tends to move around or a new user is added I have to manually install these new printers to thier profiles - very time consuming.  I have not been able to find out how to remove the old printers from what ever preconfigures the users profile to have them or add the new printers to the profiles automatically.  

Can anyone help me with this.  Or send me to the right knowledge base article at MS.

Question by:netlinger
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

Expert Comment

ID: 11684571
LVL 84

Accepted Solution

oBdA earned 250 total points
ID: 11685539
Mapping printers is something for a logon script, not for the .default profile. Like that, you can do it even according to group membership.
Use con2prt.exe (ZAK) (and perhaps ifmember.exe from the Resource Kit) to map the corresponding printer in the logon script; just put the program file(s) into the netlogon share.

:: *** Delete all mapped printers:
con2prt.exe /f
:: *** Map the printers according to group membership:
ifmember.exe YourDomain\Printer01Group
if not errorlevel 1 goto EndPrinter01Group
con2prt.exe /c \\PrintServer\Printer01

ifmember.exe YourDomain\Printer02Group
if not errorlevel 1 goto EndPrinter02Group
con2prt.exe /c \\PrintServer\Printer02

If you don't need the group membership check, this comes down to

@echo off
:: *** Delete all mapped printers:
con2prt.exe /f
:: *** Map the printers according to group membership:
con2prt.exe /c \\PrintServer\Printer01
con2prt.exe /c \\PrintServer\Printer02
con2prt.exe /c \\PrintServer\Printer03

You can use the switch "/cd" to make the printer a default printer.

How to Use Con2prt.exe to Connect to a Network Printer

Zero Administration Kit

Resource Kits Free Tool Downloads: Ifmember.exe

Expert Comment

ID: 11687597
Do try to use Group policy to have the printers installed to the users ; required.. No need to go for Scripts

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Terminal 2000 connection RDP 5 141
Bold Courier in RichEditControl 6 120
Gotham fonts and Office 2013 6 184
How do I reset a theme that I fooled around with and changed? 3 45
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Determining the an SCCM package name from the Package ID
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Suggested Courses

738 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