Jump to content











Photo
- - - - -

Compact mode installs

compact mode

  • Please log in to reply
77 replies to this topic

#51 antonino61

antonino61

    Silver Member

  • Advanced user
  • 755 posts
  •  
    Italy

Posted 21 August 2020 - 09:30 PM

nothing compares to a properly debloated windows 10!!!



#52 JackPW15

JackPW15
  • Members
  • 3 posts
  •  
    Australia

Posted 2 weeks ago


Or do I have to use a Windows 10 PE?

Windows 10 PE is a good choose.



#53 socialmedia25

socialmedia25
  • Members
  • 1 posts
  • Location:INDIA
  • Interests:• Traveling, Fishing Etc.
  •  
    India

Posted 2 weeks ago

Our talented team is the perfect blend of modern technologies and the competitive skills. We do take even the hardest step to bring in the best talent in our organization. They are the certified professionals with a long term experience. Under the assistance of our team your business will touch the sky.
web development company in india


Edited by socialmedia25, 2 weeks ago.


#54 gbrao

gbrao

    Frequent Member

  • Advanced user
  • 410 posts
  •  
    India

Posted 2 weeks ago

What is the difference between wofadk.sys and wof.sys?

 

If I want to boot Windows 8.1, modded, from a VHD and the files in the VHD are lzx compressed, do I need to install wofadk.sys ?

Windows 8.1 already has wof.sys.



#55 alacran

alacran

    Gold Member

  • .script developer
  • 1524 posts
  •  
    Mexico

Posted 2 weeks ago

What is the difference between wofadk.sys and wof.sys?

 

If I want to boot Windows 8.1, modded, from a VHD and the files in the VHD are lzx compressed, do I need to install wofadk.sys ?

Windows 8.1 already has wof.sys.

You only need one of the two drivers for Wimboot:

 

If the OS already has wof.sys (included on 8.1 Update 1 and newer), that's all you need.

 

If the OS does not have wof.sys, then you need to install wofadk.sys, (required on 7, 8 and 8.1).

 

EDIT: For Compact installs see new info on Post: http://reboot.pro/to...ls/#entry216154

 

alacran


  • gbrao likes this

#56 gbrao

gbrao

    Frequent Member

  • Advanced user
  • 410 posts
  •  
    India

Posted 2 weeks ago


If the OS does not have wof.sys, then you need to install wofadk.sys, (required on 7, 8 and 8.1).

 

alacran

 

8.1 does have wof.sys.
 



#57 gbrao

gbrao

    Frequent Member

  • Advanced user
  • 410 posts
  •  
    India

Posted 2 weeks ago

I applied a wim of a modded Win 8.1 to a VHD with lzx (and proper WimBootCompress.ini).

 

Tried booting the vhd from bootmgr. It did not boot.

 

Installed wofadk.sys to the vhd (from a PE).

 

Tried again and the vhd booted find. So maybe wof.sys (edit, in win 8.1) does not support lzx (?).



#58 wimb

wimb

    Platinum Member

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

Posted 2 weeks ago

I applied a wim of a modded Win 8.1 to a VHD with lzx (and proper WimBootCompress.ini).

 

Tried booting the vhd from bootmgr. It did not boot.

 

Installed wofadk.sys to the vhd (from a PE).

 

Tried again and the vhd booted find. So maybe wof.sys (edit, in win 8.1) does not support lzx (?).

 

Check if your modded Win8.1 contains uncompressed \Windows\System32\drivers\wof.sys

You can use WOF_Compress to check the WOF Status of wof.sys

 

What did you use to Capture and Apply the WIM file with LZX compression ?

 

wof.sys must be present uncompressed and in that case can be used in LZX compressed Windows booting from VHD.



#59 gbrao

gbrao

    Frequent Member

  • Advanced user
  • 410 posts
  •  
    India

Posted 2 weeks ago

Check if your modded Win8.1 contains uncompressed \Windows\System32\drivers\wof.sys

You can use WOF_Compress to check the WOF Status of wof.sys

 

What did you use to Capture and Apply the WIM file with LZX compression ?

 

