How to integrate Windhawk modifications into WIM image?


ceo54

Well-known member
VIP
Local time
3:21 AM
Posts
29
OS
Windows 11
Hello,

I've been watching some Youtube videos about Windhawk and the UI enhancement possibilities it brings to the table. However, all those videos and my testing only showed that these modifications can only be applied on a live system. Is there any way to integrate these modifications into the WIM image? Perhaps a better mind than me has some idea how to accomplish this.

Also, if somebody uses Windhawk, would like to know how it works. Meaning where it saves the modifications, the files, the registry. Etc.

Any help will be greatly appreciated.

System: 24H2
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Dell
    CPU
    12th Gen i5
    Memory
    16 GB
    Graphics Card(s)
    Intel Iris Xe
    Hard Drives
    Micron 512GB NVMe SSD (System Drive)
    Irvine 1TB SATA SSD (Data drive)
    Browser
    Firefox 134
Is there any way to integrate these modifications into the WIM image?
I had to lookup what a WIM image is. That appears to be something dedicated Microsoft backup, so that you can't expect that it would include any third party UI-modification software. That's how i see it, never used WIM images. But I am not sure about the fact WIM does or does not include any third party apps.

...if somebody uses Windhawk, would like to know how it works.
I do use Windhawk and I am very satisfied by the result I achieved with my installed mods, but it would go much too far to serve you by telling how it works. Much is explained on the site of the maker and on github/ramensoftware. Please click those links for information.

But I certainly can explain some points about Windhawk.
- Windhawk is a universal app to change all kinds of UI, thereby using so called Mods. For certain functions you need to install certain mods. During installing, the mod will be compiled. Because all mods are present uncompiled (as source-language) the diskspace taken by this app is rather huge: in my system it takes 670 MByte. But when in action, it only takes a very little amount of memory and processoractivity. In my system it takes 0,5 Mbyte memory and 0% processoractivity, when I look at it via Taskmanager.

- I use Windhawk to modify:
  • The taskbar: color, size, icon-size, size of the taskbar-labels, color and size of the progress-indicator, position of the startbutton
  • The system tray: Set distance and size of the system tray icons, remove volume button, network button, battery button, microphone button etc. For volume I use Eartrumpet. That has an more convinient way to set the balance between audio channels.
  • The notification centre: the only thing of the notification centre I want to use is the calendar, everything else is removed by a mod.
  • The clock: My system clock in the right of the system tray has big characters and no date.
- I use Windhawk in the installed version. Portable is possible too, but I experienced some problems with taskbar -modifications that don't function in portable version. You can choose during installation between installed or portable installation.
- If you use VirtualBox on your system, you will have to make an exception in the overall settings of Windhawk, so that VirtualBox is excepted from the Windhawk processes. No problem if you know how (which is described on the Github site).

