Topic: Req.: I need Windows Defrag GUI to work in WinPE!  (Read 788 times)

Req.: I need Windows Defrag GUI to work in WinPE!
« on: April 29, 2019, 08:17:49 PM »

Venlaxar

  • Apprentice
  • *
  • Date Registered: Apr 2019
  • Posts: 2
Sometimes when it's time to do a fresh Windows Installation I wanna TRIM my NVME PCIe SSD before Windows Setup.
But I don't know any Program wich will do it. IOBit Smart Defrag can Trim my SATA SSD's but doesent recognize PCIe SSD's as a SSD.
The Windows Defrag GUI (DFRGUI.exe, not the command line version) can do it but I can't get it to work under Win PE.

Does anybody know how to do this? Or anyone who knows another solution?  :smile:

thanks in advance

Ven.

Re: Req.: I need Windows Defrag GUI to work in WinPE!
« Reply #1 on: April 30, 2019, 10:51:07 AM »

Nikky

  • Chef
  • ***
  • Location: Croatia
  • Date Registered: Jan 2016
  • Posts: 131
You did not say, do you already have a Win10PE(SE) project / bulid ?
After the basics you need to add (integrate) specific drivers.
For example network card, sata controller if they are not recognized (installed).
Same story is with NVMe PCIe SSD, some work via a generic M$ driver and some have his own (for ex. Intel, Samsung, ...).

Only after mentioned and when you have access to SSD, HDD, files in general come the "wishes".

By this comparison > https://www.iobit.com/en/compare/sd/
IOBit Smart Defrag is not something special, it has a lot of better tools of that kind (especially in the free version).

Generally, in the W10 TRIM should be turned on by default for SSD.
Here's an example of how to run it using Power Shell > https://winaero.com/blog/trim-ssd-windows-10/

Also do not forget that with TRIM an garbage collection is important as well.


Re: Req.: I need Windows Defrag GUI to work in WinPE!
« Reply #2 on: April 30, 2019, 02:04:39 PM »

Venlaxar

  • Apprentice
  • *
  • Date Registered: Apr 2019
  • Posts: 2
Hi Nikky.

Seems to work under Windows 10.
Enabled Powershell in Win10PE SE and the build is just right now running.
I will test if it works in PE.

Thank you Nikky. That was all I wished.

Ven.

 

Powered by EzPortal