WinReducer.net Project
Would you like to react to this message? Create an account in a few clicks or log in to continue.

WinReducer.net ProjectLog in

FORUM

description[SOLVED] removing Optimize Drives Service cause error when shrinking partition Empty[SOLVED] removing Optimize Drives Service cause error when shrinking partition

more_horiz
hey winter,

when i remove the service "Optimize Drives Service"

and i want so shrink the size of a partition from here:

[SOLVED] removing Optimize Drives Service cause error when shrinking partition I6kfjmxq

i get this error

[SOLVED] removing Optimize Drives Service cause error when shrinking partition Sywlmu5c

and cause the tip says "Formerly Disk Defragmentation Service" it should give me this error.

i will post tomorrow after some testing what file is causing it

Last edited by KrX on Tue 22 Nov 2016 - 2:11; edited 1 time in total

description[SOLVED] removing Optimize Drives Service cause error when shrinking partition EmptyRe: [SOLVED] removing Optimize Drives Service cause error when shrinking partition

more_horiz
after removing those 2 files i also get errors:


< \Windows\System32\defragproxy.dll
< \Windows\System32\de-DE\defragsvc.dll.mui

but i cant fix that problem i mentioned before.

i tried this 2 things

1.) i removed all files manually step by step and didnt get the error. only 2 other errors when removing the 2 files above

2. i removed with winreducer Optimize Drives Service and got the error. after that i added step by step all files back. but the error was still there after adding all files.

description[SOLVED] removing Optimize Drives Service cause error when shrinking partition EmptyRe: [SOLVED] removing Optimize Drives Service cause error when shrinking partition

more_horiz
Hey,

I confirm what you said, I tried and it didn't work ... So it should be normal, because this tool needs to move all files to a better location on the HDD/SDD to avoid them from deleting ... so it seems the MS tools uses the defrag functionnality !

description[SOLVED] removing Optimize Drives Service cause error when shrinking partition EmptyRe: [SOLVED] removing Optimize Drives Service cause error when shrinking partition

more_horiz
Could you please keep these files in a list, because we will use it later in the new Keep Files List ... this should help WinReducer users !

description[SOLVED] removing Optimize Drives Service cause error when shrinking partition EmptyRe: [SOLVED] removing Optimize Drives Service cause error when shrinking partition

more_horiz
sure i will keep them, but like i said keeping those 2 files didnt solve the problem. 

i was thinking that maybe the software.log files that are deleted could cause this? (i didnt test it yet)

EDIT: thats now the 3rd time i experience it, when removing components with winreducer and getting an error and readding all files manually that the error still exists. and each time the software.log files at C:\Windows\System32\config are deleted

description[SOLVED] removing Optimize Drives Service cause error when shrinking partition EmptyRe: [SOLVED] removing Optimize Drives Service cause error when shrinking partition

more_horiz
so i tried again. this are the files winreducer removes when selecting the component:

OK to remove manually:::::::::::::::::::::::::

