[windows2000] Re: AddWindowsPrinterConnection

  • From: Paul Butler <Paul.Butler@xxxxxxxxxxxxxxxxxxxx>
  • To: "'windows2000@xxxxxxxxxxxxx'" <windows2000@xxxxxxxxxxxxx>
  • Date: Fri, 21 Mar 2003 09:01:37 -0000

Yes, the "Everyone" group has print access, should I extend this to include
the PC? or something else?


Paul

-----Original Message-----
From: Chris Berry [mailto:compjma@xxxxxxxxxxx]
Sent: 20 March 2003 18:28
To: windows2000@xxxxxxxxxxxxx
Subject: [windows2000] Re: AddWindowsPrinterConnection



>From: Paul Butler <Paul.Butler@xxxxxxxxxxxxxxxxxxxx>
>I am trying to apply a script to some PC's which connect a windows printer.
>
>Set objNetwork = Wscript.CreateObject("WScript.Network")
>objNetwork.AddWindowsPrinterConnection "\\daservuk\sales"
>
>This is being done using an AD Group Policy which runs at Startup (on the
>computer not the user, this is important, it cannot be done using the
>user...more complicated).  However it gets an error every time saying "the
>system cannot find the file specified".  It seems as though I have no 
>access
>to the printer.  I have access to the scripts as I can map drives OK.

Did you check the permissions on the printer, perhaps your script is 
executing as someone who isn't allowed.

Chris Berry
compjma@xxxxxxxxxxx
Systems Administrator
JM Associates

"The packets involved in the transmission of this email were manually 
inspected by: Bob Smith, stateful packet inspector #23."







_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus

*********************************************************
This Week's Sponsor - RTO Software / TScale
TScale increases terminal server capacity. 
Get 30-40% more users per server to save $$$ and time. 
Add users now! - not more servers. If you're using Citrix, 
you must learn about TScale!  Free 30-day eval:
http://www.rtosoft.com/Enter.asp?ID=79
**********************************************************
==================================
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm
*********************************************************
This Week's Sponsor - RTO Software / TScale
TScale increases terminal server capacity. 
Get 30-40% more users per server to save $$$ and time. 
Add users now! - not more servers. If you're using Citrix, 
you must learn about TScale!  Free 30-day eval:
http://www.rtosoft.com/Enter.asp?ID=79
**********************************************************
==================================
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm

Other related posts: