Define a Default printer for Existing Profiles?

  • Thread starter Thread starter Scott Townsend
  • Start date Start date
S

Scott Townsend

We want to change everyone's existing default printer to a new default
printer. Is there an easy way to just change everyone's Default?

We want to change the Existing user's who have a profile and all of the new
users that log in.

We tried: rundll32 printui.dll,PrintUIEntry /y /n <printer>

though that only did it for the logged in user.

Thanks,
Scott<-
 
I only want it for the one server they log into. Though the users are
restricted I'm not sure if they can run the command.

What it the best way to run it as a login script for the particular machine?

Thanks,
Scott<-

Dave Patrick said:
You'll probably need to add this to your logon script.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

Scott Townsend said:
We want to change everyone's existing default printer to a new default
printer. Is there an easy way to just change everyone's Default?

We want to change the Existing user's who have a profile and all of the
new users that log in.

We tried: rundll32 printui.dll,PrintUIEntry /y /n <printer>

though that only did it for the logged in user.

Thanks,
Scott<-
 
We want to change everyone's existing default printer to a new default
printer. Is there an easy way to just change everyone's Default?

We want to change the Existing user's who have a profile and all of the new
users that log in.

We tried: rundll32 printui.dll,PrintUIEntry /y /n <printer>

though that only did it for the logged in user.

Thanks,
Scott<-
A users' default printer is defined at:

HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows\Device

which the have access to.

See tip 0672 » How do I set a roaming users default printer based upon the PC they logon at?
for format.



Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com
 
These articles may help you.

How to Add Printers with No User Interaction in Windows
http://support.microsoft.com/default.aspx?scid=kb;en-us;189105

Some other options would be to use the AddPrinterConnection method of
VBScript
http://msdn.microsoft.com/library/d...s/script56/html/wsmthaddprinterconnection.asp

Prnadmin.dll from the resource kit.
http://support.microsoft.com/default.aspx?scid=kb;en-us;321025

You might place it in the %allusersprofile%\Start Menu\Programs\Startup
directory on that machine. You'll probably need to add some checking to see
if the printer already exists.

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect
 
Back
Top