View Full Version : Batch file setup for network printers


Mike_Bee
I would like to know the proper command line for having a
logon script of batch file setup network printer
automatically. I have found some information on this,
but I am having trouble executing the command line.


This is the command line that I was given.
Command Line: rundll32 printui.dll,PrintUIEntry /?


Bill Stewart
Mike_Bee wrote:

> I would like to know the proper command line for having a logon script of
> batch file setup network printer automatically. I have found some
> information on this, but I am having trouble executing the command line.
>
> This is the command line that I was given.
> Command Line: rundll32 printui.dll,PrintUIEntry /?

Hi Mike,

That command will simply display the help dialog for PrintUIEntry. As you
can see, there's lots of things you can do.

But it does lead to a question. On Windows 2000 and later, you can
establish "per-machine printers": Network-attached printers that appear no
matter who is logged onto the machine. Will that solve your problem?

Bill



I would like to have some sort of logon script for
network mapping, printers, and default desktop load upon
a users logon. If anything ever changes I can just apply
it to the script. So my questions is what is the proper
command line to do the printers
I have a Batch file for the network mappings already. So
My next step is the printers.

Also I am unable to get my logon script to run. Is there
a special naming scheme.

>-----Original Message-----
>Mike_Bee wrote:
>
>> I would like to know the proper command line for
having a logon script of
>> batch file setup network printer automatically. I
have found some
>> information on this, but I am having trouble executing
the command line.
>>
>> This is the command line that I was given.
>> Command Line: rundll32 printui.dll,PrintUIEntry /?
>
>Hi Mike,
>
>That command will simply display the help dialog for
PrintUIEntry. As you
>can see, there's lots of things you can do.
>
>But it does lead to a question. On Windows 2000 and
later, you can
>establish "per-machine printers": Network-attached
printers that appear no
>matter who is logged onto the machine. Will that solve
your problem?
>
>Bill
>
>
>.
>

Albert Fuchigami
Bruce Sanderson's Web Site provided all the information I needed

http://members.shaw.ca/bsanders/NetPrinterAllUsers.htm

Hope that helps.



On Tue, 23 Mar 2004 07:08:48 -0800, "Mike_Bee"
wrote:

>I would like to know the proper command line for having a
>logon script of batch file setup network printer
>automatically. I have found some information on this,
>but I am having trouble executing the command line.
>
>
>This is the command line that I was given.
>Command Line: rundll32 printui.dll,PrintUIEntry /?
>


Mike_Bee
Here is the command line that I am running from CMD
Prompt:

rundll32
printui.dll,PrintUIEntry /ga /c\\servername\sharename /n\\
test

There is something wrong here.


>I would like to have some sort of logon script for
>network mapping, printers, and default desktop load upon
>a users logon. If anything ever changes I can just
apply
>it to the script. So my questions is what is the proper
>command line to do the printers
>I have a Batch file for the network mappings already.
So
>My next step is the printers.
>
>Also I am unable to get my logon script to run. Is
there
>a special naming scheme.
>
>>-----Original Message-----
>>Mike_Bee wrote:
>>
>>> I would like to know the proper command line for
>having a logon script of
>>> batch file setup network printer automatically. I
>have found some
>>> information on this, but I am having trouble
executing
>the command line.
>>>
>>> This is the command line that I was given.
>>> Command Line: rundll32 printui.dll,PrintUIEntry /?
>>
>>Hi Mike,
>>
>>That command will simply display the help dialog for
>PrintUIEntry. As you
>>can see, there's lots of things you can do.
>>
>>But it does lead to a question. On Windows 2000 and
>later, you can
>>establish "per-machine printers": Network-attached
>printers that appear no
>>matter who is logged onto the machine. Will that solve
>your problem?
>>
>>Bill
>>
>>
>>.
>>
>.
>

Mike_Bee
I all tried

rundll32 printui.dll,PrintUIEntry /c\\IP-address /n\\ip-
addres\printer

The error I am getting now is access denied

