Click to See Complete Forum and Search --> : running scripts on XP


silvernetman
08-26-2004, 04:58 AM
I've tried this problem on the networking forum with out success. can anyone out there help me with this.
This problem has got me
I'm running a w2k network in a school. each IT room is in an OU and a start up script runs to install a printer in the room where the PC's are in each OU.
We now have a room with XP Pro workstations and this method of installing printers does not work...it still works if you put a w2k pro workstation in the OU, but not on the XP machines.

If I double click the bat/vbs file (I've tired both) the printer installs fine.

I've also tried it as a logon script instead of a startup script and that does not work either.

here is the script that I use in a .bat file, this works on w2k machines but not on xp.

rundll32 printui.dll,PrintUIEntry /y /u /in /n\\Admin_Server\staff-pr

can anyone help?
thanks


:confused: silvernetman

ua549
08-26-2004, 07:04 AM
I always use the NET USE <resource> command to map resources.

SkyDog
08-27-2004, 10:21 PM
{EDIT} I think Thermo came up with the answer back in the network forum.