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. mine says system srvice exception when i browse it it says its updates but when i check it...

    in Windows 10 Gaming
    mine says system srvice exception when i browse it it says its updates but when i check it...: mine says system srvice exception when i browse it it says its updates but when i check it is fully updated or is it becouse i switched the driver....how do i fix it?...
  3. mine says system srvice exception when i browse it it says its updates but when i check it...

    in Windows 10 Software and Apps
    mine says system srvice exception when i browse it it says its updates but when i check it...: mine says system srvice exception when i browse it it says its updates but when i check it is fully updated or is it becouse i switched the driver....how do i fix it?...
  4. 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
  5. 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
  6. 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?...
  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. 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]...
  10. When Dism commands are running ... Continue using PC for browsing?

    in Windows 10 Performance & Maintenance
    When Dism commands are running ... Continue using PC for browsing?: I am running the "combined command" as below at the moment. Is it OK to continue to continue to use my PC while the commands are running? When I say "use" I'm mainly talking about web browsing. Trythese commands in the order they are in, in administrator cmdprompts---...