Jump to content











Photo
* * * * * 1 votes

VHD_WIMBOOT - Apply and Capture of WIM Files for OS in VHD

ramdisk grub4dos wimlib svbus windows 10 ssd usb wim vhd wimboot

  • Please log in to reply
1025 replies to this topic

#901 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 21 January 2022 - 04:49 AM

Required DLL file is \Windows\System32\shellstyle.dll

 

Editing remove_DLL_System32.txt file on line 1511 to:

 

; \Windows\System32\shellstyle.dll  ; required for Paint fixed the issue.
 

 

OK, I will make the Fix for Paint. Thanks  :)



#902 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 21 January 2022 - 05:04 AM

Update Download:  from wimb GitHub  -   Win_Reduce_Trusted-60
 

Download File E = Encrypted PassWord = bootwimb  -  AntVirus Software and Windows Defender must be Disabled for working with signed SVBus driver !!

 

Manual:   VHD_WIMBOOT.pdf   - Download:  Win10_2004_English_x64.iso  and  Win11_English_x64v1.iso

 

- Changed - file remove_DLL_System32.txt  to  Keep ; \Windows\System32\shellstyle.dll  ; required for Paint - Thanks to alacran


  • alacran likes this

#903 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 21 January 2022 - 08:42 AM

Update Download:  from wimb GitHub  -  Win_Debloat-40
 

Download File E = Encrypted PassWord = bootwimb  -  AntVirus Software and Windows Defender must be Disabled for working with signed SVBus driver !!

 

Manual:   VHD_WIMBOOT.pdf   - Download:  Win10_2004_English_x64.iso  and  Win11_English_x64v1.iso

 

- Added - Program Get_Info_x64.exe - Show Lists of Windows Apps, Tasks and Packages (Features Enabled + Capabilities Installed)

 

  Show in Notepad the files App_Info.txt and Task_Info.txt and Pack_Info.txt  which are made in folder  Debloat_Lists

 

Get_Info_2022-01-21_094155.jpg



#904 antonino61

antonino61

    Gold Member

  • Advanced user
  • 1525 posts
  •  
    Italy

Posted 21 January 2022 - 01:45 PM

back to winreduce trusted, I recommend reducing everything but syswow64 and system32, which would be dealt with later and separately, to be on the safe side. 

good thing to have just discovered the automation of zerobyting (custom_command.cmd). Only one doubt, is it enough to make a list of the folders u want to remove or do u also need to make another list for the corresponding zerobyte files, as I did in the cmd I posted here days ago (remdir and copy)? in my case, the zerobyte files were there in the same directory as the command, as u have noticed from the script.



#905 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 21 January 2022 - 02:18 PM

Update Download:  from wimb GitHub  -  Win_Debloat-40
 

Download File E = Encrypted PassWord = bootwimb  -  AntVirus Software and Windows Defender must be Disabled for working with signed SVBus driver !!

 

Update Manual:   VHD_WIMBOOT.pdf   - Download:  Win10_2004_English_x64.iso  and  Win11_English_x64v1.iso

 

- Automatic Install of SVBus Driver - Just click on the presented Install Button

 

  Reboot from Windows Boot Manager using F8 Disable driver signature enforcement is needed to make Install of SVBus driver effective


  • alacran likes this

#906 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 21 January 2022 - 02:27 PM

back to winreduce trusted, I recommend reducing everything but syswow64 and system32, which would be dealt with later and separately, to be on the safe side. 

 

 

Not needed if using Fresh Installed but if you prefer you can simply Uncheck SysWOW64 and System32 .....and do later a second run ....

 

My Fresh Installed Win 2004 x64 Captured and Applied by VHD_WIMBOOT in 7 GB VHD is always as spare copy available,

 

so that simply Copying 7 GB VHD gives me a Fresh and Clean Source VHD. It is done in less than 15 seconds ....


  • antonino61 likes this

#907 antonino61

antonino61

    Gold Member

  • Advanced user
  • 1525 posts
  •  
    Italy

Posted 21 January 2022 - 04:01 PM

Thank, wimb, how about custom_command.cmd?

#908 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 21 January 2022 - 06:13 PM

Custom_Command.cmd is Ok the way it is now - Remove some Folders and Replace by File without bytes

Where is described what you want to do ? Can you give detailed working code and example that I can test ?

 

VHD_WIMBOOT can Capture from your Fresh in VHD Installed Windows a WIM file comparable to the install.wim file in the Microsoft ISO.

