DISM/cleanup-image does not

Hello

I am running Win 7 SP1 and try to retrieve space in the folder winsxs bloated (about 20 GB!), using the DISM command.
However, when I run

DISM/Online/Cleanup-Image /spsuperseded

I get:

Error 87
Cleaning-image option is unknown

Dig deeper in the dism.log, one of the log entry shows:
DISM. EXE: No provider were found who supported by the command(cleanup-image).

No idea what I'm missing or doing wrong?

Thank you!

Nick

I installed SP1 on top a base of Win7.

And Yes, I had previously run the tool to drive Compact, all options on, who are desperately trying to reduce the size of the footprint of the OS. But producing minimal results, that's why I gave DISM one go.

I do not understand: the winsxs directory is about 20 GB, and overall, the Windows directory is 39 GB. My SSD is only a 64 GB, and I fear at this rate, there will come a time when I run out of space just because of Windows updates.

Is there really nothing there to help diagnose/fix this crazy consumption of space by Windows?

Windows 7 on a 64 GB drive is malfunctioning.  From my experience, you need at least 128GB and most of the people - 256 GB or more.

Of course - I say this and sitting happily with my 64 GB SSD on this same machine.  I have only about 15 GB free, but I have quite a large Outlook mailbox.  My file C:\Windows\ (64 - bit, Windows 7 Enterprise) has 70159 files in folders 15072 containing ~17.7GB of data.  While the C:\Windows\winsxs directory is a good piece of which 42734 10689 files containing ~6.41GB files - this isn't nearly the size of your 20 GB.  If you select all files and folders in the root of my drive C:\ other than 'Windows' and 'Users' I 37070 files in 5283 records taking ~13.1GB.  My folder "C:\USERS\" competes quite well to the ~12.6GB - with ~12.5GB everything under my user account as well as ~6.78GB of this being Microsoft Outlook PST and OST files for four different e-mail accounts.

So the question is - what do you differently to what I've done?

I do not know.  I'm sure that I installed using media for Windows 7 * with * SP1 integrated.  However, when I run the command I have recommended dozens of times before...

/ Online/Cleanup-Image /spsuperseded C:\Windows\System32>DISM

Management and maintenance of deployment images tool
Version: 6.1.7600.16385

Image Version: 6.1.7600.16385

Service Pack cleanup cannot move forward: no service pack, the backup files have been found.
The operation completed successfully.

It works fine for me and politely lets me know that I don't have the files from the service pack to remove.

Then... If you open an administration command prompt and type:

DISM /?

And press ENTER... What do you get?

I get:

C:\Windows\System32>DISM /?
   
Management and maintenance of deployment images tool
Version: 6.1.7600.16385
   
   
DISM.exe [options_dism] {WIM_command} []
DISM.exe {/ Image: | / online} [options_dism]
{commande_maintenance} []
   
DESCRIPTION:
   
DISM lists, installs, uninstalls, configures, and updates features
and packages in the windows images. The commands available depend on
on the image supported and whether the image is offline or running.
   
WIM COMMANDS:
   
/ Get-MountedWimInfo - displays information about a mounted WIM images.
/ Get-WimInfo - displays information about the images in a WIM file.
/ Validation-Wim - saves changes to a mounted WIM image.
/ Unmount-Wim - dismounts a mounted WIM image.
/ Mount-Wim - get an image from a WIM file.
/ Remount-Wim - retrieves an orphaned mount WIM directory.
/ Cleanup-Wim - deletions resources associated with a mounted WIM
images that are corrupt.
   
CHARACTERISTICS OF THE IMAGE:
   
/ Online - target operating system.

/ Image - specifies the path to the root of a directory
System Windows offline image.
   
THE DISM TOOL OPTIONS:
   
/ English - command-line poster released in English.
/ Format - Specifies the output format of report.
/ %Windir%\System32 folder - specifies the path to the Windows directory.
/ SysDriveDir - specifies the path to the system file named loader
BootMgr.
/ LogPath - specifies the path to the log file.
/ LogLevel - specifies the output level indicated in the log (1-4).
/ NoRestart - removes automatic reboots and calls restart.
/ Quiet - suppresses all output except for error messages.
/ ScratchDir - specifies the path to a directory from scratch.
   
