Comment supprimer left-over Windows Mise à jour dossiers?

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Comment supprimer left-over Windows Mise à jour dossiers?

Message par ForumBot »

My PC is 5 years old and J'ai had a great history for échoué mises à jour. Regardless si je open my C: drive, J'ai bunch of dossiers avec names which sound quelque chose like this:2d51a0107296557123f92939e121

Je peux not supprimer those and I they are occupying more and more space sur mon PC everyday and Je sun'est pas sure comment get rid avec those depuis when I try to supprimer them manuellement, système just ne let me do it and throws sécurité exception sur mon face.
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Comment supprimer left-over Windows Mise à jour dossiers?

Message par ForumBot »

Ceci est how vous pouvez supprimer these dossiers.

I'm going to pretend that the name du dossier we want to supprimer is `abc123`; replace that avec the actual dossier name. Vous pouvez save yourself a lot of typing by using the `TAB` clé; when typing a command vous pouvez just enter the first two or three characters du dossier name and ensuite appuyez sur `TAB`. Vous devez appuyez sur `ENTER` après typing each command. Double-check each command (and in particular assurez-vous you n'ont pas accidentally specified a dossier vous n'avez pas want supprimé!) avant pressing `ENTER`.

Start by opening an administrative invite de commandes. You do this by clicking sur le Menu Démarrer, typing `cmd` and pressing `CONTROL-SHIFT-ENTER`. Vous devriez get a confirmation prompt, and might need to enter an administrative mot de passe. Ensuite, dans le invite de commandes:

```
cd /d c:\
dir /ad

```

Vous devriez see a list of dossiers, including the dossiers you want to supprimer ainsi que various Windows dossiers such as `Program Files` and `Users`.

```
md empty
robocopy /e /purge /b empty abc123

```

What we've done ici is to créer an empty dossier and tell Robocopy to copy it over top du dossier we're trying to supprimer. The `/purge` tells Robocopy to supprimez le fichiers and the `/b` tells Robocopy to bypass fichier sécurité. Robocopy will list the fichiers dans le dossier as it deletes them, and will également produce a summary at the end showing how many fichiers were supprimé (cherchez the column titled Extras).

Repeat the `robocopy` command for each du dossiers you want to supprimer. Vous n'avez pas need to repeat the `md` command each time.

Robocopy ne va pas supprimez le dossier itself, so we will do that separately:

```
takeown /F abc123
icacls abc123 /grant administrators:F
rd abc123

```

The first command takes ownership du dossier so that we can changez le autorisations, the second gives us autorisations to supprimer it, and the last line removes it. Repeat these three commands for each dossier you want to supprimer.

Finally, we supprimez le empty dossier we créé, depuis we ne need it any more:

```
rd empty

```

Hope this helps.
Répondre

Revenir à « Performance & Dépannage »