>-----Original Message-----
>I would like to have some sort of logon script for
>network mapping, printers, and default desktop load upon
>a users logon. If anything ever changes I can just
apply
>it to the script. So my questions is what is the proper
>command line to do the printers
>I have a Batch file for the network mappings already.
So
>My next step is the printers.
>
>Also I am unable to get my logon script to run. Is
there
>a special naming scheme.
>
>>-----Original Message-----
>>Mike_Bee wrote:
>>
>>> I would like to know the proper command line for
>having a logon script of
>>> batch file setup network printer automatically. I
>have found some
>>> information on this, but I am having trouble
executing
>the command line.
>>>
>>> This is the command line that I was given.
>>> Command Line: rundll32 printui.dll,PrintUIEntry /?
>>
>>Hi Mike,
>>
>>That command will simply display the help dialog for
>PrintUIEntry. As you
>>can see, there's lots of things you can do.
>>
>>But it does lead to a question. On Windows 2000 and
>later, you can
>>establish "per-machine printers": Network-attached
>printers that appear no
>>matter who is logged onto the machine. Will that solve
>your problem?
>>
>>Bill
>>
>>
>>.
>>
>.
>

Ed Siff
rundll32 printui.dll,PrintUIEntry /il /c\\[remote computer netbios name]

Ed

In article <120d201c4110c$ebdcc390$a501280a@phx.gbl>, "Mike_Bee"
wrote:[color=blue]
>I all tried
>
>rundll32 printui.dll,PrintUIEntry /c\\IP-address /n\\ip-
>addres\printer
>
>The error I am getting now is access denied
>[color=green]
>>-----Original Message-----
>>I would like to have some sort of logon script for
>>network mapping, printers, and default desktop load upon
>>a users logon. If anything ever changes I can just[/color]
>apply[color=green]
>>it to the script. So my questions is what is the proper
>>command line to do the printers
>>I have a Batch file for the network mappings already.[/color]
>So[color=green]
>>My next step is the printers.
>>
>>Also I am unable to get my logon script to run. Is[/color]
>there[color=green]
>>a special naming scheme.
>>[color=darkred]
>>>-----Original Message-----
>>>Mike_Bee wrote:
>>>
>>>> I would like to know the proper command line for[/color]
>>having a logon script of[color=darkred]
>>>> batch file setup network printer automatically. I[/color]
>>have found some[color=darkred]
>>>> information on this, but I am having trouble[/color][/color]
>executing[color=green]
>>the command line.[color=darkred]
>>>>
>>>> This is the command line that I was given.
>>>> Command Line: rundll32 printui.dll,PrintUIEntry /?
>>>
>>>Hi Mike,
>>>
>>>That command will simply display the help dialog for[/color]
>>PrintUIEntry. As you[color=darkred]
>>>can see, there's lots of things you can do.
>>>
>>>But it does lead to a question. On Windows 2000 and[/color]
>>later, you can[color=darkred]
>>>establish "per-machine printers": Network-attached[/color]
>>printers that appear no[color=darkred]
>>>matter who is logged onto the machine. Will that solve[/color]
>>your problem?[color=darkred]
>>>
>>>Bill
>>>
>>>
>>>.
>>>[/color]
>>.
>>[/color][/color]

Mike_Bee
Still getting ACCESS DENIED
I am not on as an Admin when I run this command line. My
goal is to run this in a logon script, but I am also
having trouble getting my logon scripts to work.

