Integrating MS NVMe driver KB2990941 in Server 2008 R2 and reducing size of the ISO?

Discussion in 'Windows Server' started by hanzzon2, Sep 20, 2015.

  1. hanzzon2

    hanzzon2 MDL Member

    Dec 1, 2007
    115
    21
    10
    #1 hanzzon2, Sep 20, 2015
    Last edited: Sep 21, 2015
  2. shinjiman

    shinjiman MDL Novice

    Aug 29, 2012
    27
    9
    0
    #2 shinjiman, Sep 21, 2015
    Last edited: Sep 21, 2015
    the dism /cleanup-image /startcomponentcleanup /resetbase is supported in Windows 8 / Server 2012 and later only. Windows 7 and Windows Server 2008 R2 is not supported.

    However it can use the GUI Disk Cleanup Tool to cleanup the image. There's article on the TechNet to show how to cleanup the image for Windows Server 2008 R2.

    blogs.technet.com/b/askpfeplat/archive/2014/05/13/how-to-clean-up-the-winsxs-directory-and-free-up-disk-space-on-windows-server-2008-r2-with-new-update.aspx

    Also, you may need to use the "dism /export-image" or "dism /export-wim" command to reduce the size of the image file. Please note that if you have multiple indexes on the same .wim file you may need to export to the same filename by order.
     
  3. cengizhan

    cengizhan MDL Senior Member

    Jul 29, 2009
    377
    91
    10
    i have done this diskcleanup with windows 7 before capturing the image. the size didnt decrease but increase.
     
  4. shinjiman

    shinjiman MDL Novice

    Aug 29, 2012
    27
    9
    0
    The system needs to restart once first to apply the clean up for the component store for Windows 7 or Server 2008 R2 OS. Otherwise there'll be the pending files to start the cleanup when you do the next restart.
     
  5. shinjiman

    shinjiman MDL Novice

    Aug 29, 2012
    27
    9
    0
    It's the same thing to use the "dism /export-image" command which is only supported on Windows 8 or later, for Windows 7 and Windows 7 AIK the "dism /export-wim" command is used.