wof.sys must be present uncompressed and in that case can be used in LZX compressed Windows booting from VHD.

Yes the WimBootCompress.ini keeps all .sys uncompressed.

I captured and applied the wim using wimlib. Captured as XPRESS, applied as LZX.

Attached Files



#60 alacran

alacran

    Gold Member

  • .script developer
  • 1524 posts
  •  
    Mexico

Posted 2 weeks ago

8.1 does have wof.sys.
 

 

NO, 8.1 first version does not have wof.sys, but 8.1 Update 1 has it.

 

We started experimenting with Wimboot on 2014, see: http://reboot.pro/to...e-boot-wimboot/

 

 

Windows 8.1 update X64 installed on a Lenovo T61. Wosk fine.

From: http://reboot.pro/to...ot/#entry183366

 

But AFAIR LZX compression was not tested at that time.

 

alacran



#61 alacran

alacran

    Gold Member

  • .script developer
  • 1524 posts
  •  
    Mexico

Posted 2 weeks ago

But the wof.sys (on 8.1U1) was originaly designed to Wimboot, remember the Compact mode install started with Win10, so it is very possible that´s the cause of the issue, and for Compact installs wofadk.sys is then required on all systems before 10.

 

NOTE: I edited my previous posts about this subject and added a note with a link to this post.

 

alacran



#62 alacran

alacran

    Gold Member

  • .script developer
  • 1524 posts
  •  
    Mexico

Posted A week ago

JFYI

 

I edited my post No. 29, with additional following info required on Win10 to create usefull links on PC context menu:

 

NOTE: Good from 7 to 10, But on 10 they need to be run as Trusted Installer, see: http://reboot.pro/to...est-privileges/

 

Spoiler

 

alacran



#63 wimb

wimb

    Platinum Member

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

Posted A week ago

But the wof.sys (on 8.1U1) was originaly designed to Wimboot, remember the Compact mode install started with Win10, so it is very possible that´s the cause of the issue, and for Compact installs wofadk.sys is then required on all systems before 10.

 

 

You are quite right.

Compact Install of system before 10 require wofadk.sys. WinNTSetup mode Compact:NONE will install wofadk.sys driver needed for older systems.

 

From wimlib Apply

 

 

--compact=FORMAT

Windows-only: compress the extracted files using System Compression, when possible. This only works on either Windows 10 or later, or on an older Windows to which Microsoft’s wofadk.sys driver has been added. Several different compression formats may be used with System Compression, and one must be specified as FORMAT. The choices are: xpress4k, xpress8k, xpress16k, and lzx.

 

Exclusions are handled in the same way as with the --wimboot option. That is: if it exists, the [PrepopulateList] section of the file \Windows\System32\WimBootCompress.ini in the WIM image will be read, and files matching any of the patterns in this section will not be compressed. In addition, wimlib has a hardcoded list of files for which it knows, for compatibility with the Windows bootloader, to override the requested compression format.

 


#64 wimb

wimb

    Platinum Member

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

Posted A week ago

You are quite right.

Compact Install of system before 10 require wofadk.sys. WinNTSetup mode Compact:NONE will install wofadk.sys driver needed for older systems.

 

From wimlib Apply

 

Windows 8.1 was Installed by WinNTSetup using Compact:NONE mode so that wofadk.sys was installed.

VHD_WIMBOOT  was used for Capture and Apply in Compact LZX Mode in VHD and then booting of VHD is OK,  :)

 

Without wofadk.sys booting 8.1 Compact LZX fails as also observed by gbrao and in ageement with wimlib Apply documentation.

 

Attached File  W81_LZX_2020-09-16_151408.jpg   125.04KB   0 downloads



#65 alacran

alacran

    Gold Member

  • .script developer
  • 1524 posts
  •  
    Mexico

Posted A week ago

JFYI:

 

I saw this topic on wimlib Forum some time ago, but forgot to comment it on this Forum:

(The comments apply to Win10 1903 and newer)

 

Topic: https://wimlib.net/f...c.php?f=1&t=444

 

I will quote it here for your convenience:

 

Spoiler

 