Please assist
[color=blue]
>-----Original Message-----
>rundll32 printui.dll,PrintUIEntry /il /c\\[remote[/color]
computer netbios name][color=blue]
>
>Ed
>
>In article <120d201c4110c$ebdcc390[/color]
$a501280a@phx.gbl>, "Mike_Bee"[color=blue]
> wrote:[color=green]
>>I all tried
>>
>>rundll32 printui.dll,PrintUIEntry /c\\IP-address /n\\ip-
>>addres\printer
>>
>>The error I am getting now is access denied
>>[color=darkred]
>>>-----Original Message-----
>>>I would like to have some sort of logon script for
>>>network mapping, printers, and default desktop load[/color][/color][/color]
upon[color=blue][color=green][color=darkred]
>>>a users logon. If anything ever changes I can just[/color]
>>apply[color=darkred]
>>>it to the script. So my questions is what is the[/color][/color][/color]
proper[color=blue][color=green][color=darkred]
>>>command line to do the printers
>>>I have a Batch file for the network mappings already.[/color]
>>So[color=darkred]
>>>My next step is the printers.
>>>
>>>Also I am unable to get my logon script to run. Is[/color]
>>there[color=darkred]
>>>a special naming scheme.
>>>
>>>>-----Original Message-----
>>>>Mike_Bee wrote:
>>>>
>>>>> I would like to know the proper command line for
>>>having a logon script of
>>>>> batch file setup network printer automatically. I
>>>have found some
>>>>> information on this, but I am having trouble[/color]
>>executing[color=darkred]
>>>the command line.
>>>>>
>>>>> This is the command line that I was given.
>>>>> Command Line: rundll32 printui.dll,PrintUIEntry /?
>>>>
>>>>Hi Mike,
>>>>
>>>>That command will simply display the help dialog for
>>>PrintUIEntry. As you
>>>>can see, there's lots of things you can do.
>>>>
>>>>But it does lead to a question. On Windows 2000 and
>>>later, you can
>>>>establish "per-machine printers": Network-attached
>>>printers that appear no
>>>>matter who is logged onto the machine. Will that[/color][/color][/color]
solve[color=blue][color=green][color=darkred]
>>>your problem?
>>>>
>>>>Bill
>>>>
>>>>
>>>>.
>>>>
>>>.
>>>[/color][/color]
>.
>[/color]

Ed Siff

See
[url]http://groups.google[/url].
com/groups?
q=power+user+add+printer&hl=en&lr=&ie=UTF-8&oe=UTF-8&newwindow=1&safe=off&selm
=3b3ad8ce.1238530%40news.supernews.com&rnum=7

"The user needs to be a member of the local Power Users or
Administrators group on the workstation. In User Manager, add the
global group Domain Users from your domain to the local group Power
Users (or Administrators), assuming your security policies would allow
such."

Ed


In article <120fa01c4110f$25483f90$a501280a@phx.gbl>, "Mike_Bee"
wrote:[color=blue]
>Still getting ACCESS DENIED
>I am not on as an Admin when I run this command line. My
>goal is to run this in a logon script, but I am also
>having trouble getting my logon scripts to work.
>
>Please assist
>[color=green]
>>-----Original Message-----
>>rundll32 printui.dll,PrintUIEntry /il /c\\[remote[/color]
>computer netbios name][color=green]
>>
>>Ed
>>
>>In article <120d201c4110c$ebdcc390[/color]
>$a501280a@phx.gbl>, "Mike_Bee"[color=green]
>> wrote:[color=darkred]
>>>I all tried
>>>
>>>rundll32 printui.dll,PrintUIEntry /c\\IP-address /n\\ip-
>>>addres\printer
>>>
>>>The error I am getting now is access denied
>>>
>>>>-----Original Message-----
>>>>I would like to have some sort of logon script for
>>>>network mapping, printers, and default desktop load[/color][/color]
>upon[color=green][color=darkred]
>>>>a users logon. If anything ever changes I can just
>>>apply
>>>>it to the script. So my questions is what is the[/color][/color]
>proper[color=green][color=darkred]
>>>>command line to do the printers
>>>>I have a Batch file for the network mappings already.
>>>So
>>>>My next step is the printers.
>>>>
>>>>Also I am unable to get my logon script to run. Is
>>>there
>>>>a special naming scheme.
>>>>
>>>>>-----Original Message-----
>>>>>Mike_Bee wrote:
>>>>>
>>>>>> I would like to know the proper command line for
>>>>having a logon script of
>>>>>> batch file setup network printer automatically. I
>>>>have found some
>>>>>> information on this, but I am having trouble
>>>executing
>>>>the command line.
>>>>>>
>>>>>> This is the command line that I was given.
>>>>>> Command Line: rundll32 printui.dll,PrintUIEntry /?
>>>>>
>>>>>Hi Mike,
>>>>>
>>>>>That command will simply display the help dialog for
>>>>PrintUIEntry. As you
>>>>>can see, there's lots of things you can do.
>>>>>
>>>>>But it does lead to a question. On Windows 2000 and
>>>>later, you can
>>>>>establish "per-machine printers": Network-attached
>>>>printers that appear no
>>>>>matter who is logged onto the machine. Will that[/color][/color]
>solve[color=green][color=darkred]
>>>>your problem?
>>>>>
>>>>>Bill
>>>>>
>>>>>
>>>>>.
>>>>>
>>>>.
>>>>[/color]
>>.
>>[/color][/color]

