Domain joined Windows computers will reset their machine passwords by default every 30 days.
If a system restore is performed that is older than this the computer will no longer be able to access domain services as its password is now wrong.
This script prevents that buy reading the age of the Domain Machine Password and deleting all system restore points that are older.
This script should be scheduled to run daily on all domain joined machines.
ducbang / clean-systemrestore Goto Github PK
View Code? Open in Web Editor NEWThis project forked from gbuktenica/clean-systemrestore
License: MIT License