Printer Deployment - Windows Server 2003 SP2 32-bit to Windows 7 Pro 64-bit

I am attempting to deploy a printer on a per-user basis via GPO. I am using Windows Server 2003 SP2 32-bit for my server, and my client PC's are all Windows 7 pro 64-bit machines. I have created the appropriate security group to which the policy will apply, and deployed the printer using printer management. I attempted to get the printer connections actually pushed using a startup/logon script so that all clients have to run the 64-bit version of PushPrinterConnections.exe, which I managed to get by extracting the contents of the pmcmgmt.exe package from the MSKB.

Apparently, I shouldn't even have to use PushPrinterConnections.exe since the clients are all Win7-64, and the program should only be required for Win2000 and WinXP clients.  In any case, no printer appears for the clients to use, despite:
a) Making them manually run PushPrinterConnections.exe, just in case the logon script isn't working
b) Repeated log-on/log-off's as well

If anyone has any suggestions, it would be greatly appreciated. Thanks!
LVL 1
dogbertiusAsked:
Who is Participating?
 
naburtonConnect With a Mentor Commented:
Browse the unc path of your server and be sure you have the name correct.  Also, if you have installed this printer manually, delete it.

also found this.... at http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_23878452.html

MapPrinter "\\ford\blue4100"
MapPrinter "\\ford\Royal1RX"
MapPrinter "\\ford\Royal2"
MapPrinter "\\ford\Green1RX"
MapPrinter "\\ford\Green2"
MapPrinter "\\ford\Mid1"
MapPrinter "\\ford\Mid2RX"
 
Sub MapPrinter(strPrinter)
    On Error Resume Next
    Set objNetwork = CreateObject("WScript.Network")
    boolConnected = False
    intAttempts = 1
    While boolConnected = False And intAttempts <= 10
        Err.Clear
        objNetwork.AddWindowsPrinterConnection strPrinter
        If Err.Number <> 0 Then
            intAttempts = intAttempts + 1
            WScript.Sleep 2000
        Else
            boolConnected = True
        End If
    Wend
    Err.Clear
    On Error GoTo 0
End Sub
0
 
naburtonConnect With a Mentor Commented:
look for the .vbs script to add printer to the local pc.  assign the group gpo startup script with thte vbs.

example.vbs

Set net = CreateObject("WScript.Network")
net.AddWindowsPrinterConnection "\\server\printer1"
net.AddWindowsPrinterConnection "\\server\printer2"
net.AddWindowsPrinterConnection "\\server\printer3"
net.AddWindowsPrinterConnection "\\server\printer4"
net.AddWindowsPrinterConnection "\\server\printer5"

check out the site - http://support.microsoft.com/kb/189105
0
 
dogbertiusAuthor Commented:
On line 2 of this script, it get the following error now (I've already setup permissions, etc)
Code: 8007007B
"The filename, directory name, or volume label syntax is incorrect."
0
 
dogbertiusAuthor Commented:
Excellent; Worked like a charm.
0
All Courses

From novice to tech pro — start learning today.