Mike_Bee
Thank You for all of your help. I got it to work, the
only thing that I do not like about the script is that
when it runs it shows a window that it is searching for
it. I would like it to be a quite setup. Also I tried
using the default printer switch and it does not work
until it runs a second time. Is there a way to resolve
these two issues I am having.
[color=blue]
>-----Original Message-----
>
>See
>[url]http://groups.google[/url].
>com/groups?
>q=power+user+add+printer&hl=en&lr=&ie=UTF-8&oe=UTF-[/color]
8&newwindow=1&safe=off&selm[color=blue]
>=3b3ad8ce.1238530%40news.supernews.com&rnum=7
>
>"The user needs to be a member of the local Power Users[/color]
or[color=blue]
>Administrators group on the workstation. In User[/color]
Manager, add the[color=blue]
>global group Domain Users from your domain to the local[/color]
group Power[color=blue]
>Users (or Administrators), assuming your security[/color]
policies would allow[color=blue]
>such."
>
>Ed
>
>
>In article <120fa01c4110f$25483f90[/color]
$a501280a@phx.gbl>, "Mike_Bee"[color=blue]
> wrote:[color=green]
>>Still getting ACCESS DENIED
>>I am not on as an Admin when I run this command line.[/color][/color]
My[color=blue][color=green]
>>goal is to run this in a logon script, but I am also
>>having trouble getting my logon scripts to work.
>>
>>Please assist
>>[color=darkred]
>>>-----Original Message-----
>>>rundll32 printui.dll,PrintUIEntry /il /c\\[remote[/color]
>>computer netbios name][color=darkred]
>>>
>>>Ed
>>>
>>>In article <120d201c4110c$ebdcc390[/color]
>>$a501280a@phx.gbl>, "Mike_Bee"[color=darkred]
>>> wrote:
>>>>I all tried
>>>>
>>>>rundll32 printui.dll,PrintUIEntry /c\\IP-[/color][/color][/color]
address /n\\ip-[color=blue][color=green][color=darkred]
>>>>addres\printer
>>>>
>>>>The error I am getting now is access denied
>>>>
>>>>>-----Original Message-----
>>>>>I would like to have some sort of logon script for
>>>>>network mapping, printers, and default desktop load[/color]
>>upon[color=darkred]
>>>>>a users logon. If anything ever changes I can just
>>>>apply
>>>>>it to the script. So my questions is what is the[/color]
>>proper[color=darkred]
>>>>>command line to do the printers
>>>>>I have a Batch file for the network mappings[/color][/color][/color]
already.[color=blue][color=green][color=darkred]
>>>>So
>>>>>My next step is the printers.
>>>>>
>>>>>Also I am unable to get my logon script to run. Is
>>>>there
>>>>>a special naming scheme.
>>>>>
>>>>>>-----Original Message-----
>>>>>>Mike_Bee [/color][/color][/color]
wrote:[color=blue][color=green][color=darkred]
>>>>>>
>>>>>>> I would like to know the proper command line for
>>>>>having a logon script of
>>>>>>> batch file setup network printer automatically.[/color][/color][/color]
I[color=blue][color=green][color=darkred]
>>>>>have found some
>>>>>>> information on this, but I am having trouble
>>>>executing
>>>>>the command line.
>>>>>>>
>>>>>>> This is the command line that I was given.
>>>>>>> Command Line: rundll32[/color][/color][/color]
printui.dll,PrintUIEntry /?[color=blue][color=green][color=darkred]
>>>>>>
>>>>>>Hi Mike,
>>>>>>
>>>>>>That command will simply display the help dialog[/color][/color][/color]
for[color=blue][color=green][color=darkred]
>>>>>PrintUIEntry. As you
>>>>>>can see, there's lots of things you can do.
>>>>>>
>>>>>>But it does lead to a question. On Windows 2000 and
>>>>>later, you can
>>>>>>establish "per-machine printers": Network-attached
>>>>>printers that appear no
>>>>>>matter who is logged onto the machine. Will that[/color]
>>solve[color=darkred]
>>>>>your problem?
>>>>>>
>>>>>>Bill
>>>>>>
>>>>>>
>>>>>>.
>>>>>>
>>>>>.
>>>>>
>>>.
>>>[/color][/color]
>.
>[/color]

