Perhaps we are having a terminology or other confusion.
1. If the printer was created with a "Local Port", it will show up in the
(Power) User's Printers and Faxes folder with a single part name (e.g.
printername).
2. If the printer was created as a "Network Printer", it will show up in the
(Power) User's Printers and Faxes folder with a two part name (e.g.
printername on server name).
To set the default printer as a printer of type 1:
rundll32 printui,PrintUIEntry /y /n printername
To set the default printer as a printer of type 2:
rundll32 printui,PrintUIEntry /y /n \\servername\printername
To test this out:
1. logon as an administrator
2. start the Add Printer wizard (you are probably familiar with this, but
I've provided details so we can be sure we are talking apples and not
oranges here)
a. on the Local or Network panel, select "Local Printer", remove check
mark from "Automatically detect ..."; click Next
b. select the "Create a new port" radio button
c. select "Local Port" from the drop down list box; click Next
d. in the "Enter a port name" text box, key the UNC name of the printer
(e.g. \\servername\printername)
e. on the "Install Printer Software" panel, select the appropriate
driver; click Next
f. on the "Name your Printer" panel, in the "Printer Name" text box,
key something unique (e.g. printernamelocal); click Next
g. on the "Printer Sharing" panel, select the "Do not share this
printer" radio button
h. on the "Print Test Page" panel, select "Yes"; click Next
i. click Finish
verify that the Test Page printed
3. open a command prompt and issue the commands:
rundll32 printui,PrintUIEntry /ga /n \\servername\printername
net stop spooler
net start spooler
4. logoff
5. logon with a user account that is a "User" or "Power User"
6. open Printers (or Printers and Faxes) - both printers should show up
(e.g. printernamelocal and printername on servername); right click on each
printer in turn, select Properties and print a Test Page. Verify that both
print OK.
7. in the Printers folder, right click on "printername on servername" and
select it as the default printer (this is just so we know the starting
state)
8. open a Command Prompt window
9. key the command
rundll32 printui,PrintUIEntry /y /n printernamelocal
observe that in the Printers folder this printer immediately becomes the
default printer
10. key the command
rundll32 printui,PrintUIEntry /y /n \\servername\printername
observe that the "printername on servername" immediately becomes the default
printer
I tested this scenario on a computer that is not in a domain and also on a
computer that is a member of a Windows 2000 domain and it worked just fine
in both situations for "Users" and "Power Users".
If this scenario fails for you, please say which numbered step it fails at
and exactly what the symptom is (error message etc.).