Advanced NTLiting with Simple Scripts (Protect Files/WinSxS)

thmtrxhsu

New Member
Naturally, I won't share my Goldilocks preset.
However, I did develop scripts which only real NTLite enthousiasts will appreciate.
These are simply the "APIs" that allowed me to customize NTlite to my specifications; some of these just use notepad++.

It is mostly for generating and reverse engineering a NTLite Protect list as well as Maintaining WinSxS.
I won't be giving a guide on how to use these; pretty straight forward though.

However, I will give one of the more lucritive uses; Cleaning of WinSxS
When you integrate updates, both the old and new version are saved in WinSxS.
Moreoften, about 95% of the time, only the new version suffices.
So the question anyone would have is how to do deal with such complicated file names to only keep the new version.

1. Create a file of WinSxS
2. Alphabetically reverse sort this list with textfixer.com
3. Open Notepad++ and paste the result from textfixer.
4. CTRL-H, under find put: .*17763.[123456789][0123456789].*\R.*(?:\R|$)
5. Under replace put nothing, regular expression, uncheck the newline box.
6. This provides list of updated files.

Why it works, stand files would be 17763.1 exactly and updated files building from that such as 17763.1.AnotherNumber.

Again, this is not for the common user it is for advanced ntliting.
Enjoy.
 

Attachments

  • Maintaining Protected Files and WinSxS.rar
    1 KB
Back
Top