Bill Stewart
Mike_Bee wrote:

> I would like to know the proper command line for having a logon script of
> batch file setup network printer automatically. I have found some
> information on this, but I am having trouble executing the command line.
>
> This is the command line that I was given.
> Command Line: rundll32 printui.dll,PrintUIEntry /?

Hi Mike,

That command will simply display the help dialog for PrintUIEntry. As you
can see, there's lots of things you can do.

But it does lead to a question. On Windows 2000 and later, you can
establish "per-machine printers": Network-attached printers that appear no
matter who is logged onto the machine. Will that solve your problem?

Bill



I would like to have some sort of logon script for
network mapping, printers, and default desktop load upon
a users logon. If anything ever changes I can just apply
it to the script. So my questions is what is the proper
command line to do the printers
I have a Batch file for the network mappings already. So
My next step is the printers.

Also I am unable to get my logon script to run. Is there
a special naming scheme.

>-----Original Message-----
>Mike_Bee wrote:
>
>> I would like to know the proper command line for
having a logon script of
>> batch file setup network printer automatically. I
have found some
>> information on this, but I am having trouble executing
the command line.
>>
>> This is the command line that I was given.
>> Command Line: rundll32 printui.dll,PrintUIEntry /?
>
>Hi Mike,
>
>That command will simply display the help dialog for
PrintUIEntry. As you
>can see, there's lots of things you can do.
>
>But it does lead to a question. On Windows 2000 and
later, you can
>establish "per-machine printers": Network-attached
printers that appear no
>matter who is logged onto the machine. Will that solve
your problem?
>
>Bill
>
>
>.
>

Albert Fuchigami
Bruce Sanderson's Web Site provided all the information I needed

http://members.shaw.ca/bsanders/NetPrinterAllUsers.htm

Hope that helps.



On Tue, 23 Mar 2004 07:08:48 -0800, "Mike_Bee"
wrote:

>I would like to know the proper command line for having a
>logon script of batch file setup network printer
>automatically. I have found some information on this,
>but I am having trouble executing the command line.
>
>
>This is the command line that I was given.
>Command Line: rundll32 printui.dll,PrintUIEntry /?
>


Mike_Bee
Here is the command line that I am running from CMD
Prompt:

rundll32
printui.dll,PrintUIEntry /ga /c\\servername\sharename /n\\
test

There is something wrong here.


>I would like to have some sort of logon script for
>network mapping, printers, and default desktop load upon
>a users logon. If anything ever changes I can just
apply
>it to the script. So my questions is what is the proper
>command line to do the printers
>I have a Batch file for the network mappings already.
So
>My next step is the printers.
>
>Also I am unable to get my logon script to run. Is
there
>a special naming scheme.
>
>>-----Original Message-----
>>Mike_Bee wrote:
>>
>>> I would like to know the proper command line for
>having a logon script of
>>> batch file setup network printer automatically. I
>have found some
>>> information on this, but I am having trouble
executing
>the command line.
>>>
>>> This is the command line that I was given.
>>> Command Line: rundll32 printui.dll,PrintUIEntry /?
>>
>>Hi Mike,
>>
>>That command will simply display the help dialog for
>PrintUIEntry. As you
>>can see, there's lots of things you can do.
>>
>>But it does lead to a question. On Windows 2000 and
>later, you can
>>establish "per-machine printers": Network-attached
>printers that appear no
>>matter who is logged onto the machine. Will that solve
>your problem?
>>
>>Bill
>>
>>
>>.
>>
>.
>

Mike_Bee
I all tried

rundll32 printui.dll,PrintUIEntry /c\\IP-address /n\\ip-
addres\printer

The error I am getting now is access denied

