MS OS - Microsoft Forum to Usenet Gateway Header Right
Navbar Left Navbar Right


Domain/AD environment where dcs are Win2k3 and print server is Win 2000 Server. The following logon script is used to map HP Laserjet 4200/4250 printers: Set WshNetwork = CreateObject("WScript.Network") Set



Reply
Old 04-30-2008, 06:00 PM   #1
D.P. Roberts
Guest
 
Posts: n/a
Default Printer logon script doesn't work with Vista

Domain/AD environment where dcs are Win2k3 and print server is Win 2000
Server. The following logon script is used to map HP Laserjet 4200/4250
printers:

Set WshNetwork = CreateObject("WScript.Network")
Set WshShell = CreateObject("WScript.Shell")
WshNetwork.AddWindowsPrinterConnection \\printserver\printername

This works fine on all our XP clients but not on our Vista clients, even
though the printers have been configured with vista drivers on the print
server. When logging on to a Vista client, the printers are not installed
and the following message is displayed:

"To use the shared printer \\printserver\printername, you need to install
the printer driver on your computer. If you do not recognize or trust the
name and location of the printer, do not install the driver."

The user then has the option to Install the driver, but it requires
administrative access to do so (our users are not admins).


Any suggestions?


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-30-2008, 07:32 PM   #2
Matt S
Guest
 
Posts: n/a
Default Re: Printer logon script doesn't work with Vista

First thing I recommend is upgrading your print server to Win2k3 R2... there
is a new Print Management option which allows deployment of printers through
Group Policy. This has been a huge help for me. You can deploy printers to
various groups of people or various groups of computers. It is quite
flexible.

The best thing about deploying printers this way is that Vista automatically
installs the printer when it sees a change in the GPO.

Otherwise, if you don't want to upgrade, it may be a local security policy
setting disallowing certain users to "Install printers". This should be able
to be set from a GPO also.

Good luck


"D.P. Roberts" <dproberts@nospampleeze.com> wrote in message
news:uGw23XxqIHA.3940@TK2MSFTNGP03.phx.gbl...
> Domain/AD environment where dcs are Win2k3 and print server is Win 2000
> Server. The following logon script is used to map HP Laserjet 4200/4250
> printers:
>
> Set WshNetwork = CreateObject("WScript.Network")
> Set WshShell = CreateObject("WScript.Shell")
> WshNetwork.AddWindowsPrinterConnection \\printserver\printername
>
> This works fine on all our XP clients but not on our Vista clients, even
> though the printers have been configured with vista drivers on the print
> server. When logging on to a Vista client, the printers are not installed
> and the following message is displayed:
>
> "To use the shared printer \\printserver\printername, you need to install
> the printer driver on your computer. If you do not recognize or trust the
> name and location of the printer, do not install the driver."
>
> The user then has the option to Install the driver, but it requires
> administrative access to do so (our users are not admins).
>
>
> Any suggestions?
>
>

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 05-01-2008, 10:24 AM   #3
D.P. Roberts
Guest
 
Posts: n/a
Default Re: Printer logon script doesn't work with Vista

Thanks, Matt. We are already deploying printers to groups of people and
computers with Group Policy (via logon scripts configured in GPOs) - are you
talking about something different? If so, where in GP are these settings?

"Matt S" <matts@donotreply2.me> wrote in message
news:OwFgRLyqIHA.4788@TK2MSFTNGP03.phx.gbl...
> First thing I recommend is upgrading your print server to Win2k3 R2...
> there is a new Print Management option which allows deployment of printers
> through Group Policy. This has been a huge help for me. You can deploy
> printers to various groups of people or various groups of computers. It is
> quite flexible.
>
> The best thing about deploying printers this way is that Vista
> automatically installs the printer when it sees a change in the GPO.
>
> Otherwise, if you don't want to upgrade, it may be a local security policy
> setting disallowing certain users to "Install printers". This should be
> able to be set from a GPO also.
>
> Good luck
>
>
> "D.P. Roberts" <dproberts@nospampleeze.com> wrote in message
> news:uGw23XxqIHA.3940@TK2MSFTNGP03.phx.gbl...
>> Domain/AD environment where dcs are Win2k3 and print server is Win 2000
>> Server. The following logon script is used to map HP Laserjet 4200/4250
>> printers:
>>
>> Set WshNetwork = CreateObject("WScript.Network")
>> Set WshShell = CreateObject("WScript.Shell")
>> WshNetwork.AddWindowsPrinterConnection \\printserver\printername
>>
>> This works fine on all our XP clients but not on our Vista clients, even
>> though the printers have been configured with vista drivers on the print
>> server. When logging on to a Vista client, the printers are not installed
>> and the following message is displayed:
>>
>> "To use the shared printer \\printserver\printername, you need to install
>> the printer driver on your computer. If you do not recognize or trust the
>> name and location of the printer, do not install the driver."
>>
>> The user then has the option to Install the driver, but it requires
>> administrative access to do so (our users are not admins).
>>
>>
>> Any suggestions?
>>
>>


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-01-2008, 06:19 PM   #4
Matt S
Guest
 