VHD_WIMBOOT can Apply that Captured WIM file in LZX Compact Mode and you get a much smaller Windows Installation of about 5 GB instead of 15 GB


  • antonino61 likes this

#909 antonino61

antonino61

    Gold Member

  • Advanced user
  • 1525 posts
  •  
    Italy

Posted 21 January 2022 - 06:45 PM

I want to achieve what u said in ur first sentence (remove some ...). This is why I added more entries, the entries I posted here a couple days ago (my last *.cmd.txt).

#910 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 23 January 2022 - 12:18 PM

back to winreduce trusted, I recommend reducing everything but syswow64 and system32, which would be dealt with later and separately, to be on the safe side. 

good thing to have just discovered the automation of zerobyting (custom_command.cmd). Only one doubt, is it enough to make a list of the folders u want to remove or do u also need to make another list for the corresponding zerobyte files, as I did in the cmd I posted here days ago (remdir and copy)? in my case, the zerobyte files were there in the same directory as the command, as u have noticed from the script.

 

The function of making Zero Byte files is Disabled in the Custom_Command.com file as given in Win_Reduce_Trusted-60

 

In order to make Custom_Command.com working as desired you have to remove the leading ECHO before RMDIR and before IF NOT EXIST %%A FSUTIL

 

Custom_Command.com working OK to make Zero Byte files is given here

:: ========================================================================================================
:: ====================================== Custom_Command.cmd - December 12 2020 ===========================
:: ========================================================================================================
@echo off
Setlocal EnableExtensions EnableDelayedExpansion

set WorkDrive=%1

ECHO.
ECHO WorkDrive = %WorkDrive%
ECHO.
if not exist %WorkDrive%\Windows\System32 (echo WorkDrive Not Found - Error: %WorkDrive%\Windows\System32 Not Found &pause &goto :eof)

ECHO  *** Remove some Folders and Replace by File without bytes  - Diabled by using ECHO ***
ECHO.
rem  to avoid the potential re-creation of the folder and this way send new ETL/LOG files to limbo
ECHO.
rem pause
ECHO.

FOR %%A IN (
  "%WorkDrive%\ProgramData\Microsoft\Windows\wfp"
  "%WorkDrive%\ProgramData\USOShared\Logs"
  "%WorkDrive%\Windows\SoftwareDistribution"
  "%WorkDrive%\Windows\Logs"
  "%WorkDrive%\Windows\System32\SleepStudy"
  "%WorkDrive%\ProgramData\Microsoft\Network\Downloader"
) DO ( 
  RMDIR %%A /s /q
  IF NOT EXIST %%A FSUTIL FILE CREATENEW %%A 0
)

ECHO.
ECHO  *** Custom_Command - Ready ***
ECHO.
rem pause

goto :eof
:: ========================================================================================================
:: ====================================== END Custom_Command.cmd ==========================================
:: ========================================================================================================

FSUTIL will Create the Zero Byte files so that you don't have to make them yourselves as you did and copy them to the right location.

 

I hope this info is the answer to your question.

 

Of course you can play with this working Custom_Command.com file by Adding more %WorkDrive% directory folders.



#911 antonino61

antonino61

    Gold Member

  • Advanced user
  • 1525 posts
  •  
    Italy

Posted 23 January 2022 - 12:51 PM

Which I did, at least as regards part 1. now let me see if I complied with ur suggestions even in part 2. in a bit.

 

IF NOT EXIST %%A FSUTIL FILE CREATENEW %%0

or

IF NOT EXIST %%A FSUTIL

?

 



#912 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 23 January 2022 - 01:36 PM

Of course as in the code where you see CREATENEW ....

 

The code is working OK to make Zero Byte files as created by FSUTIL


  • antonino61 likes this

#913 antonino61

antonino61

    Gold Member

  • Advanced user
  • 1525 posts
  •  
    Italy

Posted 23 January 2022 - 01:39 PM

wow, the only thing I had forgotten to do in the first place was taking ECHO off. all's well that ends well. let me try that now. in a bit.



#914 antonino61

antonino61

    Gold Member

  • Advanced user
  • 1525 posts
  •  
    Italy

Posted 23 January 2022 - 02:13 PM

Works wonders!! Attaboy again, wimb!
  • wimb likes this

#915 alacran

alacran

    Platinum Member

  • .script developer
  • 2710 posts
  •  
    Mexico

Posted 23 January 2022 - 03:17 PM

And here you have another good line you can add to Custom_Command.cmd:

 