Then the internal list of wimlib-imagex, ([he calls it black list] used to control/exclude critical files compression during Compact mode Apply), was updated on commit 4ab624f1529c, but from the Downloads page we can see there is not jet a new release after the commit date, so I assume this will be implemented on a future release, see:

 

Spoiler

 

 

alacran


  • wimb likes this

#66 wimb

wimb

    Platinum Member

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

Posted A week ago

I saw this topic on wimlib Forum some time ago, but forgot to comment it on this Forum:

(The comments apply to Win10 1903 and newer)

 

Topic: https://wimlib.net/f...c.php?f=1&t=444

 

 

Thanks for interesting info regarding compression.

You also noticed a change in Microsoft standard from XPRESS4K into XPRESS8K for System Compression.

Also interesting that the list of files that must be uncompressed in Compact Installs is becoming smaller.



#67 alacran

alacran

    Gold Member

  • .script developer
  • 1524 posts
  •  
    Mexico

Posted A week ago

As said that change will be available on a future wimlib-imagex release, but anyway IMHO it's better to keep the current WimbootCompress.ini to maintain support for 7 and 8.x Compact and Wimboot mode installations, of course on long term on this OSs it will depend of the wofadk.sys version characteristics applied by WinNTSetup during first install.

 

alacran


  • wimb likes this

#68 gbrao

gbrao

    Frequent Member

  • Advanced user
  • 410 posts
  •  
    India

Posted 6 days ago

Note : this is not ready for prime time :-)

 

Here is a autoit script I use to WOF compress/uncompress files.

 

If you find it useful ... I cannot guarantee it's bug free, LOL.

 

Source included. Credits to erwan.l, wimb & alacran.

 

It ignores files with regular NTFS compression, btw.

 

Edit : Updated. Added option to recurse/not recurse to stats tab.

 

 

Attached Files



#69 gbrao

gbrao

    Frequent Member

  • Advanced user
  • 410 posts
  •  
    India

Posted 4 days ago

How does one list all the components/packages in a wim (or the active windows)?

 

I tried dism get-packages but it listed only a few.

 

How do progs like NTLite display all the components?

 

Would be useful for reducing/compacting windows.



#70 alacran

alacran

    Gold Member

  • .script developer
  • 1524 posts
  •  
    Mexico

Posted 4 days ago

@ gbrao

 

Info for the tool used to reduce the install.wim is on first post. just open the spoiler next to Summary of my procedure.

 

alacran



#71 gbrao

gbrao

    Frequent Member

  • Advanced user
  • 410 posts
  •  
    India

Posted 4 days ago

Are you referring to MSMG ?

Thats only lists a few of the components/packages.

 

NTLite lists maybe 3 to 4 times as many.

 

If any one here is looking for a project : Listing all the components in a wim.

 

If I had the tech knowledge & skills I would attempt it.



#72 alacran

alacran

    Gold Member

  • .script developer
  • 1524 posts
  •  
    Mexico

Posted 4 days ago

Those are the safe to delete items, but It is also capable to use the user made list.

 

alacran



#73 gbrao

gbrao

    Frequent Member

  • Advanced user
  • 410 posts
  •  
    India

Posted 4 days ago

I thought the user made list was :

- only to automate the process.

- the list could only contain the packages MSMG normally displays in the manual mode. For e.g. you could edit the file (i.e. remove components from ) RemovePkgsList_W10_LTSC_2019.txt.

 

To include anything else in that file you would need the name of the package. That's exactly what I was hoping someone here would do.



#74 embassy123

embassy123
  • Members
  • 1 posts
  •  
    Singapore

Posted 4 days ago

Apply China visa Singapore with IVC services - Best China Visa Agent Singapore for China Visa application Singapore online. We provide hassle free solution for your China visa in Singapore.

apply for singapore visa



#75 travel52

travel52
  • Members
  • 1 posts
  • Location:united kingdom
  • Interests:• Playing chess, Blogging, Surfing, Watching movies
  •  
    United Kingdom

Posted 2 days ago

Great blog right here! Additionally your website so much

up very fast!

Website: Trip to Vietnam




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users