Hi AnarethoS, I would have this need if you can. After SYSPREP and restart PC, OOBE (no generalize) the active Administrator user with access, ask for Active Directory migration, each time you create users install an .exe file only once. Is that possible? Windows 10 Enterprise x86 (10.0.19043.1023)
To prevent Generalization, you must edit the Sysprep.CMD file ans edit the following line : START /WAIT C:\Windows\System32\Sysprep\SysPrep.exe /generalize /oobe /quit /unattend:C:\Recovery\OEM\XML\UnAttend.%PROCESSOR_ARCHITECTURE%.Xml You may have to modify the referenced XML file also. To enable the built-in Administrator account, you can alsway edit the OOBE-Custom.cmd file in the scripts folder and add something like : NET USER Administrator /active:yes WMIC path Win32_UserAccount WHERE "Name='Administrator' and Domain='%COMPUTERNAME%'" set PasswordExpires=false For the directory migration, I don't know. Maybe check for available paramters for the unattend.xml file or play with the OOBE-Custom.cmd file For the auto-install of an EXE, you can alway edit the registry for the Default_User and add a key in the RunOnce section ?
Please note that I am currently working on testing my solution on Windows 11. There is a problem when using the "Full Image - Wim" option. WinRE don't automatically mount the volumes and, as such, the capture fails. I already have a workaround for that part but I must complete other test before releasing a Windows 11 compatible version. Thanks.
I will also add support for 21H1 (Scanstate files in the package) and I will also update the bood files used for the recovery media in Windows 1X.
Normally, when a new OS is supported, I change the major version. But since I already switched from 4.X to 5.0.0 in the last update and the fact that Windows 11 is basically Windows 10 with a skin, I will just consider it as a minor update (5.0.1).
5.0.1 is done. - Added support for Windows 11 - Added support for Windows 10 21H1 - Added the option to install Appx package after OOBE (Windows Store Apps). You must provide the Appx file by using some tools to download them from the Microsoft store OR use Microsoft Store for Business to download all files.
True! I put the 5.0.1 version on my web site and when I was starting to write my baglog section my GF asked me for something upstars and decided ton continue that the day after telling myelf that no one will download that fast. Lol. Guess I was wrong!
Ok. For 21H1 I put the Windows 11. Don't know why I mixed my files. Anyway, for 2004, 20H2 and 21H1 it is the same. I will fix that.
@AnarethoS, muchas gracias por este maravilloso proyecto, ya había realizado anteriormente unas pruebas en Windows 7, ahora hice pruebas en 5 equipos de escritorio, instalando Windows 11 y personalice el archivo ReCreatePartitions.txt, para adaptar a mis necesidades el disco duro, encontrando los siguientes inconvenientes. - al iniciar la instalación de windows y lanzar Diskpart (SHIFT+F10) me di cuenta que no siempre es la unidad D:\ para escribir la instrucción para particionar el disco duro siendo necesario buscar en otra unidad por ejemplo DISKPART /S E:\ScriptName.txt - Si se tiene instalado en el equipo un Lector de Tarjetas Multi Card Reader , al particionar el disco duro tecleando la instrucción. X:\Sources>DISKPART /S D:\ScriptName.txt me marcaba el siguiente error en la linea 20 del archivo ReCreatePartitions.txt Diskpart redujo correctamente el volumen en. 700 MB 100 por ciento completado Diskpart formateo el volumen correctamente. Error del servicio de disco virtual: La letra de unidad especifica no esta libre para poder asignarla. Nota: la solución fue desconectar el lector de tarjetas multicard. - en uno de los equipo donde hice pruebas me salio este inconveniente: Deployment Image Servicing and Management tool Version: 10.0.22000.1 Image File : C:\Recovery\OEM\Capture.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ************************ Cleaning Old Files ************************ No se pudo encontrar C:\Recovery\OEM\Temp\FindRecovery.txt ***************************** Running Sysprep ***************************** CORRECTO: el proceso con PID 5244 (proceso secundario de PID 5216) ha sido terminado. ERROR: no se encontró el proceso "WMPNETWK.EXE". -Me marco error al querer realizar un medio de recuperación en una unidad USB.
Maybe there is something wrong with my step for this OEM Recovery when I am testing the Reset Feature. The Recovery from the usb flash drive is working fine. Gonna test the again another time. [edit] I really made a mess. i clean up plus /resetbase the live system before running the recovery setup which make it a double process.
Please enable debug mode (debug=1) in settings.ini of the app. Also, can you confirm there is SWM/WIM file in \recovery\oem\image folder ?
Hello the image system works as soon as I have the bug I send the info back for the moment it works see with LuCeR0