Jump to content


theoldgoat

SetupComplete.cmd

Recommended Posts

I have edited this file within my WIM image so that it does a couple of things after the Setup Windows and ConfigMgr step in my task sequence, but when I build a machine using my ts the file is never there. For example if I just include the line:

 

%windir%\system32\slmgr.vbs /ato

 

in the file, I would expect it to activate Windows for me. However when I start the machine the SetupComplete.cmd file is replaced with one that just contains this line:

 

%windir%\system32\osdsetuphook.exe /execute

 

I can't understand why this is happening, but think it has something to do with sysprep (is this done again at some point??).

 

If someone could explain to me why this file is being replaced I would appreciate it. Again I couldn't really find anything on searching the internet that I didn't already know.

 

Thanks very much. :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.