Jump to content

Suggestion For Addition


Recommended Posts

Hey all!

There's one thing I would like to see added to WPI, and was hoping for comments:

1. Section for scripts to be run BEFORE the rest of the WPI stuff

2. Section for stuff to be run AFTER everything else (i.e. first logon)

Cheers!

Link to comment
Share on other sites


Hey all!

There's one thing I would like to see added to WPI, and was hoping for comments:

1. Section for scripts to be run BEFORE the rest of the WPI stuff

2. Section for stuff to be run AFTER everything else (i.e. first logon)

Cheers!

You could use a Microsoft mechanisms for that behaviour. You could start die WPI.CMD from the CMDLINES.TXT. That script is run before the last reboot of the GUI-part of the Windows installation.

Where to put the CMDLINES.TXT? Put it in the folder "I386\$OEM$" for network-based installtions and for CDROM-based installations it should be in the root, if I am not wrong (eg. \$OEM$). The first entry in that script should be "[COMMANDS]" without doublequotes. The following entries are calls to your scripts. They are executed in the security cotext "system".

You could start a script after the last reboot of the GUI-based installation of Windows, if you have defined it in the UNATTEND.TXT (or WINNT.SIF) in the section "[GUIRUNONCE]". If you add "Adminautologon=yes" and "Autologon=1" to the UNATTEND.TXT (or WINNT.SIF) your GUIRUNONCE-scripts will be run in the context of the administrator right before he logs in.

These suggestions are one of many other ways (eg. SVCPACK.INF and so on). But I am dealing with Win2k here - and so I have lesser possibilities than WinXP and W2k3 offers.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...