SB304
asked on
Net use error 67
Hi,
I have an issue with logon script.
I’ve created batch file for mapping drives and it working fine.
Now I’m trying to add shared printers to this file. Shared folders and printers located on same Windows 2003 server. Workstations all Win_XP.
Mapped drive reconnecting – no problem, Printers- Error 67.
They are Network Printers with IPs that I can ping from workstation, but if I use command NET USE I’m getting error.
Any help will be appreciated.
Thanks.
SB304.
I have an issue with logon script.
I’ve created batch file for mapping drives and it working fine.
Now I’m trying to add shared printers to this file. Shared folders and printers located on same Windows 2003 server. Workstations all Win_XP.
Mapped drive reconnecting – no problem, Printers- Error 67.
They are Network Printers with IPs that I can ping from workstation, but if I use command NET USE I’m getting error.
Any help will be appreciated.
Thanks.
SB304.
Error 67 means that it cannot find the network path, it means that the path to the printer is probably wrong.
if you have spaces in the share name you probably need to use " " around it.
if you have spaces in the share name you probably need to use " " around it.
ASKER
Thank you for the responds guys.
Yes, i can manually map printers to the workstations.
Yes, i used "" for the printers, that has spaces in the share name.
Here is the txt from Batch file that i'm using for maped drives:
@echo off
net use W: /delete /yes
net use P: /delete /yes
net use P: \\server3\public
net use W: \\server3\public\Public_Do cuments
pause
Thank you,
SB304.
Yes, i can manually map printers to the workstations.
Yes, i used "" for the printers, that has spaces in the share name.
Here is the txt from Batch file that i'm using for maped drives:
@echo off
net use W: /delete /yes
net use P: /delete /yes
net use P: \\server3\public
net use W: \\server3\public\Public_Do
pause
Thank you,
SB304.
ASKER
Hello all,
After some serching, i find this link:
https://www.experts-exchange.com/questions/20757460/Server-2003-XP-Network-Adding-Client-Printers-Automatically.html?query=Windows+2003+Zero+Administration+Kit&clearTAFilter=true
that was helpfuul for me and I create my batch file. For some reason i couldn't install con2prt tools, i was getting error win_32 application, but i was able to use built in mechanism with:
rundll32 printui.dll,PrintUIEntry /in /n \\server3\printer
Thank you all,
SB304.
After some serching, i find this link:
https://www.experts-exchange.com/questions/20757460/Server-2003-XP-Network-Adding-Client-Printers-Automatically.html?query=Windows+2003+Zero+Administration+Kit&clearTAFilter=true
that was helpfuul for me and I create my batch file. For some reason i couldn't install con2prt tools, i was getting error win_32 application, but i was able to use built in mechanism with:
rundll32 printui.dll,PrintUIEntry /in /n \\server3\printer
Thank you all,
SB304.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Also on a side note if you wish to do away with batch files and make all VB login scripts and push those out through group policy I can paste some template scripts on here that you can modify as needed and push out through your enterprise as login scripts.
Hope this helps,
Mitch