Posts: n/a
Default Re: Printer logon script doesn't work with Vista

Hi again,

I am pretty sure I used this site:
http://www.windowsnetworking.com/art...indows-R2.html
as a reference to deploy printers...

There is actually a new feature built into Windows Server 2003 R2. The only
script I use in the process is running the Printer Push Connection
executable at login on my XP machines. Vista has this built in and does it
automatically when GP refreshes. It is very nice!

In an environment where printer deployments start getting complex I think it
is great! We deploy the printer through group policy and then physically
deliver the printer to the department requiring it. If we deploy it days in
advance they will already have the printer deployed to their workstation!

It even successfully deploys to Terminal Services servers.

Good luck, keep asking questions if you need


"D.P. Roberts" <dproberts@nospampleeze.com> wrote in message
news:O3aF795qIHA.552@TK2MSFTNGP06.phx.gbl...
> Thanks, Matt. We are already deploying printers to groups of people and
> computers with Group Policy (via logon scripts configured in GPOs) - are
> you talking about something different? If so, where in GP are these
> settings?
>
> "Matt S" <matts@donotreply2.me> wrote in message
> news:OwFgRLyqIHA.4788@TK2MSFTNGP03.phx.gbl...
>> First thing I recommend is upgrading your print server to Win2k3 R2...
>> there is a new Print Management option which allows deployment of
>> printers through Group Policy. This has been a huge help for me. You can
>> deploy printers to various groups of people or various groups of
>> computers. It is quite flexible.
>>
>> The best thing about deploying printers this way is that Vista
>> automatically installs the printer when it sees a change in the GPO.
>>
>> Otherwise, if you don't want to upgrade, it may be a local security
>> policy setting disallowing certain users to "Install printers". This
>> should be able to be set from a GPO also.
>>
>> Good luck
>>
>>
>> "D.P. Roberts" <dproberts@nospampleeze.com> wrote in message
>> news:uGw23XxqIHA.3940@TK2MSFTNGP03.phx.gbl...
>>> Domain/AD environment where dcs are Win2k3 and print server is Win 2000
>>> Server. The following logon script is used to map HP Laserjet 4200/4250
>>> printers:
>>>
>>> Set WshNetwork = CreateObject("WScript.Network")
>>> Set WshShell = CreateObject("WScript.Shell")
>>> WshNetwork.AddWindowsPrinterConnection \\printserver\printername
>>>
>>> This works fine on all our XP clients but not on our Vista clients, even
>>> though the printers have been configured with vista drivers on the print
>>> server. When logging on to a Vista client, the printers are not
>>> installed and the following message is displayed:
>>>
>>> "To use the shared printer \\printserver\printername, you need to
>>> install the printer driver on your computer. If you do not recognize or
>>> trust the name and location of the printer, do not install the driver."
>>>
>>> The user then has the option to Install the driver, but it requires
>>> administrative access to do so (our users are not admins).
>>>
>>>
>>> Any suggestions?
>>>
>>>

>

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-14-2008, 08:19 AM   #5
ShowbizJim
Guest
 
Posts: n/a
Default Re: Printer logon script doesn't work with Vista



"Matt S" wrote:

