Improve company productivity with a Business Account.Sign Up


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

Posted on 2004-07-31
Medium Priority
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

Expert Comment

ID: 11684571
LVL 86

Accepted Solution

oBdA earned 1000 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

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

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…
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

606 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