Sign in to follow this  
Followers 0
pantz

After sysprep, configuration scripts

4 posts in this topic

I have multiple scripts run after the computer finishes mini setup. But I would like the scripts to wait till after the "Personalized Settings" window disappears but it won't. Does anyone have any other ideas? I have tried to get info on that windows but it is gone before I can.

Should I wait till say something like Mcafee.exe launches?

Has anyone else done something like this?

Thanks,

Jason

:)

Share this post


Link to post
Share on other sites



I am a little unclear as to when the script is running.

What is launching the script?

What user context is the script running as?

What do you really want to wait for before the script does its thing?

What for the shell to arrive ("Program Manager") ?

Wait for CPU to settle down (loop for 10 consecutive < 20%) ?

Need more info.

Lar.


f_mrcleansmalm_77ce002.jpgAutoIt has helped make me wealthy

Share this post


Link to post
Share on other sites

Hey Larry,

Sysprep is launching the script [GuiRunOnce].

The user is Admin, I would like to add this piece to another script that launches after a second reboot as well. I do a reboot to pickup the wireless card and change resolution.

I guess wait till Program Manager arrives would be something to try.

Would I use "ProcessWait" for this?

or

How would I wait for the CPU to settle?

Thanks,

Jason

I am a little unclear as to when the script is running.

What is launching the script?

What user context is the script running as?

What do you really want to wait for before the script does its thing?

What for the shell to arrive ("Program Manager") ?

Wait for CPU to settle down (loop for 10 consecutive < 20%) ?

Need more info.

Lar.

Share this post


Link to post
Share on other sites

WinWait("Program Manager")oÝ÷ ÚÚºÚ"µÍYØZ]ÞÝ[TÙ]Y

H[SÙÐÞ
M   ][ÝÉ][ÝË    ][ÝÍHÛÛÙXÝ]]HÛÈÙ[  L   ][ÝÊB[ÙBSÙÐÞ
M   ][ÝÉ][ÝË    ][ÝÕØZ]ÞÝ[TÙ]Y

HZ[Y    ][ÝÊB[Y[ÈØZ]ÞÝ[TÙ]Y

BSØØ[ ÌÍÝØ[QYÔ][[YYX][HHLSØØ[  ÌÍÝØ[QYÑÜØÛHHSØØ[ ÌÍØÛÛ][Ë  ÌÍÝ  ÌÍÛHSØØ[   ÌÍÛØÓRTÙXÙHHØÙ]
    ][ÝÝÚ[YÛ]ÎÌLÉÌLÛØØ[ÜÝ  ÌLÜÛÝ   ÌLÐÒSU][ÝÊBBRYÝÓØ   ÌÍÛØÓRTÙXÙJH[]Ù]ÜNK
BBIÌÍÝH[Y[]

BUÚ[HBBIÌÍØÛÛ][ÈH    ÌÍÛØÓRTÙXÙK^XÔ]YJ   ][ÝÔÑSPÕ
ÓHÚ[ÌÔØÙÜÛÜ][ÝË  ][ÝÕÔS   ][ÝË  ÌÍÝØ[QYÔ][[YYX][H
È  ÌÍÝØ[QYÑÜØÛJBBRYÓØ    ÌÍØÛÛ][ÊH[BBQÜ   ÌÍÛØ][H[    ÌÍØÛÛ][ÂBBBRY ÌÍÛØ][KØYÙ[YÙH   È[BBBBIÌÍÛ
ÏHBBBBQ[ÙBBBBBIÌÍÛHBBBQ[YBBS^BQ[ÙBBBT]Ù]ÜNNK
BBQ[YBNÒYÙHÙHØZ][È[ÜH[LZ[]È[Ú]HBRY[YY   ÌÍÝ
H   ÝÈ
[]Ù]ÜK
BBNÒYÙH[
HÛÛÙXÝ]]H[  L[]BRY  ÌÍÛH
H[]BBBBTÛY
L
BUÙ[[[


f_mrcleansmalm_77ce002.jpgAutoIt has helped make me wealthy

Share this post


Link to post
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
Sign in to follow this  
Followers 0