Οδηγός εντολών Windows
Reset SoftwareDistribution and Catroot2
When Windows Update is stuck on old downloads, bad signatures, or inconsistent patch metadata, resetting SoftwareDistribution and Catroot2 is often faster than repeating update scans forever.
Ο οδηγός αυτός είναι γραμμένος γύρω από το συγκεκριμένο ταίριασμα συμπτώματος και εντολής για το reset softwaredistribution and catroot2 και όχι σαν γενική λίστα από terminal lines. Έτσι η σελίδα γίνεται πιο χρήσιμη για πραγματικό troubleshooting και μειώνει την πιθανότητα να τρέξετε λάθος fix.
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
net start msiserver
net start bits
net start cryptSvc
net start wuauserv
Πού είναι καλύτερο να το τρέξετε
Elevated Command Prompt είναι το σωστό execution context για αυτή τη σελίδα. Επειδή αυτό το fix αγγίζει protected Windows state, ένα κανονικό non-elevated shell μπορεί να δώσει παραπλανητικά access errors ή μερικό αποτέλεσμα.
Γρήγορο repair workflow
- Ξεκινήστε από το ακριβές σύμπτωμα αυτής της σελίδας: Updates stay stuck at downloading or installing
- Τρέξτε μετά τη βασική γραμμή επιδιόρθωσης ακριβώς όπως φαίνεται.
- Αυτό το workflow είναι ρυθμισμένο για το this repair, οπότε μην το ανακατεύετε πολύ νωρίς με άσχετες εντολές επιδιόρθωσης.
- Κάντε restart αν άλλαξαν servicing components ή protected files και ξαναδοκιμάστε την αρχική ενέργεια.
- Μόνο μετά προχωρήστε σε CBS.log, DISM source repair ή Windows Update specific βήματα.
Copyable wrapper script
Χρησιμοποιήστε αυτό το wrapper όταν θέλετε την εντολή της σελίδας μέσα σε πιο καθαρό script block με αρχή και τέλος.
@echo off
echo Run this CMD sequence in an elevated Command Prompt.
echo Starting targeted repair sequence...
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
net start msiserver
net start bits
net start cryptSvc
net start wuauserv
echo.
echo Review the output before closing this window.
pause
Verification commands μετά το repair
Αυτές οι follow-up εντολές σας βοηθούν να ελέγξετε αν άλλαξε πράγματι το Windows state που έχει σημασία, αντί να υποθέσετε επιτυχία από μία μόνο γραμμή.
DISM /Online /Cleanup-Image /CheckHealth
sfc /verifyonly
What problem this command is trying to solve
This page targets damaged update-download caches and signature catalogs that keep reusing bad local data.
- Updates stay stuck at downloading or installing.
- The same failed update keeps coming back.
- Windows Update behaves as if it is reusing broken cached files.
How the command works
The script stops the relevant services, renames the two cache folders so Windows must rebuild them, and then starts the services again.
When it makes sense to run it
Use it before more advanced servicing repair when update files themselves seem stale or corrupted.
Πριν εκτελέσετε την εντολή
- Ανοίξτε elevated Command Prompt ή PowerShell πριν τρέξετε το net stop wuauserv net stop cryptSvc net stop bits net stop msiserver ren C:\Windows\SoftwareDistribution SoftwareDistribution.old ren C:\Windows\System32\catroot2 catroot2.old net start msiserver net start bits net start cryptSvc net start wuauserv.
- Επιβεβαιώστε ότι το σύμπτωμα ταιριάζει όντως με αυτόν τον οδηγό, ειδικά αν βλέπετε σημάδια όπως updates stay stuck at downloading or installing.
- Κρατήστε ακριβές output από DISM, SFC, CBS ή Windows Update γιατί αυτά τα στοιχεία είναι κρίσιμα για το επόμενο βήμα.
Τι αποτέλεσμα να περιμένετε
Αφού τρέξετε το net stop wuauserv net stop cryptSvc net stop bits net stop msiserver ren C:\Windows\SoftwareDistribution SoftwareDistribution.old ren C:\Windows\System32\catroot2 catroot2.old net start msiserver net start bits net start cryptSvc net start wuauserv, συγκρίνετε το αποτέλεσμα με το αρχικό σύμπτωμα. Το πιο χρήσιμο checkpoint είναι αν updates stay stuck at downloading or installing εμφανίζεται λιγότερο, αλλάζει μορφή ή δίνει πιο καθαρό error message. Μια καλή σελίδα δεν σταματά στην εντολή αλλά βοηθά και στον έλεγχο του αποτελέσματος.
Πώς να ελέγξετε αν λειτούργησε
Το καλύτερο verification step μετά το net stop wuauserv net stop cryptSvc net stop bits net stop msiserver ren C:\Windows\SoftwareDistribution SoftwareDistribution.old ren C:\Windows\System32\catroot2 catroot2.old net start msiserver net start bits net start cryptSvc net start wuauserv είναι να επαναλάβετε την ενέργεια που πριν ενεργοποιούσε το πρόβλημα. Αν the same failed update keeps coming back εμφανιστεί ακριβώς με τον ίδιο τρόπο, τότε η εντολή μάλλον δεν ήταν όλη η λύση και χρειάζεται πιο στοχευμένο επόμενο βήμα.
Γιατί έχουν σημασία τα δικαιώματα διαχειριστή
Αυτή η εντολή αλλάζει ακεραιότητα συστήματος και corruption του component store. Τρέξτε τη σε elevated shell ώστε τα Windows να εφαρμόσουν πραγματικά το repair και όχι απλώς να επιστρέψουν access ή privilege error.
Before you run it
Only run it from an elevated terminal. Renaming these folders is safe, but it will clear update history visuals inside Settings.
Πότε αυτό μάλλον δεν είναι το σωστό fix
Δεν είναι το σωστό πρώτο βήμα για ένα απλό bug εφαρμογής τρίτου, για browser-only πρόβλημα ή για εμφανές hardware failure. Ταιριάζει όταν το σύμπτωμα δείχνει Windows image health, επαναλαμβανόμενη corruption σε updates ή protected system files.
Τι να κάνετε αν δεν βοηθήσει
Αν το net stop wuauserv net stop cryptSvc net stop bits net stop msiserver ren C:\Windows\SoftwareDistribution SoftwareDistribution.old ren C:\Windows\System32\catroot2 catroot2.old net start msiserver net start bits net start cryptSvc net start wuauserv δεν βελτιώσει updates stay stuck at downloading or installing, προχωρήστε στο επόμενο βήμα της ίδιας οικογένειας συμπτωμάτων αντί να στοιβάζετε τυχαίες εντολές. Το καλύτερο follow-up εξαρτάται κυρίως από το αν η βλάβη αφορά ακεραιότητα συστήματος και corruption του component store.
Συχνές ερωτήσεις
Να χρησιμοποιήσω το net stop wuauserv net stop cryptSvc net stop bits net stop msiserver ren C:\Windows\SoftwareDistribution SoftwareDistribution.old ren C:\Windows\System32\catroot2 catroot2.old net start msiserver net start bits net start cryptSvc net start wuauserv για αυτό ακριβώς το σύμπτωμα στα Windows;
Χρησιμοποιήστε το όταν η συμπεριφορά του υπολογιστή ταιριάζει πραγματικά με τον στόχο επιδιόρθωσης αυτής της σελίδας: This page targets damaged update-download caches and signature catalogs that keep reusing bad local data.
Τι πρέπει να ελέγξω αμέσως μετά το net stop wuauserv net stop cryptSvc net stop bits net stop msiserver ren C:\Windows\SoftwareDistribution SoftwareDistribution.old ren C:\Windows\System32\catroot2 catroot2.old net start msiserver net start bits net start cryptSvc net start wuauserv;
Ελέγξτε αν ο αρχικός trigger εξακολουθεί να αναπαράγει την ίδια αποτυχία. Σε αυτή τη σελίδα έχει σημασία αν updates stay stuck at downloading or installing εμφανίζεται λιγότερο, αλλάζει μορφή ή οδηγεί σε πιο συγκεκριμένο επόμενο βήμα.
Πότε δεν αρκεί μόνο το net stop wuauserv net stop cryptSvc net stop bits net stop msiserver ren C:\Windows\SoftwareDistribution SoftwareDistribution.old ren C:\Windows\System32\catroot2 catroot2.old net start msiserver net start bits net start cryptSvc net start wuauserv;
Δεν είναι το σωστό πρώτο βήμα για ένα απλό bug εφαρμογής τρίτου, για browser-only πρόβλημα ή για εμφανές hardware failure. Ταιριάζει όταν το σύμπτωμα δείχνει Windows image health, επαναλαμβανόμενη corruption σε updates ή protected system files.