Windows 10: I was browsing tips to cleanup system drive when i came accross this command

Discus and support I was browsing tips to cleanup system drive when i came accross this command in Windows 10 Network and Sharing to solve the problem; Pls inform me what do each of the delete /y " " some thing do every single one....because i dont want to delete my browser history or cookies and... Discussion in 'Windows 10 Network and Sharing' started by JOYSTON LEWIS, Jan 27, 2020.

  1. I was browsing tips to cleanup system drive when i came accross this command


    Pls inform me what do each of the delete /y " " some thing do every single one....because i dont want to delete my browser history or cookies and stuff because of this batch file with these commands....Inform me what each line will do im a programmer in C++ and graduating in computers so feel free for technical information just want to be sure before i run it what will happen

    @echo off del /s /f /q c:\windows\temp\*.* rd /s /q c:\windows\temp md c:\windows\temp del /s /f /q C:\WINDOWS\Prefetch del /s /f /q %temp%\*.* rd /s /q %temp% md %temp% deltree /y c:\windows\tempor~1 deltree /y c:\windows\temp deltree /y c:\windows\tmp deltree /y c:\windows\ff*.tmp deltree /y c:\windows\prefetch deltree /y c:\windows\history deltree /y c:\windows\cookies deltree /y c:\windows\recent deltree /y c:\windows\spool\printers cls

    :)
     
    JOYSTON LEWIS, Jan 27, 2020
    #1
  2. Naki Win User

    GPU-Z what command line parameter ?

    Suggestion: /? (-?) and /help (-help) command-line arguments to show a list of all possible arguments in a small window. *Smile I was browsing tips to cleanup system drive when i came accross this command :)
     
  3. Windows 10 Command-line sxstrace.exe.tool

    Hi Rhonda,

    Thank you for posting your query in Microsoft Community.

    This error may happen due to system file corruption or Visual C++ redistributable package corruption. I suggest you to follow the below given methods:

    Download and install Microsoft Visual C++ 2013 Redistributable Package
    from below given link and check if it helps:

    Visual C++ Redistributable Packages for Visual Studio 2013


    Download Visual C++ Redistributable Packages for Visual Studio 2013 from Official Microsoft Download Center

    I suggest you to run System file checker. System File checker (SFC) scan is done to check if there are any corrupted system files that could be causing this issue. Kindly follow the below given steps:

    • Press Windows key + X, select
      Command prompt (Admin)
      to bring up elevated Command prompt.
    • In Command prompt type sfc/scannow and press enter.
    • Restart the computer.
    If no corrupted system files were found in the previous state, then I suggest you to try the following steps:

    • Open command prompt by pressing Windows key + X and selecting “Command prompt admin”.
    • In command prompt, type the following commands and press Enter after each command:
    DISM.exe /Online /Cleanup-image /Scanhealth

    DISM.exe /Online /Cleanup-image /Restorehealth

    • Close the command prompt and restart the PC and check if it works.

    Hope this information helps.
     
    SujataMoktan, Jan 27, 2020
    #3
  4. I was browsing tips to cleanup system drive when i came accross this command

    DISM - Parameter "Cleanup-Image" is not known (error 87)

    Hello Eric,

    To troubleshoot your concern, we suggest that you run DISM Restore Health command. Refer to the steps provided below:

    • Open Command Prompt (Administrator).
    • Type the following command:
    DISM /Online /Cleanup-Image /RestoreHealth

    3. Press Enter.

    Let us know how it goes.

    Thank you.
     
    Stephanie Sal, Jan 27, 2020
    #4
Thema:

I was browsing tips to cleanup system drive when i came accross this command

Loading...
  1. I was browsing tips to cleanup system drive when i came accross this command - Similar Threads - was browsing tips

  2. What is this command and when should I run it? dism /online /cleanup-image...

    in Windows 10 Gaming
    What is this command and when should I run it? dism /online /cleanup-image...: What is this command and when should I run it? dism /online /cleanup-image /startcomponentcleanup https://answers.microsoft.com/en-us/windows/forum/all/what-is-this-command-and-when-should-i-run-it-dism/917bf885-116b-4a15-817c-6b9a5d9f80f0
  3. What is this command and when should I run it? dism /online /cleanup-image...

    in Windows 10 Software and Apps
    What is this command and when should I run it? dism /online /cleanup-image...: What is this command and when should I run it? dism /online /cleanup-image /startcomponentcleanup https://answers.microsoft.com/en-us/windows/forum/all/what-is-this-command-and-when-should-i-run-it-dism/917bf885-116b-4a15-817c-6b9a5d9f80f0
  4. i tried to install an optional feature with commands and an error 14003 came.

    in Windows 10 Software and Apps
    i tried to install an optional feature with commands and an error 14003 came.: i used the command dism /online /add-capability /capabilityname:Media.WindowsMediaPlayer~~~~0.0.12.0 and an error 14003 came saying that "The referenced assembly is not installed on your system.", so.. any help?...
  5. To access internet explorer when I browse.

    in Windows 10 Gaming
    To access internet explorer when I browse.: Trying to change the recycle bin sound when I click browse it opens the windows media folder. How do I get it to open my file explorer where my WAV sounds are stored. Tried copying a WAV sound into it but it doesn't show....
  6. To access internet explorer when I browse.

    in Windows 10 Software and Apps
    To access internet explorer when I browse.: Trying to change the recycle bin sound when I click browse it opens the windows media folder. How do I get it to open my file explorer where my WAV sounds are stored. Tried copying a WAV sound into it but it doesn't show....
  7. When 'Browsing for a folder' i can't see my other drives

    in Windows 10 Ask Insider
    When 'Browsing for a folder' i can't see my other drives: [ATTACH] https://preview.redd.it/uwy0gxrdwc961.png?width=320&format=png&auto=webp&s=aa6c7d56ded65bfb8e1f1c5125eb2642dd1ee182 All i get is this, (And if i unfold it's just folders on my C: drive) i've already tried resetting all my folder settings but that doesn't seem...
  8. Disk cleanup crashes when I click Delete system files

    in Windows 10 Ask Insider
    Disk cleanup crashes when I click Delete system files: It exits and when I click Disk cleanup again nothing happens... submitted by /u/Roice32 [link] [comments] https://www.reddit.com/r/Windows10/comments/gyclq2/disk_cleanup_crashes_when_i_click_delete_system/
  9. Disk Cleanup will not run when i select it.

    in Windows 10 Network and Sharing
    Disk Cleanup will not run when i select it.: 1) Disk Cleanup will not run when I select it. 2) When I am able to get it to run by killing the process in task manager I don't see it restart in task manager., when I select to check administrative files it gets stuck on "Mixed Reality". 3) When I run a windows defender...
  10. Doesn't budge when I put in the DISM /Online /Cleanup-image /Restorehealth command

    in Windows 10 BSOD Crashes and Debugging
    Doesn't budge when I put in the DISM /Online /Cleanup-image /Restorehealth command: Hi there, so my issue is that when I do this command, DISM doesn't seem to do anything at all. This is what happens, and it has been like that for thirty minutes. What can I do? [ATTACH]...