Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
paciuli

Sysprep makes RunOnceEx re-run

Recommended Posts

Hi! :)

I'm getting this problem while trying to make a tweaked cdrom for my customers' "genuine" installations: i use to install applications and hotfixes via the RunOnceEx method. After having it all done and ready, i run sysprep and "seal" the installation, in order for the final user to configure his own product ID and various settings. But in doing this, it parses cmdlines.txt once again, and so at the first reboot it re-runs the whole post-install routine from the beginning... how can avoid that?

Thanks a lot in advance :hello:

Share this post


Link to post
Share on other sites

Hi,

Maybe your cmdlines.txt is the same on both location. There are 2 locations that cmdlines.txt might appear. First is the one under ..\i386\$OEM$\ which is ran first. When sysprep runs on your cloned machine, it will run the one under ..\i386\$OEM$\$1\<Sysprep>\i386\$OEM$\ . If your cmdlines.txt is identical then it will run the same commands. Make sure to remove the ones you dont need and put in any of your post batch commands in there.

Hope this helps.

Obet31

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...