For more information about these DISM options and their arguments, specify one
immediately before the option /?.
   
Examples:
DISM.exe/Mount-Wim /?
DISM.exe /ScratchDir /?
DISM.exe \test\offline /?
DISM.exe / Online /?

Although I'd also be interested by what you get when you make the last line of the above help file (dism.exe / online /?) -c' is a LONG list on mine.  Capture-mine a little...

C:\Windows\System32>DISM / online /?
   
Management and maintenance of deployment images tool
Version: 6.1.7600.16385
   
Image Version: 6.1.7600.16385
   
   
The following commands can be used to service the image:
    <.... snipped="" ....="">
MAINTAINING PACKAGE COMMANDS:
   
/ Add-Package - add packages to the image.
    <.... snipped="" ....="">
/ Get-FeatureInfo - displays information about a specific feature.
/ Cleanup-Image - performs cleanup and recovery operations on the
image.
    <.... snipped="" ....="">

And then, with the help...

C:\Windows\System32>DISM / online/Cleanup-Image /?
   
Management and maintenance of deployment images tool
Version: 6.1.7600.16385
   
Image Version: 6.1.7600.16385
   
   
/ /RevertPendingActions cleanup-Image
   
CAVEAT! This operation returns pending previous maintenance measures
operations. It should only be used for recovery operations. This command
is not supported on an online image.
   
Example:
DISM.exe \test\offline/Cleanup-Image /RevertPendingActions
   
/ Cleanup-Image /spsuperseded [/hidesp]
   
CAVEAT! The service pack cannot be uninstalled after that this operation is
completed. This will remove the backup files created during service
installation of the Pack. With the key /hidesp to hide the service pack installed
Updates.
   
Example:
DISM.exe \test\offline/Cleanup-Image /spsuperseded /hidesp

So my curiosity would be the version of your DISM. EXE and if you can use the /? command line variable to get as much as I did above.  Your installation of Windows * is * taking up way too much space - because essentially you and I use a similar size system (64 GB SSD) drive and I have all kinds of things other than just Windows installed (Office 2010, DVDFab 8, a couple of different web browsers, the suspects normal plug-ins Internet, my antivirus and antimalware utilities and quite a few other things) on the same drive and have a decent size record associated with nothing else than e-mail (maximum 10% of readers space total is taken over by email related files) and I still free of 59.5 total GB 15.4 GB.  All this and your so-called Windows directory contains all but 5 GB of my entire system.

Just for clarification - when I run the same thing I asked you to run...

OS version: 6.1.7601 Service Pack 1 Build 7601

You can also find in the c:\windows\system32 directory in your administrative command prompt.  Just in case you have any other questions.

Also - are you crazy with updates and the LANGUAGE PACKS?  Or you have not installed any that you don't need?

If you follow these steps on the same command line:

DISM/Online/Get-Packages > c:\temp\packages.txt

then open the c:\temp\packages.txt (you must first create a directory C:\temp\) and see how many lines you have in this file altogether (wrapping off the coast, status bar on, do scroll down and place your cursor on the last line and read the number of lines in the status bar)-what is it?

Tags: Windows

