TUTORIAL: Create perfect Windows Post-Setup using OOBE.cmd

genobnk

New Member
hi george, want ask something :)
can u please show me how to call .cmd files use this method??
i already read all ur work , i only saw tutorial for how to instal from .msi and .exe and .reg but can u tell me how i can calling .cmd files use this method (like use setup_complete.cmd)
 

George King

Active Member
i think my suggestions won't be considered
Multifolder for W7 / W8.1 etc support you should add very easy by modifying script. I don't like this idea as I'm creating AIO image for one Windows version.
hi george, want ask something :)
can u please show me how to call .cmd files use this method??
i already read all ur work , i only saw tutorial for how to instal from .msi and .exe and .reg but can u tell me how i can calling .cmd files use this method (like use setup_complete.cmd)

1) PS1 / CMD / BAT scripts execution will be added soon, I created test version now.
2) Also importing certificates aka .CER files will be added in upcoming update in few days.

3) Dynamic drivers folder is also in progress, but needs to be created as patched autorun.dll to call setup.cmd to add easy support to run custom scripts during WinPE, as I'm using this method in my AIO project. This need some time to test, as more things are in To-Do list, as it's part of single edition Updater / ESD support maker. More things are going to be posted soon

4) Little GUI .RES patch for RunOnceEx dialog is in progress, new icon, hide titlebar and insert custom text. This needs more work for support multi language patching files inside install.wim

1 & 2 are close to add, you will be informed here :)
 
Last edited:

S64XYZ

New Member
As I am reading the code.. and then I read the note below it.. until I reach
@George King
This folder is dynamically readed so you should love this solution :)
I said "I am in love with you right now" ;D
but seriously man, that's really nice code up there, I will try it soon and share my a outcomes.
 

S64XYZ

New Member
Hey George King, Is Watched.cmd doing any technical things in this method? like if Explorer loaded the process will be distracted or something. Or it's just to make it looks clean and neat ?
 

George King

Active Member
Hey George King, Is Watched.cmd doing any technical things in this method? like if Explorer loaded the process will be distracted or something. Or it's just to make it looks clean and neat ?

Watcher.cmd is for Customer Experience and also to avoid user data loss when needed restart begin. Also it can be weird if you are on desktop and RunOnceEx dialog is always on top. I developed it as I like clear Customer Experience. An also the the process looks same like from Windows 2000 :)
 
Last edited:

George King

Active Member
Tutorial updated

  • Added certificates installing into My, Root, CA store
  • Added custom scripts execution support, PS1, CMD and BAT
  • Added missing depencies for images with Internet Explorer 9 up
  • Attached RunOnceEx_Protector.xml for easier Internet Explorer removal with working RunOnceEx
 

S64XYZ

New Member
George King,
If you want automatically activate Windows and Office, create Activate.cmd inside support folder and follow Windows and Office Microsoft documents.

If you are going to install your own Windows product key specified in Activate.cmd just add these commands at the end of OOBE.cmd before exit command.
So you avoid problem with Windows to use OEM key automatically readed from BIOS, discussed here.

This activate.cmd is compulsory, and it's throwing error massage coz I didn't add it. Can you please update the code with IF EXIST ?
 
Top