"%WorkDrive%\Users\XXX\AppData\Roaming\Microsoft\Windows\Recent"

 

Just change XXX with your user name.

 

This avoids the creation of a shortcut into Recent folder everytime you open a file.

 

alacran


  • wimb likes this

#916 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 23 January 2022 - 04:23 PM

And may be also

"%WorkDrive%\Users\XXX\AppData\Local\Microsoft\Windows\WebCache"

just change XXX with your user name


  • antonino61 likes this

#917 antonino61

antonino61

    Gold Member

  • Advanced user
  • 1525 posts
  •  
    Italy

Posted 23 January 2022 - 04:36 PM

I guess I have both already on the list - tx anyway

#918 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 23 January 2022 - 05:18 PM

I guess I have both already on the list - tx anyway

 

Not on the list you published as 1.cmd.txt ....


  • antonino61 likes this

#919 antonino61

antonino61

    Gold Member

  • Advanced user
  • 1525 posts
  •  
    Italy

Posted 23 January 2022 - 06:57 PM

u r right, I did it in the meantime. We're really getting better and better!!! I am talking about the project to anyone I meet, some sound interested in it, when I tell them that they could save a lotta space. they say they might want advice.



#920 antonino61

antonino61

    Gold Member

  • Advanced user
  • 1525 posts
  •  
    Italy

Posted 24 January 2022 - 11:46 AM

I think we could call this EcoWindows or Windows SpaceSaver.



#921 alacran

alacran

    Platinum Member

  • .script developer
  • 2710 posts
  •  
    Mexico

Posted 24 January 2022 - 06:48 PM

Yes, I also tell everyone about the project. 


marketing worktime

 

Don't be fooled, this is just SPAM.

 

alacran


  • wimb and antonino61 like this

#922 antonino61

antonino61

    Gold Member

  • Advanced user
  • 1525 posts
  •  
    Italy

Posted 24 January 2022 - 07:20 PM

looking to replace immersive control panel, let us see what I will come up to. 

 

well, not that worth our while, since it is only 14megs, and the complete absence of it cannot be achieved in a coherent, non-brute-force and successful way - non bootable system. so, I now agree with wimb and alacrán who are dead right in such situations.

 

better stay with both immersive and traditional control panels.



#923 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 24 January 2022 - 07:45 PM

Don't be fooled, this is just SPAM.

 

 

Yes you are right, it is SPAM indeed ....


  • antonino61 likes this

#924 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 25 January 2022 - 11:19 AM

I have Uploaded a lot of the old stuff to github VHD_XP_Setup

 

Make_PE3_48 and USB_MultiBoot_10 and VHD_XP_Compact and VHD_7C_88 and VHD_8C_88 and more ....

 

More Info on using Make_PE3_48 in topic Make_PE3 Program to Create Portable Windows 7 PE

 

and YouTube Video Make_PE3 - Portable Windows 7 PE is available.

 

You don't need VHD_W7C_drivers.exe for Make_PE3  but I have VHD_W7C_drivers addon Uploaded for project VHD_W7C_88


  • alacran likes this

#925 alacran

alacran

    Platinum Member

  • .script developer
  • 2710 posts
  •  
    Mexico

Posted 26 January 2022 - 06:39 AM

JFYI

 

Mini-10x64-LZX-F.vhd = Made from Win10_2004_Spanish(Mexico)_x64.iso, after Win_Debloat-40 and Win_Reduce_Trusted-60, no DLLs reduction.

 

2 GB VHD, additional programs: Classic Shell and 7-zip, used size after installation = 1.49 GB.

 

Mini-10x64-LZX-F2.vhd = Made from Win10_2004_Spanish(Mexico)_x64.iso, after Win_Debloat-40 and Win_Reduce_Trusted-60, + DLLs reduction.

 

2 GB VHD, additional programs: Classic Shell and 7-zip, used size after installation = 1.44 GB.

 

Also both have new Utilities v4.0, attached as Utilities v4.0.7z, Password = alacran

 

Included README FIRST.txt file

Spoiler

 

alacran

Attached Thumbnails

  • Mini-10x64-LZX-F Just Installed.png
  • Mini-10x64-LZX-F2 Just installed.png
  • Run_as_TI.png

Attached Files


  • wimb and antonino61 like this





Also tagged with one or more of these keywords: ramdisk, grub4dos, wimlib, svbus, windows 10, ssd, usb, wim, vhd, wimboot

3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users