Set Default Printer for a User?

  • Thread starter Thread starter cavatino
  • Start date Start date
C

cavatino

Dear All,

Now, I've remotly installed the network printer(Print
server printer)for some users' PCs with the command:
"rundll32 printui,PrintUIEntry"
Anyway, I still cannot set the default printer for those
uses remotly. Now, all the PCs and Users are in my windows
domain. I would like to know that is there any way to set
the default printer for those users. I've tried to use the
command "rundll32 printui,PrintUIEntry /y /..." to set the
default printer, but it doesn't work. It's becasue this
command is only work on the certain user who run this
command. Actually, I will use the administrator account to
control those things. I've also tried to change the
registry to set the default printer, but it still doesn't
work. It's because I can't modify the registry of the
dedicated user. My objective is that I don't want to
onsite service and don't want to let the user know what I
do. That means I would like to use a remote method to do
this job. Thank you very much.

Best Regards,

Aries
 
--------------------
Content-Class: urn:content-classes:message
From: "cavatino" <[email protected]>
Sender: "cavatino" <[email protected]>
Subject: Set Default Printer for a User?
Date: Thu, 15 Apr 2004 21:16:32 -0700

Dear All,

Now, I've remotly installed the network printer(Print
server printer)for some users' PCs with the command:
"rundll32 printui,PrintUIEntry"
Anyway, I still cannot set the default printer for those
uses remotly. Now, all the PCs and Users are in my windows
domain. I would like to know that is there any way to set
the default printer for those users. I've tried to use the
command "rundll32 printui,PrintUIEntry /y /..." to set the
default printer, but it doesn't work. It's becasue this
command is only work on the certain user who run this
command. Actually, I will use the administrator account to
control those things. I've also tried to change the
registry to set the default printer, but it still doesn't
work. It's because I can't modify the registry of the
dedicated user. My objective is that I don't want to
onsite service and don't want to let the user know what I
do. That means I would like to use a remote method to do
this job. Thank you very much.

Best Regards,

Aries

You can set the default printer for a logged on user by changing the
"Device" value under: HKEY_CURRENT_USER\Software\Microsoft\Windows
NT\CurrentVersion\Windows
You could throw this in a logon script for the user. Let me know if this
helps

--
JASON HALL
Performance Support Specialist,
Microsoft Enterprise Platforms Support

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
 
--------------------
Content-Class: urn:content-classes:message
From: <[email protected]>
Sender: <[email protected]>
Dear JASON,

It's work!

Thanks,

Aries
-----------------

Your welcome! : )

--
~~ JASON HALL ~~
~ Performance Support Specialist,
~ Microsoft Enterprise Platforms Support
~ This posting is provided "AS IS" with no warranties, and confers no
rights.
~ Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
~ Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
 
Back
Top