>-----Original Message-----
>I would like to have some sort of logon script for
>network mapping, printers, and default desktop load upon
>a users logon. If anything ever changes I can just
apply
>it to the script. So my questions is what is the proper
>command line to do the printers
>I have a Batch file for the network mappings already.
So
>My next step is the printers.
>
>Also I am unable to get my logon script to run. Is
there
>a special naming scheme.
>
>>-----Original Message-----
>>Mike_Bee wrote:
>>
>>> I would like to know the proper command line for
>having a logon script of
>>> batch file setup network printer automatically. I
>have found some
>>> information on this, but I am having trouble
executing
>the command line.
>>>
>>> This is the command line that I was given.
>>> Command Line: rundll32 printui.dll,PrintUIEntry /?
>>
>>Hi Mike,
>>
>>That command will simply display the help dialog for
>PrintUIEntry. As you
>>can see, there's lots of things you can do.
>>
>>But it does lead to a question. On Windows 2000 and
>later, you can
>>establish "per-machine printers": Network-attached
>printers that appear no
>>matter who is logged onto the machine. Will that solve
>your problem?
>>
>>Bill
>>
>>
>>.
>>
>.
>

Ed Siff
rundll32 printui.dll,PrintUIEntry /il /c\\[remote computer netbios name]

Ed

In article <120d201c4110c$ebdcc390$a501280a@phx.gbl>, "Mike_Bee"
wrote:[color=blue]
>I all tried
>
>rundll32 printui.dll,PrintUIEntry /c\\IP-address /n\\ip-
>addres\printer
>
>The error I am getting now is access denied
>[color=green]
>>-----Original Message-----
>>I would like to have some sort of logon script for
>>network mapping, printers, and default desktop load upon
>>a users logon. If anything ever changes I can just[/color]
>apply[color=green]
>>it to the script. So my questions is what is the proper
>>command line to do the printers
>>I have a Batch file for the network mappings already.[/color]
>So[color=green]
>>My next step is the printers.
>>
>>Also I am unable to get my logon script to run. Is[/color]
>there[color=green]
>>a special naming scheme.
>>[color=darkred]
>>>-----Original Message-----
>>>Mike_Bee wrote:
>>>
>>>> I would like to know the proper command line for[/color]
>>having a logon script of[color=darkred]
>>>> batch file setup network printer automatically. I[/color]
>>have found some[color=darkred]
>>>> information on this, but I am having trouble[/color][/color]
>executing[color=green]
>>the command line.[color=darkred]
>>>>
>>>> This is the command line that I was given.
>>>> Command Line: rundll32 printui.dll,PrintUIEntry /?
>>>
>>>Hi Mike,
>>>
>>>That command will simply display the help dialog for[/color]
>>PrintUIEntry. As you[color=darkred]
>>>can see, there's lots of things you can do.
>>>
>>>But it does lead to a question. On Windows 2000 and[/color]
>>later, you can[color=darkred]
>>>establish "per-machine printers": Network-attached[/color]
>>printers that appear no[color=darkred]
>>>matter who is logged onto the machine. Will that solve[/color]
>>your problem?[color=darkred]
>>>
>>>Bill
>>>
>>>
>>>.
>>>[/color]
>>.
>>[/color][/color]

Mike_Bee
Still getting ACCESS DENIED
I am not on as an Admin when I run this command line. My
goal is to run this in a logon script, but I am also
having trouble getting my logon scripts to work.

Please assist
[color=blue]
>-----Original Message-----
>rundll32 printui.dll,PrintUIEntry /il /c\\[remote[/color]
computer netbios name][color=blue]
>
>Ed
>
>In article <120d201c4110c$ebdcc390[/color]
$a501280a@phx.gbl>, "Mike_Bee"[color=blue]
> wrote:[color=green]
>>I all tried
>>
>>rundll32 printui.dll,PrintUIEntry /c\\IP-address /n\\ip-
>>addres\printer
>>
>>The error I am getting now is access denied
>>[color=darkred]
>>>-----Original Message-----
>>>I would like to have some sort of logon script for
>>>network mapping, printers, and default desktop load[/color][/color][/color]
upon[color=blue][color=green][color=darkred]
>>>a users logon. If anything ever changes I can just[/color]
>>apply[color=darkred]
>>>it to the script. So my questions is what is the[/color][/color][/color]
proper[color=blue][color=green][color=darkred]
>>>command line to do the printers
>>>I have a Batch file for the network mappings already.[/color]
>>So[color=darkred]
>>>My next step is the printers.
>>>
>>>Also I am unable to get my logon script to run. Is[/color]
>>there[color=darkred]
>>>a special naming scheme.
>>>
>>>>-----Original Message-----
>>>>Mike_Bee wrote:
>>>>
>>>>> I would like to know the proper command line for
>>>having a logon script of
>>>>> batch file setup network printer automatically. I
>>>have found some
>>>>> information on this, but I am having trouble[/color]
>>executing[color=darkred]
>>>the command line.
>>>>>
>>>>> This is the command line that I was given.
>>>>> Command Line: rundll32 printui.dll,PrintUIEntry /?
>>>>
>>>>Hi Mike,
>>>>
>>>>That command will simply display the help dialog for
>>>PrintUIEntry. As you
>>>>can see, there's lots of things you can do.
>>>>
>>>>But it does lead to a question. On Windows 2000 and
>>>later, you can
>>>>establish "per-machine printers": Network-attached
>>>printers that appear no
>>>>matter who is logged onto the machine. Will that[/color][/color][/color]
solve[color=blue][color=green][color=darkred]
>>>your problem?
>>>>
>>>>Bill
>>>>
>>>>
>>>>.
>>>>
>>>.
>>>[/color][/color]
>.
>[/color]