Similar Questions

  • sfc/scannow cannot fix corrupted files windows 8. DISM / /restorehealth//cleanup-online image does not work! Any help appreciated.

    Hello

    I can't try to repair the corrupted files on my Sony VAIO laptop to Windows 8. I hope someone can help me solve my problems. I would really like to know how to fix these problems I'm having. It really gets me.  If ever I have similar problems in the future.
    All my drivers are up to date. I'm pretty confident that's not a malware issue. I take care of my line on activities that could infect my computer. Although I'm not 100% that excludes. I use Mcafee security Suite (fully updated and free with my broadband package). No other scanners time real AV are running. I However sometimes use a registry cleaner, after installation and installation of various programs. but I only use the default methods, never the registry COMPLETE cleaning cleaning method. In my view, these could create problems if used files. I also defragment my HARD drive of 1 TB at least once a week.
    DISM / / cleanup-image online /restorehealth/ also is not working error message and log files can be found below!
    I ran sfc/scannow and several times,
    whenever I get the error message stating:
    Windows resource protection found corrupt files but was unsable to correct some
    of them. Details are provided in the cbs.log windir\logs\cbs\cbs.log newspaper.
    For example C:\windows\logs\cbs\cbs.log. Note that iis logging currently not
    supported in offline maintenance scenarios.
    When I reboot win 8 after running sfc/scannow. Windows 8 shows that it is far from my system of up to 100%
    It charges fine. I have run the sfc/scannow, and then he did exactly the same thing. I reboot and it updates my system. but does not not my files corrupted!
    CHKDSK /F also freezes 27%. But when I starts in the my Sony VAIO #1 recovery disk and run diagnostics hardware HARD drive repair tool to try to fix the sectors defective etc on my HARD drive
    which works 100% and says there is NO problem!
    Here are the files of newspapers that I can access. I have to admit, now, that I do not understand them.
    even after much reading online:
    20/07/2013
    sfc/scannow eror message =
    Windows resource protection found corrupt files
    but has been unable to find some
    of them. Details are provided in the CBS.log newspaper
    windir\Logs\CBS\CBS.log for example C:/windows\Logs\CBS\CBS.log.
    Note that logging is not currently supported in offline scenarios.
    (ACCESS DENIED) when I try to open the C:/windows\Logs\CBS\CBS.log log file.
    DISM / online/cleanup-image /restorehealth/
    21/07/2013 of the log files and error messages
    0x800f081f
    the source file is not found
    Use the source option to specify the location
    the files that are needed to restore the function. To learn more
    information on the specification of a location of the source,
    See http://go.microsoft/fwlink/?linkid=243077
    The DISM log file can be found at C:\windows\Logs\DISM\dism.log
    I hope that I can help to solve the problems of thses
    concerning
    How to run the command "SFC/scannow" at startup or in Windows 8
    Information
    This will show you how the sfc/scannow command to start or in Windows 8 in an attempt to trouble altered or modified system files.

    Tip
    If you get the error that Windows resource protection could not start the Repair Service when you try to run the SFC, then make sure that the Windows Modules Installer service is active and set to Manual.

    Services - Start, Stop and disable in Windows 8

    If SFC is unable to repair the system files corrupted because the Bank (source) is damaged, then you could run the Dism/online/Cleanup-Image /RestoreHealth command to set the Windows component store corruption and then then try to re-run the SFC scan.

    OPTION ONE

    To run the SFC/SCANNOW command. at startup


    1. open a prompt at startup.

    2 in the command prompt, type diskpart and press ENTER, and then type the size of the list and press ENTER. (see screenshot below)



    3 make Act your boot drive drive letters (ex: 350 MB "System Reserved" partition) and the drive of Windows 8, type Exit , and then press ENTER. (see screenshot above)
    NOTE: If you do not a "system Reserved" partition and are not multi-boot with other operating system, then the boot drive and the drive of Windows 8 may be the same drive letter.

    4 in the command prompt, type the following command and press enter. (see screenshot below)
    NOTE: , You will see a blinking cursor at the prompt to the end. It will take a while to finish running though.

    sfc/scannow damaged = C: \ /offwindir = D:\windows

    Note
    You need to replace the the drive letter of the partition or volume where your Startup system files are stored in the offbootdir = C: part of the order above instead.

    You need to replace the letter of your partition or volume Windows 8 in the offwindir = D: is part of the above command instead.



    5 when the analysis is finished, I hope you will see an everything is ok message as below.


    6 close the command prompt and restart the computer to start Windows 8.

    Note
    If SFC could not fix something, then run the new command to see if it can be able to next time. Sometimes, it can take by running the sfc/scannow command 3 times restart the PC after each time completely fix everything what he is capable of.

    If this isn't the case, then run Dism/online/Cleanup-Image /RestoreHealth to repair any corruption component store, restart the PC later and try the sfc/scannow command.

    If still no, then you could do a Refresh of Windows 8, or run a System Restore using a restore point dated before the wrong file system occurred to fix. You may need to repeat doing a restore of the system until you find a restore point that is older that may work.

    If not yet, then you can use the steps in the TIP box in the THREE OPTION section below to manually replace the files SFC could not fix.

    SECOND OPTION

    To run the SFC/scannow command in Windows 8


    1. open an elevated command prompt in Windows 8.

    2 in the elevated command prompt, type sfc/scannow , and then press enter. (see screenshot below)
    NOTE: It may take some time to complete the race.



    3 when the analysis is finished, I hope you will see that all is ok message as the screenshot below.
    NOTE: Fortunately CFS was able to repair my files automatically damaged system.

    Note
    If SFC could not fix something, then run the new command to see if it can be able to next time. Sometimes, it can take by running the sfc/scannow command 3 times restart the PC after each time completely fix everything what he is capable of.

    If this isn't the case, then run Dism/online/Cleanup-Image /RestoreHealth to repair any corruption component store, restart the PC later and try the sfc/scannow command.

    If still no, then you could do a Refresh of Windows 8, or run a System Restore using a restore point dated before the wrong file occurred to fix. You may need to repeat doing a restore of the system until you find a restore point that is older that may work.

    If not yet, then you can use the steps in the TIP box in the THREE OPTION section below to manually replace the files SFC could not fix.

    OPTION THREE

    How to see and read that only "CFS" Scan results from CBS. JOURNAL

    NOTE: SFC when is running, it records its actions in the C:\Windows\Logs\CBS\CBS.log. The steps of this option will show you how to view only specific SFC entries with the [SR] tags in the CBS.log newspaper. This can be useful to show you what files SFC couldn't fix automatically if you want to try and manually change them.

    1. open an elevated command prompt in Windows 8.

    2 in the elevated command prompt, copy and paste the following command and press enter.
    NOTE: This will place a file sfcdetails.txt on your desktop with only the SFC scan details of the results of the CBS. Log in this.

    Code:
    findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >%userprofile%\Desktop\sfcdetails.txt
    
    3 close the elevated command prompt.

    4. open the file on your desktop to see the SFC sfcdetails.txt analysis details in convertible bonds. NEWSPAPER.

    5 when you are finished, you can safely remove the sfcdetails.txt file later if you wish.

    Tip
    If you need to replace a corrupted system file that SFC cannot fix, this will show you how to:

    If you have many files are corrupted, then run Dism/online/Cleanup-Image /RestoreHealth to repair any component store corruption, restart the PC after and try the sfc/scannow command.

    If you have only a little, then you could manually extract a new copy directly from your installation of Windows 8 DVD or USB thumb drive, or ISO if file in a virtual machine.

    Check out the Windows 7 Installation DVD files

  • Craigslist 'Reply' and the buttons 'Add images' does not

    Until a few weeks ago, I used Firefox with no problem when browsing and posting Craigslist ads. Recently, the 'Reply' button in the messages does not at all. Nothing happens when I click it. When I write ads, the button 'Add images' does not save when I click it. I had to go back using Internet Explorer when using Craigslist. Help, please! (If it helps, I had to post this question in Internet Explorer, as the button "Question" on the page does not work in Firefox).

    Clear the cache and delete cookies only from Web sites that cause problems.

    "Clear the Cache":

    • Firefox/tools > Options > advanced > network > content caching Web: 'clear now '.

    'Delete Cookies' sites causing problems:

    • Firefox/tools > Options > privacy > "Use the custom settings for history" > Cookies: "show the Cookies".

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox/tools > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe
  • Vision Inspection Builder 3.6 calibrate Image does not work

    I use a camera, NI 1722, with the Vision Builder AI 3.6 software to read 2D data matrix code.

    Unfortunatlly the camera can be mounted directly on the code, its at an angle of about 20 °.

    The step of "Reading data matrix Code" works very well, however we don't always not the classification "nonuniformity Axial.

    I want to calibrate the image to adjust the view. To do this, I find the 4 edges of my matrix Code, then 4 intersections of the edges (ie the corners)

    I know that my matrix code is a square 9x9mm. So, I use the Image step calibrate to account for this.

    It works very well in "Setup" Mode, when I run individual State.

    However when I run the Inspection, step to calibrate Image still fails and is not calibrate the image.

    Please find enclosed pictures of file and the example of the vbai.

    After trying many different things, I later upgraded to VB AI 2009 SP1

    Yet once after many different configuration etc, I finally solved the problem.

    (1) with VB AI 2009, if you apply calibtation to a step to acquire images, it will always fail!

    I don't know why this option is there (maybe it works with different cameras)

    (2) you must use "Select an Image" step between steps acquire Image and the Image calibrate.

    Calibrate the Image does not seem to use the last Image acquired in the State

  • SSRS 2008 SP4 - header or footer of the report contains the dynamic image does not change

    Hello

    Our version of Reporting SERVICES to current production is 2008 (not R2). And we have the problem that the header or footer of the report contains the dynamic image does not change accordingly.

    According to this hotfix, the problem has been resolved in the last SP R2 and we tested, it works.

    https://support.Microsoft.com/en-us/KB/2563216

    So we applied the latest SP to SQL Server 2008, however, the problem persists.

    However, we do not expect to upgrade the SQL Server 2008 to 2008 R2 for the moment.

    Guys have faced the same problem before and has an idea how to solve this problem on SSRS 2008 or any workaround?

    Thank you

    Kind regards

    Dan

    Hi Dan,.

    For assistance on questions related to SQL Server 2008 and SSRS 2008 SP4, ask your questions here:

    https://social.technet.Microsoft.com/forums/WindowsServer/en-us/home

    https://social.msdn.Microsoft.com/forums/en-us/home?category=SQLServer

    Hope the information is useful.

  • The right click "rotation" clock or function in a clockwise direction counter on my images does not work

    The right click "rotation" clock or function in a clockwise direction counter on my images does not work
    There is a range of adjustment that may be messed up?

    You are under Win XP and the display of photos with Windows Picture and Fax Viewer?

    Explain what you mean when you say "does not" you receive an error?

    The following command will force a reinstall of Windows Picture and Fax Viewer and can be worth a try:

    Reach... Start / run... and type
    (or copy and paste):

    regsvr32 /i shimgvw.dll

    (Yes, the space after the 2 and the)
    After the i is necessary)

    Press on... Come in...

    You should see a dialog box stating:
    DllRegisterServer and DllInstall in successful shimgvw.dll

  • When running Disk Cleanup, it does not remove anything to "Compress Old Files'.

    When I run my disk cleanup, it does not remove anything to "Compress Old Files' during cleaning.» Why not? I also need more disk space to defragment and I deleted all the programs that I don't use, but is not yet give me enough disk space.

    Compress old files not removes all files, compress files that are rarely or seldom used.

    If you get the low disk space, less than 15-20% free space, then you need to collect as much space as possible. However, the amount you get will not be a solution, only a temporary fix - it that.

    To add or remove programs and Windows components in Control Panel, you can uninstall programs as your plue no use - if you have. Not to be far uninstalling programs, you do not recognize, many elements are required for other programs work properly.

    Uninstall or change a program
     http://Windows.Microsoft.com/en-us/Windows7/uninstall-or-change-a-program

    You can also check to see how much space is reserved for the restoration of the system; by default, many GBs are usually reserved. Also disable hibernation as the file created can be 2-3 GB, sometimes even more.

    You must also consider moving your files and folders on a removable media, such as DVDs or an external hard drive. Still a great flash drive with 4 + GB of space can help, and their prices are reasonable these days.

    In addition to Disk Cleaner, you can consider running CCleaner. This is a free program that will remove the unnecessary and temporary files temporary Internet files of the most popular and many browsers other caches that can be cleaned safely.

    Since you are using Windows XP, there is a setting in CCleaner to remove the uninstallers of patches; These are the Windows Update files you've downloaded and installed over time and are there if you ever want to uninstall the update. But you can save these CD/DVD and then remove them safely from your system to recover the space. If you have ever removed one of these, you may be able to get beyond 1 GB of space.

    CCleaner
     http://www.Piriform.com/CCleaner

    If you decide to try it, by default, that almost everything in Windows Applications and is verified to be cleaned. You must first review the lists (they are compiled by what you have installed) and check/uncheck accordingly.

    Then click on analyze to see what will be removed (nothing is deleted when you click Analyze); When the scan is finished you can double-click on (or right click and select view detailed results) of the entries in the list to get more information.

    According to the detailed results, you can right click for options such as adding to the list of exclusions if you want the deleted item.

    Once that you are completely comfortable with your selections, you can click the run Cleaner button and then OK to put warn before vacuuming will run.

    CCleaner is also a registry cleaner that I don't recommend that you use - even if you have successfully run a registry cleaner in the past, it is quite possible that the next time will bring serious problems; they are not worth the risk...

    TechRepublic has just published this article about CCleaner:
    5 tips for using Ccleaner for degunk your system

    http://www.TechRepublic.com/blog/five-tips/five-tips-for-using-CCleaner-to-degunk-your-system/767?tag=nl.E101

    CNET editor's review:

    http://download.CNET.com/CCleaner/

    I know that this was not the miracle that you can have hoped, but personally recommended solution is a new, larger hard drive. In the case of desktop computers, an additional hard disk is useful for your personal files, especially for music, movies, photos and more.

    I hope this helps.

  • I have a hp m175nw printer. email prints from my iphone, but the image does not work

    M175nw printer. email prints from my iphone, but the image does not work

    If the DPI (dots per inch) is less than 100, the printer will not print the photo because it would be too low in quality. Draw the image on the computer, then right-click on it and click Properties, check the horizontal and vertical dpi and see if these figures are less than 100. Have you tried to connect the iPhone to the same network as the printer and try to AirPrint peak? AirPrint road doesn't have the same requirements on IPR as the ePrint.

  • Why the original image does not appear on my desktop and not Wo one?

    Why the original image does not appear on my desktop and not Wo one?

    I made adjustments to an image that shows himself such that adjusted with the symbols at the bottom right of the image.
    I tried to drag and drop and he transferred the original image.

    The adjusted picture can be transferred and what I need to do or I do something wrong?

    Thank you

    Greg,

    Claes has pretty much nailed. You will do well to spend time to learn how Lightroom works. He is not like most software that you've used before, and if you don't understand what it does and how it does, you stand a good chance of losing your images.

    Try googling 'Lightroom tutorials' or 'get started in Lightroom. It's not rocket science, but it's different.

    HAL

  • Edit an image from lightroom to photoshop... Image does not open.

    When I want to edit an image from Lightroom to Photoshop (CC), Photoshop opens, but the image does not work. However, I am still able to do with some images, but some images are simply no opening. This is the time of fisrt I have this problem.


    My version of photoshop is CS5 extended.


    I have Lightroom 6.0.


    I'm with P.C.


    Thank you

    Photoshop Cs5 will not open images Nikon D750

    You must use the version of Photoshop cs6/CC or DNG converter to be able to view these images in Photoshop cs5 in DNG

    Download DNG Converter:-Adobe - Adobe Camera Raw and DNG Converter: for Windows: Adobe DNG Converter 9.2

    Concerning

    Assani

  • image does not load in photoshop

    Have paid for and downloaded a stock image

    image does not open in any program, including PS Elements

    message = could not complete request is not the right kind of document

    If the images of the reserve can not load in PS - what can they?

    Yes, this is the reason why you're not ale to load in Photoshop Elements.

    So, this time, you can install the trial version of CC of Photoshop or Illustrator CC to open the image and save it in a format like Jpeg support.

    ~ Sarika

  • Why is my image does not appear in my library? I can see it in my library on my Android phone, but where is it in my library in the DI library panel?

    Why is my image does not appear in my library? I can see it in my library on my Android phone, but where is it in my library in the DI library panel?

    I thought about it. Thank you for you. He appeared once I hit sync to cloud

    icon.

  • Why my image does not reach the edges of the printed page, but seems in good condition in pdf?

    Why my image does not reach the edges of the printed page, but seems in good condition in pdf?

    Most desktop printers cannot image all the way at the edge of the page.

  • Why a grouped image does not disappear when I dissociate it?

    Why a grouped image does not disappear when I dissociate it?

    There is a bug in the new parameter to separate layers remembers and it gives objects ungrouped on original.

  • When I open Photoshop CS6, the image does not appear in Photoshop. The image IS open, i.e. the name of the file is displayed on a tab and the image layers appear in the layer panel. What is going on?

    Photoshop and Bridge is open as usual. But when I open an image, the image does not show in the area of the image. The image filename is show in a tab and the spectacle of layers in the Panel layer. What is happening and how to fix this.

    I solved the problem. It was somehow connected to my using Microsoft

    photos of theme. I put Windows to use the basic theme and the problem

    went. Thanks for the suggestions.

    HA!

Maybe you are looking for