Instructions to create a versatile Windows 10, 11 ghost for all computers

Instructions to create a versatile Windows 10, 11 ghost for all computers

Saturday - 11/05/2022 11:37
Instructions to create ghost Windows 10, 11 32 bit and 64 bit for all computers. For 32-bit windows, the hard drive to be selected is the MBR standard, and for 64-bit windows, the hard drive to be selected is the GPT standard.
1. Required software:
- VMware or Virtualbox
- WinPE iso boot or Hiren BootCD with Acronis True Image
- Windows 10, 11 x86 or x64 installation iso file
- UltraISO
- Minimum machine configuration: CPU G4560, Ram 8G, SSD 240G (HDD is okay but software installation will be slower).

2. Steps to install windows on a virtual machine:
- Start virtual computer software (VMware or VirtualBox), if you use VirtualBox, you need to install the extension Oracle_VM_VirtualBox_Extension_Pack to be able to use USB.
- Virtual computer configuration: CPU, Ram, HDD 100G, equal to ½ of the real machine.
- Insert the installation iso file of windows into the virtual machine and proceed to turn on the virtual machine for installation. (if the windows 11 installation gives an incompatibility error, please turn it off this way)
- After the installation is complete, Windows will boot to the welcome screen:
ghost tib iso

Now press Ctrl + Shift + F3 to switch to Audit Mode. (If you press this key combination does not work, then continue to go to windows, then navigate to the folder C:\Windows\System32\Sysprep\ open the file sysprep.exe, in the System Cleanup Action section select: Enter System Audit Mode, select Reboot, OK)

- After entering Audit Mode, (if you can't press Ctrl + Shift + F3), you need to delete the newly created user when entering win, choose to delete files.

3. Create an auto-answer file
- Download Windows ADK (Windows Assessment and Deployment Kit) and install. Select only the ☑Deployment Tools, and click Install.
- Copy the install.wim file in the Windows installation iso file to another partition C (D for example).
- Click Start, open Windows System Image Manager. Click File and select New Answer File (Ctrl + N or click the icon to create a new file). Select the path to the location of the copied install.wim file (D\install.wim) YES.
- In the Components section, click the plus sign (+) to open the settings list. Find the line x64_Microsoft-Windows-Shell-Setup_10.0… (if Windows is 32 bit, select x86_Microsoft-Windows-Shell-Setup_10.0.....) => right click => and select the line Add Setting to Pass 4 specialize.
copy profile

- In section 4 specialize, select x64_Microsoft-Windows-Shell-Setup (or x86_Microsoft-Windows-Shell-Setup if it's 32-bit windows). In Settings, CopyProfile, select True.
- Next, go to File, choose Save Answer File As ... name it arbitrarily and choose another place to save the C partition (D:\Unattend.xml for example).
- Modify the install.wim path for the autoresponder file: Open the saved answer file (Unattend.xml) with notepad. Navigate to:
<cpi:offlineImage cpi:source="wim:d:/install.wim#Windows 10 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
And change to the path of the windows installation drive (eg: E:\sources\install.wim):
<cpi:offlineImage cpi:source="wim:e:/sources/install.wim#Windows 10 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi " />
Then save. When you're done with this step, delete the install.wim file from drive D.

* You can use the autoresponder file attached in the article instead of this part.

4. Install the necessary software:
Some necessary software for every user such as:
- Microsoft Office
- K-Lite Codec Pack
- Winrar
- Foxit Reader
- Fonts (install all users)
- Google Chrome
- Tweak cleaning, optimizing windows before proceeding to the next step...
(Trash command: Dism.exe /online /Cleanup-Image /StartComponentCleanup)

5. Create a preparation system
- Open Command Prompt, type the command:
​​​​​​​cd windows
cd system32
cd sysprep
Sysprep.exe /generalize /oobe /shutdown /unattend:D:\Unattend.xml
(D:\Unattend.xml is the place to save and name the auto-generated answer file above)
- After running, the virtual computer will shut down.

6. Create image file (ghost) tib or iso
* Important step: You need to put the WinPE boot or Hiren BootCD iso file into the virtual machine's drive and choose to boot from this drive. (can go to the bios of the virtual machine to choose to boot from the DVD ROM to be sure). Then boot into WinPE boot mode (Hiren BootCD):
+ Delete some unnecessary applications: Open the path C:\Program Files\WindowsApps. This folder contains pre-installed Windows applications, you can delete unused applications, but system applications should not be deleted.

+ Create tib file: Open Acronis True Image (Instructions for using Acronis True Image software) and proceed to create a backup image file of this windows installer, choose the highest compression mode to reduce the size of the ghost file.
setup windows
+ Create iso file: Open the windows installation disc, open the setup.exe file, at the setup screen press Shift + F10 and type the command:
Dism /Capture-Image /CaptureDir:C: /ImageFile:"D:\install.wim" Name:"Windows 10 Pro" /Compress:maximum /Verify
- After the machine is finished running, replace the install.wim file: Use UltraISO software, open the windows installation iso file, delete the install.wim file in the sources folder, then put the newly created install.wim file in drive D go back to the sources folder. Click save.

* The creation of a versatile Windows 10, 11 ghost file for all computers is here. Good luck. Any questions please leave a comment below, I will guide wholeheartedly.
Attach files

  Reader Comments

Security Code   
You did not use the site, Click here to remain logged. Timeout: 60 second