> \Windows\winsxs\Manifests\amd64_microsoft-windows-d..g-adminui.resources_31bf3856ad364e35_6.1.7600.16385_de-de_6b5a3a798fb698d0.manifest
> \Windows\winsxs\Manifests\amd64_microsoft-windows-d..g-cmdline.resources_31bf3856ad364e35_6.1.7600.16385_de-de_da3238e0b81f7561.manifest
> \Windows\winsxs\Manifests\x86_microsoft-windows-d..g-adminui.resources_31bf3856ad364e35_6.1.7600.16385_de-de_0f3b9ef5d759279a.manifest
> \Windows\winsxs\Manifests\amd64_microsoft-windows-defrag-core_31bf3856ad364e35_6.1.7600.16385_none_74535a2cd1bda1d0.manifest
> \Windows\winsxs\Manifests\amd64_microsoft-windows-defrag-adminui_31bf3856ad364e35_6.1.7601.17514_none_f73c142da6e47daa.manifest
> \Windows\winsxs\Manifests\amd64_microsoft-windows-defrag-cmdline_31bf3856ad364e35_6.1.7600.16385_none_2370c162e00680c3.manifest
> \Windows\winsxs\Manifests\amd64_microsoft-windows-defrag-core.resources_31bf3856ad364e35_6.1.7601.17514_de-de_2951fef365cda1de.manifest
> \Windows\winsxs\Manifests\amd64_microsoft-windows-defrag-scheduleclient_31bf3856ad364e35_6.1.7600.16385_none_8be90b2fedf30083.manifest
> \Windows\winsxs\Manifests\amd64_microsoft-windows-defrag_31bf3856ad364e35_6.1.7600.16385_none_5fec8282747816ac.manifest
> \Windows\winsxs\Manifests\x86_microsoft-windows-defrag-adminui_31bf3856ad364e35_6.1.7601.17514_none_9b1d78a9ee870c74.manifest
> \Windows\winsxs\Manifests\x86_microsoft-windows-defrag-scheduleclient_31bf3856ad364e35_6.1.7600.16385_none_2fca6fac35958f4d.manifest
> \Windows\winsxs\Manifests\x86_microsoft-windows-defrag_31bf3856ad364e35_6.1.7600.16385_none_03cde6febc1aa576.manifest
> \Windows\winsxs\amd64_microsoft-windows-defrag-core.resources_31bf3856ad364e35_6.1.7601.17514_de-de_2951fef365cda1de\
> \Windows\winsxs\amd64_microsoft-windows-defrag-core.resources_31bf3856ad364e35_6.1.7601.17514_de-de_2951fef365cda1de\defragsvc.dll.mui
> \Windows\winsxs\amd64_microsoft-windows-defrag-core_31bf3856ad364e35_6.1.7600.16385_none_74535a2cd1bda1d0\
> \Windows\winsxs\amd64_microsoft-windows-defrag-core_31bf3856ad364e35_6.1.7600.16385_none_74535a2cd1bda1d0\defragproxy.dll
> \Windows\winsxs\amd64_microsoft-windows-defrag-core_31bf3856ad364e35_6.1.7600.16385_none_74535a2cd1bda1d0\defragsvc.dll
> \Windows\winsxs\amd64_microsoft-windows-d..g-cmdline.resources_31bf3856ad364e35_6.1.7600.16385_de-de_da3238e0b81f7561\
> \Windows\winsxs\amd64_microsoft-windows-d..g-cmdline.resources_31bf3856ad364e35_6.1.7600.16385_de-de_da3238e0b81f7561\Defrag.exe.mui
> \Windows\winsxs\amd64_microsoft-windows-defrag-cmdline_31bf3856ad364e35_6.1.7600.16385_none_2370c162e00680c3\
> \Windows\winsxs\amd64_microsoft-windows-defrag-cmdline_31bf3856ad364e35_6.1.7600.16385_none_2370c162e00680c3\Defrag.exe
> \Windows\winsxs\amd64_microsoft-windows-d..g-adminui.resources_31bf3856ad364e35_6.1.7600.16385_de-de_6b5a3a798fb698d0\
> \Windows\winsxs\amd64_microsoft-windows-d..g-adminui.resources_31bf3856ad364e35_6.1.7600.16385_de-de_6b5a3a798fb698d0\DfrgUI.exe.mui
> \Windows\winsxs\x86_microsoft-windows-d..g-adminui.resources_31bf3856ad364e35_6.1.7600.16385_de-de_0f3b9ef5d759279a\
> \Windows\winsxs\x86_microsoft-windows-d..g-adminui.resources_31bf3856ad364e35_6.1.7600.16385_de-de_0f3b9ef5d759279a\DfrgUI.exe.mui
> \Windows\winsxs\x86_microsoft-windows-defrag-adminui_31bf3856ad364e35_6.1.7601.17514_none_9b1d78a9ee870c74\
> \Windows\winsxs\x86_microsoft-windows-defrag-adminui_31bf3856ad364e35_6.1.7601.17514_none_9b1d78a9ee870c74\dfrgui.exe
> \Windows\winsxs\amd64_microsoft-windows-defrag-adminui_31bf3856ad364e35_6.1.7601.17514_none_f73c142da6e47daa\
> \Windows\winsxs\amd64_microsoft-windows-defrag-adminui_31bf3856ad364e35_6.1.7601.17514_none_f73c142da6e47daa\dfrgui.exe
> \ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\System Tools\dfrgui.lnk
> \Windows\System32\Defrag.exe
> \Windows\System32\dfrgui.exe
> \Windows\System32\de-DE\Defrag.exe.mui
> \Windows\System32\de-DE\DfrgUI.exe.mui
> \Windows\System32\Tasks\Microsoft\Windows\Defrag\
> \Windows\System32\Tasks\Microsoft\Windows\Defrag\ScheduledDefrag
> \Windows\SysWOW64\dfrgui.exe
> \Windows\SysWOW64\de-DE\DfrgUI.exe.mui

