my apps and files missing

ikhwan hatim 1 Reputation point

hi, I want to optimize my laptop, so I decided to follow youtube and I used the command prompt and type " rd /s /q C: \windows\SoftwareDistribution " and suddenly all my apps and files missing and my display also changed to black.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,146 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Marco Schiavon 711 Reputation points

    It happened because you deleted all comprised the SoftwareDistribution directory...

    The /s parameter that you used means :
    /s Deletes a directory tree (the specified directory and all its subdirectories, including all files).

    At this point, try to recreate it SoftwareDistribution and reboot.

    0 comments No comments

  2. Limitless Technology 39,496 Reputation points

    Hi there,

    Are the apps that are missing are non-Microsoft apps?
    Generally speaking safe to delete the contents of the Software Distribution folder, once all files required by it have been used for installing Windows Update. However, this data store also contains your Windows Update History files. If you delete them you will lose your Update history.

    I would suggest you system restore the PC and sort this out.

    If the reply is helpful, please Upvote and Accept it as an answer

    0 comments No comments