Working Deduplication files for Microsoft Windows 10

Discussion in 'Windows 10' started by dreamss, Oct 4, 2014.

  1. dreamss

    dreamss MDL Junior Member

    Apr 7, 2009
    99
    50
    10
    #1 dreamss, Oct 4, 2014
    Last edited: Dec 2, 2017
  2. EFA11

    EFA11 Avatar Guru

    Oct 7, 2010
    8,719
    6,741
    270
    #2 EFA11, Oct 4, 2014
    Last edited by a moderator: Apr 20, 2017
  3. Hadron-Curious

    Hadron-Curious MDL Guru

    Jul 4, 2014
    3,730
    603
    120
  4. EFA11

    EFA11 Avatar Guru

    Oct 7, 2010
    8,719
    6,741
    270
    C:\Windows\Logs\DISM\dism.log
     
  5. Hadron-Curious

    Hadron-Curious MDL Guru

    Jul 4, 2014
    3,730
    603
    120
    Thanks. But, that is not actually the problem I am talking about. I mean the reason why I am getting Chinese character of the dism.log file.

    View attachment 31315
     
  6. EFA11

    EFA11 Avatar Guru

    Oct 7, 2010
    8,719
    6,741
    270
    yeah dunno why you are getting that. My log is english, ran the install.bat installed dedup
     
  7. dreamss

    dreamss MDL Junior Member

    Apr 7, 2009
    99
    50
    10
    #10 dreamss, Mar 4, 2015
    Last edited: Mar 4, 2015
    (OP)

    Attached Files:

  8. dreamss

    dreamss MDL Junior Member

    Apr 7, 2009
    99
    50
    10
    #11 dreamss, Mar 4, 2015
    Last edited by a moderator: Apr 20, 2017
    (OP)
    NOTE: THIS METHOD IS BROKEN AND FILESERVER CAB WONT INSTALL


    made a new installer bat file
    USAGE:

    install.bat [filter string]

    examples:

    Install all cab files in folder: install.bat
    install just files that have the string FileServer: install.bat FileServer
    install just files that have the string FileServer but only en-us: install.bat FileServer*en-us


    Code:
    @echo off
    cls
    set /a count=0
    del /q /f *.log   %windir%\logs\cbs\cbs.log %windir%\Logs\DISM\dism.log  >/.err
    
    echo addressing the clusterf**k.... 
     cls
     for /f %%a IN ('dir /b *%**.cab') do (
      echo installing %%a  
       powershell -command Add-WindowsPackage -Online -PackagePath .\%%a -IgnoreCheck  -LogPath .\log.DISM-%%~na.log -NoRestart -LogLevel "2" > .\log.addpackage-%%~na.log
       set /a count+=1
         copy /Y  %windir%\Logs\DISM\dism.log .\log.DISM-THISSHOULDNOTEXIST-%%~na.log   >/.err
         copy /Y  %windir%\logs\cbs\cbs.log  .\log.CBS-%%~na.log   >/.err
         del /q /f %windir%\logs\cbs\cbs.log %windir%\Logs\DISM\dism.log  >/.err
        echo next file...
         cls
     )
       echo enabling feature
       dism /online /enable-feature /featurename:Dedup-Core /all  
         copy /Y  %windir%\Logs\DISM\dism.log .\log.DISM-THISSHOULDNOTEXIST-%%~na.log   >/.err
         copy /Y  %windir%\logs\cbs\cbs.log  .\log.CBS-%%~na.log   >/.err
        del /q /f   %windir%\logs\cbs\cbs.log %windir%\Logs\DISM\dism.log  >/.err
     
       echo .
       echo (%windir%\logs\cbs\cbs.log and windir%\Logs\DISM\dism.log are not there.. they in the folder u ran the bat from)
       echo .
       echo this s**t is done... installed %count% motherf**king cab files... welcome you lazy f**k
     
  9. dreamss

    dreamss MDL Junior Member

    Apr 7, 2009
    99
    50
    10
    #12 dreamss, Mar 4, 2015
    Last edited: Mar 4, 2015
    (OP)
    server came with remote admin tools enabled and ( RSAT ) and my extracts keept failing cause its not on 10, just had to remove rsat from server 9926 and my extract cab worked fine
     
  10. darius510

    darius510 MDL Novice

    Dec 26, 2014
    6
    0
    0
    As a side note, is there any chance you can bring over tiered spaces as well?
     
  11. suprphrk

    suprphrk MDL Novice

    Mar 5, 2015
    6
    0
    0
    #14 suprphrk, Mar 5, 2015
    Last edited by a moderator: Apr 20, 2017
    I'm getting:

    Code:
    enabling feature
    Deployment Image Servicing and Management tool
    Version: 10.0.9926.0
    Image Version: 10.0.9926.0
    Enabling feature(s)
    [==========================100.0%==========================]
    Error: 50
    The operation is complete but Dedup-Core feature was not enabled.
    
    The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log
    The process cannot access the file because it is being used by another process.
    .
    (C:\WINDOWS\logs\cbs\cbs.log and windir\Logs\DISM\dism.log are not there.. they in the folder u ran the bat from)
    .
    this s**t is done... installed 8 motherf**king cab files... welcome you lazy f**k
    
    Anyone else tried this for 9926? Getting errors in a few of the logs:

    BS-%~na.log file:
    Code:
    2015-03-05 10:06:06, Info                  CBS    Failed to get internal update: CoreFileServer in Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.9926.0 [HRESULT = 0x800f080c - CBS_E_UNKNOWN_UPDATE]
    
    log.addpackage-Microsoft-Windows-FileServer-Package~31bf3856ad364e35~amd64~~10.0.9926.0.log:
    Code:
     WARNING: Failed to add package .\Microsoft-Windows-FileServer-Package~31bf3856ad364e35~amd64~~10.0.9926.0.cab
    WARNING: Add-WindowsPackage failed. Error code = 0x80073701
    Add-WindowsPackage : The referenced assembly could not be found.
    At line:1 char:1
    + Add-WindowsPackage -Online -PackagePath .\Microsoft-Windows-FileServe ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Add-WindowsPackage], COMException
        + FullyQualifiedErrorId : Microsoft.Dism.Commands.AddWindowsPackageCommand
    
    log.CBS-Microsoft-Windows-Dedup-Package~31bf3856ad364e35~amd64~~10.0.9926.0.log:
    Code:
    2015-03-05 10:05:53, Info                  CBS    Enumerating Foundation package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.9926.0, this could be slow
    2015-03-05 10:05:53, Info                  CBS    Appl: DetectUpdate, Package: Microsoft-Windows-Dedup-Package~31bf3856ad364e35~amd64~~10.0.9926.0, Remote Parent: CoreFileServer, Parent Missing (ERROR_FILE_NOT_FOUND), non-critical error, ignored, check case sensitivity
    2015-03-05 10:05:53, Info                  CBS    Appl: Package: Microsoft-Windows-Dedup-Package~31bf3856ad364e35~amd64~~10.0.9926.0, Update: Dedup-Core, Applicable: NeedsParent, Disposition: Absent
    2015-03-05 10:05:53, Info                  CBS    External EvaluateApplicability, package: Microsoft-Windows-Dedup-Package~31bf3856ad364e35~amd64~~10.0.9926.0, package applicable State: Installed, highest update applicable state: Absent, resulting applicable state:Absent
    
    etc. Can link logs if it would help. Keep in mind, I have no idea what I'm doing.

    EDIT: I think it may have to do with this. I tried just installing just Microsoft-Windows-FileServer-Package~31bf3856ad364e35~amd64~~10.0.9926.0.cab and it errored with the assembly not found error. Looking at CBS logs after trying that cab alone (remember, I have no idea how to read these logs):
    Code:
    2015-03-05 11:15:48, Error                 CSI    0000001b[at]2015/3/5:17:15:48.00 (F) base\lstring\lblob.cpp(2609): Error STATUS_INVALID_PARAMETER originated in function RtlAppendLBlobToLBlob expression: ::RtlIsLBlobValid(Source)
    [gle=0x80004005]
    2015-03-05 11:15:48, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CBS.log to WER report.
    2015-03-05 11:15:48, Info                  CBS    Could not get active session for current session file logging [HRESULT = 0x80004003 - E_POINTER]
    2015-03-05 11:15:48, Info                  CBS    Not able to add pending.xml to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
    2015-03-05 11:15:48, Info                  CBS    Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
    2015-03-05 11:15:48, Error                 CSI    0000001c (F) Failed on regenerating file [l:20{10}]"secdrv.sys"[gle=0x80004005]
    2015-03-05 11:15:48, Info                  CSI    0000001d [SR] Cannot repair member file [l:20{10}]"secdrv.sys" of Macrovision-Protection-SafeDisc, Version = 10.0.9926.0, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, file cannot be decompressed
    2015-03-05 11:15:49, Error                 CSI    0000001e (F) c0000011 [Error,Facility=(system),Code=17 (0x0011)] #725643# from Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysReadFile(h = ab4 ("\Device\HarddiskVolume3\Windows\WinSxS\amd64_macrovision-protection-safedisc_31bf3856ad364e35_10.0.9926.0_none_3888df3d748f4285\secdrv.sys"), evt = 0, apcr = NULL, apcc = NULL, iosb = @0xf2a2d1b9a8, data = {l:0 b:}, byteoffset = (null), key = (null))
    [gle=0xd0000011]
    2015-03-05 11:15:49, Error                 CSI    0000001f[at]2015/3/5:17:15:49.951 (F) base\wcp\sil\merged\ntu\ntsystem.cpp(2293): Error c0000011 [Error,Facility=(system),Code=17 (0x0011)] originated in function Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysReadFile expression: (null)
    [gle=0x80004005]
    2015-03-05 11:15:49, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CBS.log to WER report.
    2015-03-05 11:15:49, Info                  CBS    Could not get active session for current session file logging [HRESULT = 0x80004003 - E_POINTER]
    2015-03-05 11:15:49, Info                  CBS    Not able to add pending.xml to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
    2015-03-05 11:15:49, Info                  CBS    Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
    2015-03-05 11:15:50, Error                 CSI    00000020 (F) c0000011 [Error,Facility=(system),Code=17 (0x0011)] #725642# from Windows::Rtl::SystemImplementation::CFile_IRtlFileTearoff::ReadFile(Flags = 0, Buffer = {l:0 ml:4 b:}, Offset = (null), Disposition = (null))[gle=0xd0000011]
    
     
  12. dreamss

    dreamss MDL Junior Member

    Apr 7, 2009
    99
    50
    10
    irectFileSystemProvider::SysReadFile(h = ab4 ("\Device\HarddiskVolume3\Windows\WinSxS\amd64_mac rovision-protection-safedisc_31bf3856ad364e35_10.0.9926.0_none_3888df3 d748f4285\secdrv.sys"

    spaces?
     
  13. EFA11

    EFA11 Avatar Guru

    Oct 7, 2010
    8,719
    6,741
    270
    #16 EFA11, Mar 8, 2015
    Last edited by a moderator: Apr 20, 2017
    amd64_macrovision-protection-safedisc_31bf3856ad364e35_10.0.9926.0_none_3888df3 d748f4285\secdrv.sys

    Code:
    amd64_macrovision-protection-safedisc_31bf3856ad364e35_10.0.9926.0_none_3888df3d748f4285\secdrv.sys
    
    limitation of the forum software, use code tags. Quotes will still add breaks.
     
  14. suprphrk

    suprphrk MDL Novice

    Mar 5, 2015
    6
    0
    0
    Aah, that's better. Thanks for the tip. Changed my questions to have code instead of quote tags. I don't forum much :)
     
  15. dreamss

    dreamss MDL Junior Member

    Apr 7, 2009
    99
    50
    10
    #18 dreamss, Mar 20, 2015
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Aparently the new install.bat i created is the reason fileserv fails to install.

    i changed the install.bat to the older version for the 9926/10041 package (same for the other packages now)

    Working install.bat:

    Code:
    rm C:\WINDOWS\Logs\DISM\dism.log dism.log 
    rm C:\Windows\Logs\CBS\CBS.log CBS.log 
    dism /online /add-package /packagepath:Microsoft-Windows-VdsInterop-Package~31bf3856ad364e35~amd64~~10.0.9926.0.cab /packagepath:Microsoft-Windows-VdsInterop-Package~31bf3856ad364e35~amd64~en-US~10.0.9926.0.cab /packagepath:Microsoft-Windows-FileServer-Package~31bf3856ad364e35~amd64~~10.0.9926.0.cab /packagepath:Microsoft-Windows-FileServer-Package~31bf3856ad364e35~amd64~en-US~10.0.9926.0.cab /packagepath:Microsoft-Windows-Dedup-ChunkLibrary-Package~31bf3856ad364e35~amd64~~10.0.9926.0.cab /packagepath:Microsoft-Windows-Dedup-ChunkLibrary-Package~31bf3856ad364e35~amd64~en-US~10.0.9926.0.cab /packagepath:Microsoft-Windows-Dedup-Package~31bf3856ad364e35~amd64~~10.0.9926.0.cab /packagepath:Microsoft-Windows-Dedup-Package~31bf3856ad364e35~amd64~en-US~10.0.9926.0.cab
    dism /online /enable-feature /featurename:Dedup-Core /all
    cp C:\WINDOWS\Logs\DISM\dism.log dism.log 
    cp C:\Windows\Logs\CBS\CBS.log CBS.log 
    BROKEN install.bat:

    (fileserv cab wont istall, errors out)

    Code:
    @echo off
    cls
    set /a count=0
    del /q /f *.log   %windir%\logs\cbs\cbs.log %windir%\Logs\DISM\dism.log  >/.err
    
    echo addressing the clusterf**k.... 
     cls
     for /f %%a IN ('dir /b *%**.cab') do (
      echo installing %%a  
       powershell -command Add-WindowsPackage -Online -PackagePath .\%%a -IgnoreCheck  -LogPath .\log.DISM-%%~na.log -NoRestart -LogLevel "2" > .\log.addpackage-%%~na.log
       set /a count+=1
         copy /Y  %windir%\Logs\DISM\dism.log .\log.DISM-THISSHOULDNOTEXIST-%%~na.log   >/.err
         copy /Y  %windir%\logs\cbs\cbs.log  .\log.CBS-%%~na.log   >/.err
         del /q /f %windir%\logs\cbs\cbs.log %windir%\Logs\DISM\dism.log  >/.err
        echo next file...
         cls
     )
       echo enabling feature
       dism /online /enable-feature /featurename:Dedup-Core /all  
         copy /Y  %windir%\Logs\DISM\dism.log .\log.DISM-THISSHOULDNOTEXIST-%%~na.log   >/.err
         copy /Y  %windir%\logs\cbs\cbs.log  .\log.CBS-%%~na.log   >/.err
        del /q /f   %windir%\logs\cbs\cbs.log %windir%\Logs\DISM\dism.log  >/.err
     
       echo .
       echo (%windir%\logs\cbs\cbs.log and windir%\Logs\DISM\dism.log are not there.. they in the folder u ran the bat from)
       echo .
       echo this s**t is done... installed %count% motherf**king cab files... welcome you lazy f**k
     
  16. bakageta

    bakageta MDL Novice

    Aug 31, 2012
    3
    0
    0
    #19 bakageta, Mar 21, 2015
    Last edited by a moderator: Apr 20, 2017
    Note that I was in a linux mood when I put that old install.bat together, and rm/cp are going to error out... Use this:
    Code:
    del dism.log
    del CBS.log 
    dism /online /add-package  /packagepath:Microsoft-Windows-VdsInterop-Package~31bf3856ad364e35~amd64~~10.0.9926.0.cab   /packagepath:Microsoft-Windows-VdsInterop-Package~31bf3856ad364e35~amd64~en-US~10.0.9926.0.cab   /packagepath:Microsoft-Windows-FileServer-Package~31bf3856ad364e35~amd64~~10.0.9926.0.cab   /packagepath:Microsoft-Windows-FileServer-Package~31bf3856ad364e35~amd64~en-US~10.0.9926.0.cab   /packagepath:Microsoft-Windows-Dedup-ChunkLibrary-Package~31bf3856ad364e35~amd64~~10.0.9926.0.cab   /packagepath:Microsoft-Windows-Dedup-ChunkLibrary-Package~31bf3856ad364e35~amd64~en-US~10.0.9926.0.cab   /packagepath:Microsoft-Windows-Dedup-Package~31bf3856ad364e35~amd64~~10.0.9926.0.cab   /packagepath:Microsoft-Windows-Dedup-Package~31bf3856ad364e35~amd64~en-US~10.0.9926.0.cab
    dism /online /enable-feature /featurename:Dedup-Core /all
    copy C:\WINDOWS\Logs\DISM\dism.log dism.log 
    copy C:\Windows\Logs\CBS\CBS.log CBS.log
    
     
  17. suprphrk

    suprphrk MDL Novice

    Mar 5, 2015
    6
    0
    0
    I went back to Win8.1 because I needed an entire Systems Center and SharePoint Lab set up, couldn't do that without deduplication on my measly 250gb SSD. I'd love to go back to WinTen, Have you tried these on 10049?