Reply
Old November 10th, 2009 Top | #1
 
forcer's Avatar
OSNN Senior Addict
Joined: October 2002
Posts: 413
Reputation: 20
Power: 118

Default Assigning Printers to Windows Vista Workstations

I have a script that assigns printers to the workstations... it seems to be working fine when connecting printers to windows xp workstations, but not with windows vista.

I've tried a few combination's but either have no connection or it asks to install printer driver at logon but the printer still doesn't appear.

Code:
' Read security group membership
adsDomainGroups.Filter = Array("Group")
For Each adsGroup in adsDomainGroups
 Group = UCase(adsgroup.name)

UserName = UCase(WshNetwork.UserName)
server = "\\server" 'Change to match the users server

 If group = UCASE("staff") Then CheckGroup adsgroup.name, Username, home, server & "\staff$\" & UserName, "staff"
 Next
' Maps network drives
    WshNetwork.MapNetworkDrive "x:", server & "\shared"
    WshNetwork.MapNetworkDrive "s:", server & "\software"
    WshNetwork.MapNetworkDrive "y:", server & "\Childrens Shared"

' Adds classroom printers
        PrinterPath1 = server & "\ICT Suite"
        PrinterDriver1 = "Generic 35C-4 Series PS"
        Wshnetwork.addwindowsprinterconnection Printerpath1, Printerdriver1
        Wshnetwork.setdefaultprinter server & "\ICT Suite"


forcer is offline   Reply With Quote
Old November 10th, 2009 Top | #2

OSNN Folding Team  
fitz's Avatar
XPista7eopard*ix
Joined: April 2004
Location: Chicagoland
Posts: 4,014
Reputation: 2947
Power: 164

Default Re: Assigning Printers to Windows Vista Workstations

are the printer drivers compatible with Vista? Can you add the printers manually while logged in as the user?
fitz is offline   Reply With Quote
Old November 11th, 2009 Top | #3
 
forcer's Avatar
OSNN Senior Addict
Joined: October 2002
Posts: 413
Reputation: 20
Power: 118

Default Re: Assigning Printers to Windows Vista Workstations

Originally Posted by fitz View Post
are the printer drivers compatible with Vista? Can you add the printers manually while logged in as the user?
Yes.


forcer is offline   Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Vista Themes] Vista Blue and Vista Black for Windows Vista Vishal Gupta Desktop Customisation 0 March 8th, 2008 8:10pm
SBS 2003 assigning mapped drives? Heeter Windows Server Systems 25 September 12th, 2007 7:58am
DHCP assigning different subnets DevineGSR Desktop Customisation 8 February 23rd, 2003 11:04pm
Assigning bandwidth for home LAN MeFo Windows Desktop Systems 3 January 29th, 2003 11:46pm
Windows XP optimizations for DAW (Digital Audio Workstations) neutral Windows Desktop Systems 2 May 18th, 2002 12:18am