The space and spelling of server are my mistake in the messge, in the bat file there is no space. And I can manually connect. I will try the vbs and see if I can make that work Thanks
"Alan Morris [MSFT]" wrote:
[Quoted Text] > If you remove the space in the second line of \\ server_name to > \\server_name this should work in XP as well. > > There are policy settings on XP that will block connections to servers on a > different domain. Can you make the connection manually as the user? > > prnmngr.vbs in system32 can also be used to make connections on XP > prnmngr -ac -p "\\server\printer" > > > -- > Alan Morris > Windows Printing Team > Search the Microsoft Knowledge Base here: > http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto> > This posting is provided "AS IS" with no warranties, and confers no rights. > > "Alex at school" <Alex at school[ at ]discussions.microsoft.com> wrote in message > news:85429667-8905-4987-B159-B12E42FDF4F6[ at ]microsoft.com... > > sI have been using a bat file to add printer globally to work station > > computers in school computer labs. This has worked just fine on Windows OS > > 2000. It doesn't work on XP machines. Is there a script that can replace > > it? > > Or can it be changed so it will work on Xp machines. > > The bat file is: > > rundll32 printui.dll,PrintUIEntry /in /q /n \\sever_name\printer_name > > rundll32 printui.dll,PrintUIEntry /ga /q /n \\ sever_name\printer_name > > > > >
|