2018-11-16 09:30:28 +01:00

13 lines
429 B
Batchfile

@ECHO OFF
icacls "C:\Windows\Fonts" /GRANT "Tout le monde":(OI)(CI)M
attrib -r -s %systemroot%\Fonts
takeown /f "%systemroot%\Fonts" /r /d n
icacls "%systemroot%\fonts" /grant "Tout le monde":(OI)(CI)M /t
icacls "%systemroot%\system32\FNTCACHE.dat" /grant "Tout le monde":(OI)(CI)M /t
echo \registry\machine\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts [1 5 7 17] >%temp%\a.txt
regini.exe %temp%\a.txt