KEEP:::::::::::::::::::::::::::::.

> \Windows\System32\defragproxy.dll
> \Windows\System32\defragsvc.dll
> \Windows\System32\de-DE\defragsvc.dll.mui


when removing all those file manually (exept those 3 under "keep") it works.
if i use winreducer and exactly those files are removed and i copy the 3 files under "keep" back to the wim, it doesnt work anymore.

description[SOLVED] removing Optimize Drives Service cause error when shrinking partition EmptyRe: [SOLVED] removing Optimize Drives Service cause error when shrinking partition

more_horiz
As usual, excellent work !

I will have a look at this, but could you keep these files in your keep files list for the new feature keep files list.

description[SOLVED] removing Optimize Drives Service cause error when shrinking partition EmptyRe: [SOLVED] removing Optimize Drives Service cause error when shrinking partition

more_horiz
im at the moment trying something. one of the manifest files is creating the defragmentation service.

maybe if i keep it and the service is created it will work.

description[SOLVED] removing Optimize Drives Service cause error when shrinking partition EmptyRe: [SOLVED] removing Optimize Drives Service cause error when shrinking partition

more_horiz
i couldnt solve it at the moment but when i remove the defragmentation service (from registry Local_machine\system\currentcontrolset\services)

i cant shrink the partition (i get an error)

description[SOLVED] removing Optimize Drives Service cause error when shrinking partition EmptyRe: [SOLVED] removing Optimize Drives Service cause error when shrinking partition

more_horiz
ok winreducer removes this registry trees

HKLM\WIM_Software\Classes\AppID\{ab7c873b-eb14-49a6-be60-a602f80e6d22}
HKLM\WIM_Software\Classes\CLSID\{87CB4E0D-2E2F-4235-BC0A-7C62308011F6}
HKLM\WIM_Software\Classes\CLSID\{d20a3293-3341-4ae8-9aaf-8e397cb63c34}
HKLM\WIM_Software\Classes\Interface\{0C401E84-3083-4764-B6B5-A0DE8FEDD40C}


and that gets me the error above.

im still testing is theres more


EDIT:

this are needed.


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID\{ab7c873b-eb14-49a6-be60-a602f80e6d22}]
"LocalService"="defragsvc"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{d20a3293-3341-4ae8-9aaf-8e397cb63c34}]
"AppID"="{ab7c873b-eb14-49a6-be60-a602f80e6d22}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{87CB4E0D-2E2F-4235-BC0A-7C62308011F6}\InProcServer32]
@=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,74,00,25,\
  00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,64,00,65,00,\
  66,00,72,00,61,00,67,00,70,00,72,00,6f,00,78,00,79,00,2e,00,64,00,6c,00,6c,\
  00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{0C401E84-3083-4764-B6B5-A0DE8FEDD40C}\ProxyStubClsid32]
@="{87CB4E0D-2E2F-4235-BC0A-7C62308011F6}"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\defragsvc]
"ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
  74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\
  00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\
  6b,00,20,00,64,00,65,00,66,00,72,00,61,00,67,00,73,00,76,00,63,00,00,00
