Startup Script Win2k/WinXP

Archived from groups: microsoft.public.win2000.active_directory (More info?)

Hello,

I am currently running a printer startup script via a batch file off of a
Win2k server for Win2k clients, however when I attempt to run the startup
script for WinXP clients I am unsuccessfull. The batch I use is below:

Create a batch file (e.g. printers.bat) containing lines of the following
form (the PrintUIEntry bit is case-sensitive):

rundll32 printui.dll,PrintUIEntry /in /n \\printserver\printer1
rundll32 printui.dll,PrintUIEntry /in /n \\printserver\printer2
rundll32 printui.dll,PrintUIEntry /in /n \\printserver\printer3

The script runs fine in Win2k, is there any reason the script will run for
Win2k but not for XP?
Thanks in advance!
4 answers Last reply
More about startup script win2k winxp
  1. Archived from groups: microsoft.public.win2000.active_directory (More info?)

    run up "process explorer" via www.sysinternals.com this will let you know why
    it isn't working on XP. It works on mine... sorry for the pun :-)

    --
    The AD Designer
    (For a limited period only)


    "Springside" wrote:

    > Hello,
    >
    > I am currently running a printer startup script via a batch file off of a
    > Win2k server for Win2k clients, however when I attempt to run the startup
    > script for WinXP clients I am unsuccessfull. The batch I use is below:
    >
    > Create a batch file (e.g. printers.bat) containing lines of the following
    > form (the PrintUIEntry bit is case-sensitive):
    >
    > rundll32 printui.dll,PrintUIEntry /in /n \\printserver\printer1
    > rundll32 printui.dll,PrintUIEntry /in /n \\printserver\printer2
    > rundll32 printui.dll,PrintUIEntry /in /n \\printserver\printer3
    >
    > The script runs fine in Win2k, is there any reason the script will run for
    > Win2k but not for XP?
    > Thanks in advance!
    >
  2. Archived from groups: microsoft.public.win2000.active_directory (More info?)

    When do I run "process explorer," it seems the problem lies somewhere during
    the startup. Also, did you have to set any specific permissions for the
    script to run in XP, mine is working great in 2000, but not XP.

    "The AD Designer" wrote:

    > run up "process explorer" via www.sysinternals.com this will let you know why
    > it isn't working on XP. It works on mine... sorry for the pun :-)
    >
    > --
    > The AD Designer
    > (For a limited period only)
    >
    >
    > "Springside" wrote:
    >
    > > Hello,
    > >
    > > I am currently running a printer startup script via a batch file off of a
    > > Win2k server for Win2k clients, however when I attempt to run the startup
    > > script for WinXP clients I am unsuccessfull. The batch I use is below:
    > >
    > > Create a batch file (e.g. printers.bat) containing lines of the following
    > > form (the PrintUIEntry bit is case-sensitive):
    > >
    > > rundll32 printui.dll,PrintUIEntry /in /n \\printserver\printer1
    > > rundll32 printui.dll,PrintUIEntry /in /n \\printserver\printer2
    > > rundll32 printui.dll,PrintUIEntry /in /n \\printserver\printer3
    > >
    > > The script runs fine in Win2k, is there any reason the script will run for
    > > Win2k but not for XP?
    > > Thanks in advance!
    > >
  3. Archived from groups: microsoft.public.win2000.active_directory (More info?)

    can you run the script once your logged in?
    --
    The AD Designer
    (For a limited period only)


    "Springside" wrote:

    > When do I run "process explorer," it seems the problem lies somewhere during
    > the startup. Also, did you have to set any specific permissions for the
    > script to run in XP, mine is working great in 2000, but not XP.
    >
    > "The AD Designer" wrote:
    >
    > > run up "process explorer" via www.sysinternals.com this will let you know why
    > > it isn't working on XP. It works on mine... sorry for the pun :-)
    > >
    > > --
    > > The AD Designer
    > > (For a limited period only)
    > >
    > >
    > > "Springside" wrote:
    > >
    > > > Hello,
    > > >
    > > > I am currently running a printer startup script via a batch file off of a
    > > > Win2k server for Win2k clients, however when I attempt to run the startup
    > > > script for WinXP clients I am unsuccessfull. The batch I use is below:
    > > >
    > > > Create a batch file (e.g. printers.bat) containing lines of the following
    > > > form (the PrintUIEntry bit is case-sensitive):
    > > >
    > > > rundll32 printui.dll,PrintUIEntry /in /n \\printserver\printer1
    > > > rundll32 printui.dll,PrintUIEntry /in /n \\printserver\printer2
    > > > rundll32 printui.dll,PrintUIEntry /in /n \\printserver\printer3
    > > >
    > > > The script runs fine in Win2k, is there any reason the script will run for
    > > > Win2k but not for XP?
    > > > Thanks in advance!
    > > >
  4. Archived from groups: microsoft.public.win2000.active_directory (More info?)

    yes, the script runs fine once I login.

    "The AD Designer" wrote:

    > can you run the script once your logged in?
    > --
    > The AD Designer
    > (For a limited period only)
    >
    >
    > "Springside" wrote:
    >
    > > When do I run "process explorer," it seems the problem lies somewhere during
    > > the startup. Also, did you have to set any specific permissions for the
    > > script to run in XP, mine is working great in 2000, but not XP.
    > >
    > > "The AD Designer" wrote:
    > >
    > > > run up "process explorer" via www.sysinternals.com this will let you know why
    > > > it isn't working on XP. It works on mine... sorry for the pun :-)
    > > >
    > > > --
    > > > The AD Designer
    > > > (For a limited period only)
    > > >
    > > >
    > > > "Springside" wrote:
    > > >
    > > > > Hello,
    > > > >
    > > > > I am currently running a printer startup script via a batch file off of a
    > > > > Win2k server for Win2k clients, however when I attempt to run the startup
    > > > > script for WinXP clients I am unsuccessfull. The batch I use is below:
    > > > >
    > > > > Create a batch file (e.g. printers.bat) containing lines of the following
    > > > > form (the PrintUIEntry bit is case-sensitive):
    > > > >
    > > > > rundll32 printui.dll,PrintUIEntry /in /n \\printserver\printer1
    > > > > rundll32 printui.dll,PrintUIEntry /in /n \\printserver\printer2
    > > > > rundll32 printui.dll,PrintUIEntry /in /n \\printserver\printer3
    > > > >
    > > > > The script runs fine in Win2k, is there any reason the script will run for
    > > > > Win2k but not for XP?
    > > > > Thanks in advance!
    > > > >
Ask a new question

Read More

Rundll32 DLL Windows