Ed Siff

See
[url]http://groups.google[/url].
com/groups?
q=power+user+add+printer&hl=en&lr=&ie=UTF-8&oe=UTF-8&newwindow=1&safe=off&selm
=3b3ad8ce.1238530%40news.supernews.com&rnum=7

"The user needs to be a member of the local Power Users or
Administrators group on the workstation. In User Manager, add the
global group Domain Users from your domain to the local group Power
Users (or Administrators), assuming your security policies would allow
such."

Ed


In article <120fa01c4110f$25483f90$a501280a@phx.gbl>, "Mike_Bee"
wrote:[color=blue]
>Still getting ACCESS DENIED
>I am not on as an Admin when I run this command line. My
>goal is to run this in a logon script, but I am also
>having trouble getting my logon scripts to work.
>
>Please assist
>[color=green]
>>-----Original Message-----
>>rundll32 printui.dll,PrintUIEntry /il /c\\[remote[/color]
>computer netbios name][color=green]
>>
>>Ed
>>
>>In article <120d201c4110c$ebdcc390[/color]
>$a501280a@phx.gbl>, "Mike_Bee"[color=green]
>> wrote:[color=darkred]
>>>I all tried
>>>
>>>rundll32 printui.dll,PrintUIEntry /c\\IP-address /n\\ip-
>>>addres\printer
>>>
>>>The error I am getting now is access denied
>>>
>>>>-----Original Message-----
>>>>I would like to have some sort of logon script for
>>>>network mapping, printers, and default desktop load[/color][/color]
>upon[color=green][color=darkred]
>>>>a users logon. If anything ever changes I can just
>>>apply
>>>>it to the script. So my questions is what is the[/color][/color]
>proper[color=green][color=darkred]
>>>>command line to do the printers
>>>>I have a Batch file for the network mappings already.
>>>So
>>>>My next step is the printers.
>>>>
>>>>Also I am unable to get my logon script to run. Is
>>>there
>>>>a special naming scheme.
>>>>
>>>>>-----Original Message-----
>>>>>Mike_Bee wrote:
>>>>>
>>>>>> I would like to know the proper command line for
>>>>having a logon script of
>>>>>> batch file setup network printer automatically. I
>>>>have found some
>>>>>> information on this, but I am having trouble
>>>executing
>>>>the command line.
>>>>>>
>>>>>> This is the command line that I was given.
>>>>>> Command Line: rundll32 printui.dll,PrintUIEntry /?
>>>>>
>>>>>Hi Mike,
>>>>>
>>>>>That command will simply display the help dialog for
>>>>PrintUIEntry. As you
>>>>>can see, there's lots of things you can do.
>>>>>
>>>>>But it does lead to a question. On Windows 2000 and
>>>>later, you can
>>>>>establish "per-machine printers": Network-attached
>>>>printers that appear no
>>>>>matter who is logged onto the machine. Will that[/color][/color]
>solve[color=green][color=darkred]
>>>>your problem?
>>>>>
>>>>>Bill
>>>>>
>>>>>
>>>>>.
>>>>>
>>>>.
>>>>[/color]
>>.
>>[/color][/color]

Mike_Bee
Thank You for all of your help. I got it to work, the
only thing that I do not like about the script is that
when it runs it shows a window that it is searching for
it. I would like it to be a quite setup. Also I tried
using the default printer switch and it does not work
until it runs a second time. Is there a way to resolve
these two issues I am having.
[color=blue]
>-----Original Message-----
>
>See
>[url]http://groups.google[/url].
>com/groups?
>q=power+user+add+printer&hl=en&lr=&ie=UTF-8&oe=UTF-[/color]
8&newwindow=1&safe=off&selm[color=blue]
>=3b3ad8ce.1238530%40news.supernews.com&rnum=7
>
>"The user needs to be a member of the local Power Users[/color]
or[color=blue]
>Administrators group on the workstation. In User[/color]
Manager, add the[color=blue]
>global group Domain Users from your domain to the local[/color]
group Power[color=blue]
>Users (or Administrators), assuming your security[/color]
policies would allow[color=blue]
>such."
>
>Ed
>
>
>In article <120fa01c4110f$25483f90[/color]
$a501280a@phx.gbl>, "Mike_Bee"[color=blue]
> wrote:[color=green]
>>Still getting ACCESS DENIED
>>I am not on as an Admin when I run this command line.[/color][/color]
My[color=blue][color=green]
>>goal is to run this in a logon script, but I am also
>>having trouble getting my logon scripts to work.
>>
>>Please assist
>>[color=darkred]
>>>-----Original Message-----
>>>rundll32 printui.dll,PrintUIEntry /il /c\\[remote[/color]
>>computer netbios name][color=darkred]
>>>
>>>Ed
>>>
>>>In article <120d201c4110c$ebdcc390[/color]
>>$a501280a@phx.gbl>, "Mike_Bee"[color=darkred]
>>> wrote:
>>>>I all tried
>>>>
>>>>rundll32 printui.dll,PrintUIEntry /c\\IP-[/color][/color][/color]
address /n\\ip-[color=blue][color=green][color=darkred]
>>>>addres\printer
>>>>
>>>>The error I am getting now is access denied
>>>>
>>>>>-----Original Message-----
>>>>>I would like to have some sort of logon script for
>>>>>network mapping, printers, and default desktop load[/color]
>>upon[color=darkred]
>>>>>a users logon. If anything ever changes I can just
>>>>apply
>>>>>it to the script. So my questions is what is the[/color]
>>proper[color=darkred]
>>>>>command line to do the printers
>>>>>I have a Batch file for the network mappings[/color][/color][/color]
already.[color=blue][color=green][color=darkred]
>>>>So
>>>>>My next step is the printers.
>>>>>
>>>>>Also I am unable to get my logon script to run. Is
>>>>there
>>>>>a special naming scheme.
>>>>>
>>>>>>-----Original Message-----
>>>>>>Mike_Bee [/color][/color][/color]
wrote:[color=blue][color=green][color=darkred]
>>>>>>
>>>>>>> I would like to know the proper command line for
>>>>>having a logon script of
>>>>>>> batch file setup network printer automatically.[/color][/color][/color]
I[color=blue][color=green][color=darkred]
>>>>>have found some
>>>>>>> information on this, but I am having trouble
>>>>executing
>>>>>the command line.
>>>>>>>
>>>>>>> This is the command line that I was given.
>>>>>>> Command Line: rundll32[/color][/color][/color]
printui.dll,PrintUIEntry /?[color=blue][color=green][color=darkred]
>>>>>>
>>>>>>Hi Mike,
>>>>>>
>>>>>>That command will simply display the help dialog[/color][/color][/color]
for[color=blue][color=green][color=darkred]
>>>>>PrintUIEntry. As you
>>>>>>can see, there's lots of things you can do.
>>>>>>
>>>>>>But it does lead to a question. On Windows 2000 and
>>>>>later, you can
>>>>>>establish "per-machine printers": Network-attached
>>>>>printers that appear no
>>>>>>matter who is logged onto the machine. Will that[/color]
>>solve[color=darkred]
>>>>>your problem?
>>>>>>
>>>>>>Bill
>>>>>>
>>>>>>
>>>>>>.
>>>>>>
>>>>>.
>>>>>
>>>.
>>>[/color][/color]
>.
>[/color]