running scripts on XP

Sharky Forums


Results 1 to 3 of 3

Thread: running scripts on XP

  1. #1
    Expensive Sushi silvernetman's Avatar
    Join Date
    Jul 2003
    Location
    Sheffield.UK
    Posts
    28

    running scripts on XP

    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


    silvernetman

  2. #2
    Great White Shark
    Join Date
    Nov 2000
    Posts
    21,595
    I always use the NET USE <resource> command to map resources.

  3. #3
    Crash Test Dummy SkyDog's Avatar
    Join Date
    Oct 2000
    Location
    Upstate New York
    Posts
    12,183
    {EDIT} I think Thermo came up with the answer back in the network forum.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •