@echo off %SystemDrive% CD\ cd %SystemRoot% cd inf del bth.inf del xboxdisp.inf CD\ cd %SystemRoot% mkdir C:\fontdel cd fonts move DejaVuMathTeXGyre.ttf C:\fontDel move DejaVuSans-Bold.ttf C:\fontDel move DejaVuSans-BoldOblique.ttf C:\fontDel move DejaVuSans-ExtraLight.ttf C:\fontDel move DejaVuSans-Oblique.ttf C:\fontDel move DejaVuSans.ttf C:\fontDel move DejaVuSansCondensed-Bold.ttf C:\fontDel move DejaVuSansCondensed-BoldOblique.ttf C:\fontDel move DejaVuSansCondensed-Oblique.ttf C:\fontDel move DejaVuSansCondensed.ttf C:\fontDel move DejaVuSansMono-Bold.ttf C:\fontDel move DejaVuSansMono-BoldOblique.ttf C:\fontDel move DejaVuSansMono-Oblique.ttf C:\fontDel move DejaVuSansMono.ttf C:\fontDel move DejaVuSerif-Bold.ttf C:\fontDel move DejaVuSerif-BoldItalic.ttf C:\fontDel move DejaVuSerif-Italic.ttf C:\fontDel move DejaVuSerif.ttf C:\fontDel move DejaVuSerifCondensed-Bold.ttf C:\fontDel move DejaVuSerifCondensed-BoldItalic.ttf C:\fontDel move DejaVuSerifCondensed-Italic.ttf C:\fontDel move DejaVuSerifCondensed.ttf C:\fontDel move FreeMono.ttf C:\fontDel move FreeMonoBold.ttf C:\fontDel move FreeMonoBoldOblique.ttf C:\fontDel move FreeMonoOblique.ttf C:\fontDel move FreeSans.ttf C:\fontDel move FreeSansBold.ttf C:\fontDel move FreeSansBoldOblique.ttf C:\fontDel move FreeSansOblique.ttf C:\fontDel move FreeSerif.ttf C:\fontDel move FreeSerifBold.ttf C:\fontDel move FreeSerifBoldItalic.ttf C:\fontDel move FreeSerifItalic.ttf C:\fontDel move FSEX301.ttf C:\fontDel move FSEX301-L2.ttf C:\fontDel move LiberationMono-Bold.ttf C:\fontDel move LiberationMono-BoldItalic.ttf C:\fontDel move LiberationMono-Italic.ttf C:\fontDel move LiberationMono-Regular.ttf C:\fontDel :move LiberationSans-Bold.ttf C:\fontDel :these 4 are basically Arial replacement :move LiberationSans-BoldItalic.ttf C:\fontDel :move LiberationSans-Italic.ttf C:\fontDel :move LiberationSans-Regular.ttf C:\fontDel move LiberationSansNarrow-Bold.ttf C:\fontDel move LiberationSansNarrow-BoldItalic.ttf C:\fontDel move LiberationSansNarrow-Italic.ttf C:\fontDel move LiberationSansNarrow-Regular.ttf C:\fontDel :move LiberationSerif-Bold.ttf C:\fontDel :these 4 are basically Times New Roman replacement :move LiberationSerif-BoldItalic.ttf C:\fontDel :move LiberationSerif-Italic.ttf C:\fontDel :move LiberationSerif-Regular.ttf C:\fontDel :move Marlett.ttf C:\fontDel :needed by Sys move OpenSans-Bold.ttf C:\fontDel move OpenSans-BoldItalic.ttf C:\fontDel move OpenSans-CondBold.ttf C:\fontDel move OpenSans-CondLight.ttf C:\fontDel move OpenSans-CondLightItalic.ttf C:\fontDel move OpenSans-ExtraBold.ttf C:\fontDel move OpenSans-ExtraBoldItalic.ttf C:\fontDel move OpenSans-Italic.ttf C:\fontDel move OpenSans-Light.ttf C:\fontDel move OpenSans-LightItalic.ttf C:\fontDel move OpenSans-Regular.ttf C:\fontDel move OpenSans-Semibold.ttf C:\fontDel move OpenSans-SemiboldItalic.ttf C:\fontDel :move symbol.ttf C:\fontDel :move tahoma.ttf C:\fontDel :move tahomabd.ttf C:\fontDel move Ubuntu-B.ttf C:\fontDel move Ubuntu-BI.ttf C:\fontDel move Ubuntu-C.ttf C:\fontDel move Ubuntu-L.ttf C:\fontDel move Ubuntu-LI.ttf C:\fontDel move Ubuntu-M.ttf C:\fontDel move Ubuntu-MI.ttf C:\fontDel move UbuntuMono-B.ttf C:\fontDel move UbuntuMono-BI.ttf C:\fontDel move UbuntuMono-R.ttf C:\fontDel move UbuntuMono-RI.ttf C:\fontDel move Ubuntu-R.ttf C:\fontDel move Ubuntu-RI.ttf C:\fontDel :move UniVGA16.ttf C:\fontDel :needed to display console CD\ cd %SystemRoot% RD /Q /S bin RD /Q /S installer RD /Q /S "Microsoft.NET" RD /Q /S resources del bootstat.dat del readme.txt del setuplog.txt del vgafonts.cab del wine*.* cd system32 del *.scr ::https://msdn.microsoft.com/en-us/library/windows/desktop/dd317756(v=vs.85).aspx ::only inuse will free up memory, but can also not simply be deleted at runtime ::mem freeing does only occur when killing the inuse from registry, not from killing files in FS del c_037.nls del c_424.nls del c_500.nls del c_708.nls del c_720.nls del c_737.nls del c_775.nls :del c_850.nls ::we need this one del c_852.nls del c_855.nls del c_856.nls del c_857.nls del c_858.nls del c_860.nls del c_861.nls del c_862.nls del c_863.nls del c_864.nls del c_865.nls del c_866.nls del c_869.nls del c_870.nls :del c_874.nls ::inuse Thai, we should try to get rid of del c_875.nls del c_878.nls :del c_932.nls ::inuse Japanese, we should try to get rid of :del c_936.nls ::inuse Simplified Chinese, we should try to get rid of :del c_949.nls ::inuse Korean, we should try to get rid of :del c_950.nls ::inuse Chinese, we should try to get rid of del c_1006.nls del c_1026.nls del c_1047.nls del c_1140.nls del c_1141.nls del c_1142.nls del c_1143.nls del c_1144.nls del c_1145.nls del c_1146.nls del c_1147.nls del c_1148.nls del c_1149.nls :del c_1250.nls ::inuse ANSI Central European; Central European (Windows), we should try to get rid of :del c_1251.nls ::inuse ANSI Cyrillic; Cyrillic (Windows), we should try to get rid of :del c_1253.nls ::inuse ANSI Greek; Greek (Windows), we should try to get rid of :del c_1254.nls ::inuse ANSI Turkish; Turkish (Windows), we should try to get rid of :del c_1255.nls ::inuse ANSI Hebrew; Hebrew (Windows), we should try to get rid of :del c_1256.nls ::inuse ANSI Arabic; Arabic (Windows), we should try to get rid of :del c_1257.nls ::inuse ANSI Baltic; Baltic (Windows), we should try to get rid of :del c_1258.nls ::inuse ANSI/OEM Vietnamese; Vietnamese (Windows) ::del c_10000.nls ::not inuse, but unicode western, we keep it del c_10004.nls del c_10005.nls del c_10006.nls del c_10007.nls del c_10010.nls del c_10017.nls del c_10021.nls del c_10029.nls del c_10079.nls del c_10081.nls del c_10082.nls del c_20105.nls del c_20106.nls del c_20107.nls del c_20108.nls :del c_20127.nls ::US-ASCII in use del c_20269.nls del c_20273.nls del c_20277.nls del c_20278.nls del c_20280.nls del c_20284.nls del c_20285.nls del c_20290.nls del c_20297.nls del c_20420.nls del c_20423.nls del c_20424.nls del c_20833.nls del c_20838.nls del c_20866.nls del c_20871.nls del c_20880.nls del c_20905.nls del c_20924.nls del c_21025.nls del c_21027.nls del c_21866.nls del c_28591.nls del c_28592.nls del c_28593.nls del c_28594.nls del c_28595.nls del c_28596.nls del c_28597.nls del c_28598.nls del c_28599.nls del c_28600.nls del c_28603.nls del c_28604.nls del c_28605.nls del c_28606.nls del fltmc.exe del fusion.dll del msconfig_new.exe del pifmgr.dll del progman.exe del rapps_new.exe del setup.exe del setup16.exe del sndblst.dll del ubtrfs.dll del uext2.dll del uffs.dll del ureiserfs.dll del vssapi.dll del ws2_32_new.dll cd drivers del btrfs.sys del cmicontrol.exe del cmicpl.cpl del cmipci.sys del ext2fs.sys del fbtusb.sys del fdc.sys del ffs.sys del floppy.sys del ksecdd.sys del nmidebug.sys del ramdisk.sys del reiserfs.sys :recovery console del sacdrv.sys sc delete btrfs sc delete debugout sc delete ext2fs sc delete floppy sc delete fltmgr sc delete ffs sc delete ksecdd sc delete mpu401 sc delete nmidebug sc delete packet sc delete ramdisk sc delete reiserfs sc delete sacdrv sc config BITS start= disabled sc config eventlog start= disabled sc config lanmanserver start= disabled sc config lanmanworkstation start= disabled sc config msiserver start= disabled sc config schedule start= disabled sc config spooler start= disabled sc config themes start= disabled sc config winmgmt start= disabled sc config wlansvc start= disabled REG DELETE HKCU\Software\Microsoft\Windows\CurrentVersion\Run /v kbswitch.exe /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 37 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 424 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 500 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 708 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 720 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 737 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 775 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 852 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 855 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 856 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 857 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 858 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 860 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 861 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 862 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 863 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 864 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 865 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 866 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 869 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 870 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 874 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 875 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 878 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 932 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 936 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 949 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 950 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 1006 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 1026 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 1047 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 1140 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 1141 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 1142 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 1143 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 1144 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 1145 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 1146 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 1147 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 1148 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 1149 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 1250 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 1251 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 1253 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 1254 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 1255 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 1256 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 1257 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 1258 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 10004 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 10005 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 10006 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 10007 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 10010 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 10017 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 10021 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 10029 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 10079 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 10081 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 10082 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 20105 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 20106 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 20107 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 20108 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 20269 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 20273 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 20277 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 20278 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 20280 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 20284 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 20285 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 20290 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 20297 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 20420 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 20423 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 20424 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 20833 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 20838 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 20866 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 20871 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 20880 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 20905 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 20924 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 21025 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 21027 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 21866 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 28591 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 28592 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 28593 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 28594 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 28595 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 28596 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 28597 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 28598 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 28599 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 28600 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 28603 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 28604 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 28605 /f REG DELETE HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v 28606 /f :currently 702 files under reactOS left pause