Skip to content

Commit 4c4f75a

Browse files
committed
Improved compacting arguments
1 parent 88d185f commit 4c4f75a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

winsxs & installer compressor.bat

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ takeown /f "%windir%\winsxs" /r
2222

2323
icacls "%windir%\winsxs" /grant "%userdomain%\%username%":(F) /t
2424

25-
compact /c /s:"%windir%\winsxs" /i
25+
compact /c /s:"%windir%\winsxs" /a /i /f /exe:lzx
2626

2727
icacls "%windir%" /restore "%windir%\winsxs.acl"
2828

@@ -35,6 +35,6 @@ sc config TrustedInstaller start= demand
3535
echo Compressing "Windows\Installer" Folder
3636

3737
@echo on
38-
compact /s:"%windir%\installer" /c /a /i
38+
compact /c /s:"%windir%\installer" /a /i /f /exe:lzx
3939

4040
pause

0 commit comments

Comments
 (0)