> Hi again,
>
> I am pretty sure I used this site:
> http://www.windowsnetworking.com/art...indows-R2.html
> as a reference to deploy printers...
>
> There is actually a new feature built into Windows Server 2003 R2. The only
> script I use in the process is running the Printer Push Connection
> executable at login on my XP machines. Vista has this built in and does it
> automatically when GP refreshes. It is very nice!
>
> In an environment where printer deployments start getting complex I think it
> is great! We deploy the printer through group policy and then physically
> deliver the printer to the department requiring it. If we deploy it days in
> advance they will already have the printer deployed to their workstation!
>
> It even successfully deploys to Terminal Services servers.
>
> Good luck, keep asking questions if you need
>
>
> "D.P. Roberts" <dproberts@nospampleeze.com> wrote in message
> news:O3aF795qIHA.552@TK2MSFTNGP06.phx.gbl...
> > Thanks, Matt. We are already deploying printers to groups of people and
> > computers with Group Policy (via logon scripts configured in GPOs) - are
> > you talking about something different? If so, where in GP are these
> > settings?
> >
> > "Matt S" <matts@donotreply2.me> wrote in message
> > news:OwFgRLyqIHA.4788@TK2MSFTNGP03.phx.gbl...
> >> First thing I recommend is upgrading your print server to Win2k3 R2...
> >> there is a new Print Management option which allows deployment of
> >> printers through Group Policy. This has been a huge help for me. You can
> >> deploy printers to various groups of people or various groups of
> >> computers. It is quite flexible.
> >>
> >> The best thing about deploying printers this way is that Vista
> >> automatically installs the printer when it sees a change in the GPO.
> >>
> >> Otherwise, if you don't want to upgrade, it may be a local security
> >> policy setting disallowing certain users to "Install printers". This
> >> should be able to be set from a GPO also.
> >>
> >> Good luck
> >>
> >>
> >> "D.P. Roberts" <dproberts@nospampleeze.com> wrote in message
> >> news:uGw23XxqIHA.3940@TK2MSFTNGP03.phx.gbl...
> >>> Domain/AD environment where dcs are Win2k3 and print server is Win 2000
> >>> Server. The following logon script is used to map HP Laserjet 4200/4250
> >>> printers:
> >>>
> >>> Set WshNetwork = CreateObject("WScript.Network")
> >>> Set WshShell = CreateObject("WScript.Shell")
> >>> WshNetwork.AddWindowsPrinterConnection \\printserver\printername
> >>>
> >>> This works fine on all our XP clients but not on our Vista clients, even
> >>> though the printers have been configured with vista drivers on the print
> >>> server. When logging on to a Vista client, the printers are not
> >>> installed and the following message is displayed:
> >>>
> >>> "To use the shared printer \\printserver\printername, you need to
> >>> install the printer driver on your computer. If you do not recognize or
> >>> trust the name and location of the printer, do not install the driver."
> >>>
> >>> The user then has the option to Install the driver, but it requires
> >>> administrative access to do so (our users are not admins).
> >>>
> >>>
> >>> Any suggestions?
> >>>
> >>>

> >


Don't know if you ever fixed this but it just sounds like Vista's UAC that's
causing the problem. If you go into the Local Security Policy in Vista, you
should be able to disable the popup prompt for driver for non-admins.

See Here :-
http://blogs.technet.com/askperf/arc...int-print.aspx
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-30-2008, 08:44 AM   #6
Madison
Guest
 
Posts: n/a
Default RE: Printer logon script doesn't work with Vista

Hi D.P. Roberts,

I used the same codes like you to connect to specific printer to print the
job and disconnect the printer. We do not want users to have that printer
connection all the time because this printer has special paper only connected
by running the program. This program works fine with XP window but not Vista
window. Do you have any idea?


"D.P. Roberts" wrote:

> Domain/AD environment where dcs are Win2k3 and print server is Win 2000
> Server. The following logon script is used to map HP Laserjet 4200/4250
> printers:
>
> Set WshNetwork = CreateObject("WScript.Network")
> Set WshShell = CreateObject("WScript.Shell")
> WshNetwork.AddWindowsPrinterConnection \\printserver\printername
>
> This works fine on all our XP clients but not on our Vista clients, even
> though the printers have been configured with vista drivers on the print
> server. When logging on to a Vista client, the printers are not installed
> and the following message is displayed:
>
> "To use the shared printer \\printserver\printername, you need to install
> the printer driver on your computer. If you do not recognize or trust the
> name and location of the printer, do not install the driver."
>
> The user then has the option to Install the driver, but it requires
> administrative access to do so (our users are not admins).
>
>
> Any suggestions?
>
>
>

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Logon script and Vista clients MarcusB Windows 2003 Server 0 04-04-2008 04:05 PM
Logon Script will not run Absolutely Windows 2003 Server 5 01-29-2008 06:56 AM
Why won't this script work in Vista? ToddAndMargo Windows Vista 5 01-28-2008 01:16 AM
Logon Script Eldingo Windows XP 3 11-27-2007 03:11 PM
Logon script 2Tian Windows XP 1 07-12-2007 03:47 PM


All times are GMT -5. The time now is 02:20 PM.


Powered by vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Skin designed by CompletevB
Copyright © 2005-2008 Robert Schwarz, Sr. - All rights reserved - MS OS is an independent web site and is not affiliated with Microsoft Corporation.