"ObjectName"="localSystem"
"ErrorControl"=dword:00000001
"Start"=dword:00000003
"Type"=dword:00000010

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\defragsvc\Parameters]
"ServiceDll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,\
  00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
  64,00,65,00,66,00,72,00,61,00,67,00,73,00,76,00,63,00,2e,00,64,00,6c,00,6c,\
  00,00,00


but there is still something missing

Last edited by KrX on Wed 22 Apr 2015 - 16:29; edited 1 time in total

description[SOLVED] removing Optimize Drives Service cause error when shrinking partition EmptyRe: [SOLVED] removing Optimize Drives Service cause error when shrinking partition

more_horiz
SO
i finally got it Razz

this files:

> \Windows\System32\defragproxy.dll
> \Windows\System32\defragsvc.dll
> \Windows\System32\de-DE\defragsvc.dll.mui


and this registry keys :

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID\{ab7c873b-eb14-49a6-be60-a602f80e6d22}]
"LocalService"="defragsvc"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{d20a3293-3341-4ae8-9aaf-8e397cb63c34}]
"AppID"="{ab7c873b-eb14-49a6-be60-a602f80e6d22}"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{87CB4E0D-2E2F-4235-BC0A-7C62308011F6}\InProcServer32]
@=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,74,00,25,\
  00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,64,00,65,00,\
  66,00,72,00,61,00,67,00,70,00,72,00,6f,00,78,00,79,00,2e,00,64,00,6c,00,6c,\
  00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{0C401E84-3083-4764-B6B5-A0DE8FEDD40C}\ProxyStubClsid32]
@="{87CB4E0D-2E2F-4235-BC0A-7C62308011F6}"

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\defragsvc]
"ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
  74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\
  00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\
  6b,00,20,00,64,00,65,00,66,00,72,00,61,00,67,00,73,00,76,00,63,00,00,00
"ObjectName"="localSystem"
"ErrorControl"=dword:00000001
"Start"=dword:00000003
"Type"=dword:00000010

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\defragsvc\Parameters]
"ServiceDll"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,\
  00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
  64,00,65,00,66,00,72,00,61,00,67,00,73,00,76,00,63,00,2e,00,64,00,6c,00,6c,\
  00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Svchost]
"defragsvc"=hex(7):64,00,65,00,66,00,72,00,61,00,67,00,73,00,76,00,63,00,00,00,\
  00,00


are needed so that the shrinking feature will work

all other keys/subkeys that winreducer removes can be deleted.


i also found some more registry keys that are left but CAN BE removed:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\DefragPath]
@=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,74,00,25,\
  00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,64,00,66,00,\
  72,00,67,00,75,00,69,00,2e,00,65,00,78,00,65,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\explorer\MyComputer\DefragPath]
@=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,74,00,25,\
  00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,64,00,66,00,\
  72,00,67,00,75,00,69,00,2e,00,65,00,78,00,65,00,00,00

[HKEY_USERS\.DEFAULT\Software\Classes\Local Settings\MuiCache\1\52C64B7E]
"@%SystemRoot%\\system32\\defragsvc.dll,-101"="Disk Defragmenter"
"@%systemroot%\\system32\\dfrgui.exe,-172"="Defragments your disks so that your computer runs faster and more efficiently."
"@C:\\Windows\\system32\\dfrgui.exe,-103"="Disk Defragmenter"


tested:
let winreducer remove "Optimize Drives Service" and put back the 3 files + registry keys.
install OS -> works

description[SOLVED] removing Optimize Drives Service cause error when shrinking partition EmptyRe: [SOLVED] removing Optimize Drives Service cause error when shrinking partition

more_horiz
since its not a bug im marking this as solved.

i opend an topic to split the optimize drives service

https://forum.winreducer.net/t1944-ex-70-v1-6-1-0-split-optimize-drives-service#17318
privacy_tip Permissions in this forum:
You cannot reply to topics in this forum