...where it saves the modifications, the files, the registry.
- The Mods are saved somewhere in the program-area (in the folder Program Files\Windhawk

- Files that belong to Windhawk are mostly stored in Program Data\Windhawk. Exactly what goes where I did not figure out, because I don't need to know exactly.

- All settings of the mods go into the registry (in installed version), but setting back those values does not garantee all settings indeed are back.
The best way to save settings is make textfiles for each Mod and export the settings of the mods under 'advanced' into those files (copy and past). Sounds complicated, but is not. After renewed installation (ie on a different system) you just can paste the exported data to the mods and all settings are back. As an example, I will show you my settings for the clock mod:
{"ShowSeconds":0,"TimeFormat":"HH':'mm","DateFormat":"","WeekdayFormat":"","TopLine":"","BottomLine":"%time%","MiddleLine":"%weekday%","TooltipLine":"","Width":180,"Height":60,"TextSpacing":2,"WebContentsItems[0].Url":"","WebContentsItems[0].BlockStart":"<item>","WebContentsItems[0].Start":"<title><![CDATA[","WebContentsItems[0].End":"]]></title>","WebContentsItems[0].MaxLength":10,"WebContentsUpdateInterval":10,"TimeStyle.Visible":0,"TimeStyle.TextColor":"","TimeStyle.TextAlignment":"Center","TimeStyle.FontSize":0,"TimeStyle.FontFamily":"","TimeStyle.FontWeight":"","TimeStyle.FontStyle":"","TimeStyle.FontStretch":"","TimeStyle.CharacterSpacing":0,"DateStyle.TextColor":"","DateStyle.TextAlignment":"Left","DateStyle.FontSize":19,"DateStyle.FontFamily":"Arial","DateStyle.FontWeight":"","DateStyle.FontStyle":"","DateStyle.FontStretch":"Normal","DateStyle.CharacterSpacing":0,"oldTaskbarOnWin11":0,"MaxWidth":0}

If you make an real image of your system partition by any imaging app, all the mods and all its settings will be saved as well, so that when you restore that image, Windhawk and its settings will be on the level when you made the image. But there is no way exporting windhawk and its settings to some installation routine, so that you could quickly install it in another system. And why would you? Windhawk installation just takes a few minutes, after that you would need to install mod after mod (make good administration of that) and import the settings for each mod.

When I still used Start11, the total of settings could be exported easily to one big settings file, which is a lot easier. But Windhawk brings a lot more options for changing things I'd like to change. So for me it's is no big deal setting up the whole, as I only need to do that very few times in the PC's lifetime.

For using settings in the taskbar Mod, I used the app UWPSpy, with which you can see what to change how. It has some similarity to CSS files for changing UI of sites, with which I have a lot of experience. So for me, it was not a big problem to use that UWPSpy app. But you do not need to use it, it's an extra to change things that are not specified elsewhere.

That ends my description of Windhawk, with which I hope I helped you!
 

My Computer

System One

  • OS
    Windows 11 Pro 23H2 22631.4751
    Computer type
    PC/Desktop
    Manufacturer/Model
    Build by vendor to my specs
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    MSI PRO B550M-P Gen3
    Memory
    Kingston FURY Beast 2x16GB DIMM DDR4 2666 CL16
    Graphics Card(s)
    MSI GeForce GT 730 2GB LP V1
    Sound Card
    Creative Sound Blaster Audigy FX
    Monitor(s) Displays
    Samsung S24E450F 24"
    Screen Resolution
    1920 x 1080
    Hard Drives
    1. SSD Crucial P5 Plus 500GB PCIe M.2
    2. SSD-SATA Crucial MX500-2TB
    PSU
    Corsair CV650W
    Case
    Cooler Master Silencio S400
    Cooling
    Cooler Master Hyper H412R with Be Quiet Pure Wings 2 PWM BL038 fan
    Keyboard
    Cherry Stream (wired, scissor keys)
    Mouse
    Asus WT465 (wireless)
    Internet Speed
    70 Mbps down / 80 Mbps up
    Browser
    Firefox 130.0
    Antivirus
    F-secure via Internet provider
    Other Info
    Router: FRITZBox 7490
    Oracle VirtualBox 7 for testing software on Win 10 or 11
@Kees WIM is the native image format that Windows uses for installation since Vista. If you look on installation media, you often have an install.wim (sometimes it's install.esd or install.swm, but that's another matter). Anyhoooo, it's a bundle of all of the "stuff" to install a copy of Windows. Things like hsehestedt's WIM Tools thingy (I forget the name) or NTLite often modify these .wim files to customize the installation of Windows. That's what OP is looking to do with Windhawk mods here.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
    Antivirus
    Microsoft Defender
  • Operating System
    Linux Mint 21.2 (Cinnamon)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC8i5BEH
    CPU
    Intel Core i5-8259U CPU @ 2.30GHz
    Memory
    32 GB
    Graphics card(s)
    Iris Plus 655
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
I never used the WIM to install options of Windwos. I do everything by changing settings as I wish, which certainly is more complicated than with WIm. Never knew about the existance of WIM, so I'll have a look at it when time comes.

I doubt that third party apps could be taken in that WIM. But you certainly know that better than I do.

Also, if somebody uses Windhawk, would like to know how it works. Meaning where it saves the modifications, the files, the registry. Etc.
That's what I responded to... ;-)
 

My Computer

System One

  • OS
    Windows 11 Pro 23H2 22631.4751
    Computer type
    PC/Desktop
    Manufacturer/Model
    Build by vendor to my specs
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    MSI PRO B550M-P Gen3
    Memory
    Kingston FURY Beast 2x16GB DIMM DDR4 2666 CL16
    Graphics Card(s)
    MSI GeForce GT 730 2GB LP V1
    Sound Card
    Creative Sound Blaster Audigy FX
    Monitor(s) Displays
    Samsung S24E450F 24"
    Screen Resolution
    1920 x 1080
    Hard Drives
    1. SSD Crucial P5 Plus 500GB PCIe M.2
    2. SSD-SATA Crucial MX500-2TB
    PSU
    Corsair CV650W
    Case
    Cooler Master Silencio S400
    Cooling
    Cooler Master Hyper H412R with Be Quiet Pure Wings 2 PWM BL038 fan
    Keyboard
    Cherry Stream (wired, scissor keys)
    Mouse
    Asus WT465 (wireless)
    Internet Speed
    70 Mbps down / 80 Mbps up
    Browser
    Firefox 130.0
    Antivirus
    F-secure via Internet provider
    Other Info
    Router: FRITZBox 7490
    Oracle VirtualBox 7 for testing software on Win 10 or 11
Right right, and I actually appreciate the Windhawk explanation. I've only peeked at it once or twice. I was just explaining what a WIM is.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
    Antivirus
    Microsoft Defender
  • Operating System
    Linux Mint 21.2 (Cinnamon)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC8i5BEH
    CPU
    Intel Core i5-8259U CPU @ 2.30GHz
    Memory
    32 GB
    Graphics card(s)
    Iris Plus 655
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
In this guide, we’ll cover how to create a custom Windows 10/11 installation image with pre-installed apps, necessary files, and other environment and application settings.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
You may also want to take a look at this great tutorial from Kari. Very popular post. That thread is up to 995 posts.


Brief summary:

You setup a "reference system" which can be either a physical system or a VM. Enter a special mode of Windows during setup known as "audit mode". Configure Windows as you wish. You can personalize Windows, install programs, etc. Once done, you capture the image to an "install.wim" file. You replace the standard install.wim on Windows installation media with the customized file you created. Now, when you install Windows, it installs your customized image.
 

My Computers

System One System Two

  • OS
    Win11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Kamrui Mini PC, Model CK10
    CPU
    Intel i5-12450H
    Memory
    32GB
    Graphics Card(s)
    No GPU - Built-in Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 2TB NVMe SSD
    1 x 4TB NVMe SSD
    1 x 4TB 2.5" SSD
    PSU
    120W "Brick"
    Keyboard
    Corsair K70 Mechanical Keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor

First, allow me to thank you from the core of my heart for such a detailed post. It clears a lot of questions I had about the program in question. As I understand it, Windhawk itself is only needed to download and apply the effects that it saves in %Program Files% and %ProgramData%. There must be some part of the software the implements the mods. I'm gonna investigate how the software does it, unless somebody else chimes in and clears the fog. Once I figure that out, I can simply download the mods on another machine, place them inside the WIM and apply through registry. This however is pure speculation and success will entire depend on how the software works itself.

Thank you again for your valuable input, your help is highly appreciated.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Dell
    CPU
    12th Gen i5
    Memory
    16 GB
    Graphics Card(s)
    Intel Iris Xe
    Hard Drives
    Micron 512GB NVMe SSD (System Drive)
    Irvine 1TB SATA SSD (Data drive)
    Browser
    Firefox 134
In this guide, we’ll cover how to create a custom Windows 10/11 installation image with pre-installed apps, necessary files, and other environment and application settings.

Thank you FreeBooter. I'm opening the video as I type this. Will also save it for future references. Glad you came around with valuable information. And thank you for the time you took to make the post.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Dell
    CPU
    12th Gen i5
    Memory
    16 GB
    Graphics Card(s)
    Intel Iris Xe
    Hard Drives
    Micron 512GB NVMe SSD (System Drive)
    Irvine 1TB SATA SSD (Data drive)
    Browser
    Firefox 134
You may also want to take a look at this great tutorial from Kari. Very popular post. That thread is up to 995 posts.


Brief summary:

You setup a "reference system" which can be either a physical system or a VM. Enter a special mode of Windows during setup known as "audit mode". Configure Windows as you wish. You can personalize Windows, install programs, etc. Once done, you capture the image to an "install.wim" file. You replace the standard install.wim on Windows installation media with the customized file you created. Now, when you install Windows, it installs your customized image.

Hi hsehesedt, I've done this before albeit on the Windows 7 and 8.1 images. Never did it after as the customization became easier with all the developers providing ever more options. I discovered the joy of portable programs and it shelved all the hardwork having to install and configure programs one by one. With Portable apps, the settings are already there in the apps "Data" folder, just create the shortcut and off you go almost like you never left.

But with won't work with Windhawk I suspect. My best guess is the mods are applied by calling multiple Windows modules, including but not limited to registry. If this is true, I'm gonna have to audit the image and the tutorial you linked will come handy.

Big thanks to @Kari for making this tutorial and a million thanks to you for making me aware of it. Your help is highly appreciated.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Dell
    CPU
    12th Gen i5
    Memory
    16 GB
    Graphics Card(s)
    Intel Iris Xe
    Hard Drives
    Micron 512GB NVMe SSD (System Drive)
    Irvine 1TB SATA SSD (Data drive)
    Browser
    Firefox 134
Just had a look at the tutorial. For some reason it's not my thing. Although I am quite used to complicated things in my life, this is simply far too complicated for me to follow it. Maybe it's my age (I'm far in the 70-ties), maybe it's because of language. In any way: when I would have to (re-)install Windows, I will do it the old way as I always did from Win2000 on, following my to-do list of all settings, (registry-)modifications and app-installations, making images of the system drive inbetween.

If @ceo54 has any more questions about Windhawk, I'm very much willing to help as far as I can. But I myself don't need any extra explanation that has to do with WIM. Unless of course, if @ceo54 would want any, it's his thread. ;-)
 

My Computer

System One

  • OS
    Windows 11 Pro 23H2 22631.4751
    Computer type
    PC/Desktop
    Manufacturer/Model
    Build by vendor to my specs
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    MSI PRO B550M-P Gen3
    Memory
    Kingston FURY Beast 2x16GB DIMM DDR4 2666 CL16
    Graphics Card(s)
    MSI GeForce GT 730 2GB LP V1
    Sound Card
    Creative Sound Blaster Audigy FX
    Monitor(s) Displays
    Samsung S24E450F 24"
    Screen Resolution
    1920 x 1080
    Hard Drives
    1. SSD Crucial P5 Plus 500GB PCIe M.2
    2. SSD-SATA Crucial MX500-2TB
    PSU
    Corsair CV650W
    Case
    Cooler Master Silencio S400
    Cooling
    Cooler Master Hyper H412R with Be Quiet Pure Wings 2 PWM BL038 fan
    Keyboard
    Cherry Stream (wired, scissor keys)
    Mouse
    Asus WT465 (wireless)
    Internet Speed
    70 Mbps down / 80 Mbps up
    Browser
    Firefox 130.0
    Antivirus
    F-secure via Internet provider
    Other Info
    Router: FRITZBox 7490
    Oracle VirtualBox 7 for testing software on Win 10 or 11
Thank you FreeBooter. I'm opening the video as I type this. Will also save it for future references. Glad you came around with valuable information. And thank you for the time you took to make the post.
Thank you, i'm glad to know you like the video.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

Latest Support Threads

Back
Top Bottom