설치 / 사용기

윈 도 우 윈10 앱삭제 테스트

2015.12.21 01:08

suk 조회:3516 추천:4

저는 그냥 순정대로 사용하는 편입니다. 예전에 ltsb도 역시 테스트차원에서 잠시 해봤을 때

겸사로 앱삭제도 해봤었죠


이번에 질문게시판에 질문하신 분이 계셔서 한번 install.wim 마운트하여 삭제해봤습니다

명령어들을 몇개씩 복사,붙여넣기 식으로 했습니다. bat 파일 아닙니다. 스샷이 깁니다

앱삭제 유무를 확인하기 위하여 dir /a/b 옵션을 이용하여 삭제 전후를 비교했습니다. 확실히 다릅니다


윈10-앱삭제테스트1-2015-12-21_004222.jpg



if exist mount rd/q/s mount

md mount

dism /mount-wim /wimfile:install.wim /index:1 /mountdir:mount


set mount=mount


dir /a/b "%mount%\Windows\InfusedApps\Applications" 

dir /a/b "%mount%\Windows\InfusedApps\Packages"

dir /a/b "%mount%\Program Files\WindowsApps"


if exist "%tmp%\빈폴더" rd /q/s "%tmp%\빈폴더"

md "%tmp%\빈폴더"


robocopy "%tmp%\빈폴더" "%mount%\Windows\InfusedApps\Applications" /mir /NODCOPY /zb /r:0 /xd *BingNews* *BingSports* *BingWeather*  *WindowsAlarms* *WindowsCalculator* *WindowsMaps* *WindowsStore* >nul

robocopy "%tmp%\빈폴더" "%mount%\Windows\InfusedApps\Packages" /mir /NODCOPY /zb /r:0 /xd *BingNews* *BingSports* *BingWeather*  *WindowsAlarms* *WindowsCalculator* *WindowsMaps* *WindowsStore* >nul

robocopy "%tmp%\빈폴더" "%mount%\Program Files\WindowsApps" /mir /NODCOPY /zb /r:0 /xd *BingNews* *BingSports* *BingWeather*  *WindowsAlarms* *WindowsCalculator* *WindowsMaps* *WindowsStore* *Microsoft.NET* *Microsoft.VCLibs* >nul


dir /a/b "%mount%\Windows\InfusedApps\Applications" 

dir /a/b "%mount%\Windows\InfusedApps\Packages"

dir /a/b "%mount%\Program Files\WindowsApps"


dism /Commit-Wim /mountdir:mount 

imagex /export install.wim 1 install2.wim /compress maximum

set /a k+=1

imagex /info install2.wim %k% "Windows 10 Pro K x64"  "앱삭제테스트" 

dism /unmount-wim /mountdir:mount /discard || @(takeown /f mount /r /d y & icacls mount /grant administrators:F /t)

explorer .


주의사항은 /xd 뒤에는 삭제하고 싶은 앱이 아니라 살리는 앱들을 쓰는 겁니다

*WindowsStore* *Microsoft.NET* *Microsoft.VCLibs* 은 살려줘야 한다고 하더군요. 자세한 내막은 모릅니다

dism도 윈10과 버전이 맞아야 합니다. 상위는 관계없지만, 하위 dism 버전은 작동하지 않습니다

또 imagex도 사용했습니다.



윈10-앱삭제테스트2015-12-21_004526.jpg


iso에 install.wim 교체하여 테스트 설치해봤습니다


윈10-앱삭제테스트-삭제되긴했는데-앱스토어가쓸데없이많네요2015-12-21_005723.jpg


삭제되긴 했는데요. 앱스토어가 여러개 보이네요.

저건 수동으로 삭제하면 되긴 되겠죠


근데..


윈10-앱삭제테스트-삭제되긴했는데-앱스토어가쓸데없이많네요-어-글쓰는사이에정리되어있네요2015-12-21_010554.jpg


자동으로 정리가 되어 있네요? 앱은 아예 관심이 없어서 잘 모르겠습니다. 방치해둡니다

다음에는 이렇게 한번 설치해봐야겠네요. 이미지 푼 후에 robocopy로 삭제만 해주면 되는 간단한 작업이라서..

예전에 했을 때 용량이 최하 1G 이상 줄어들었습니다. 관심도 없는 앱...용량은 적게 먹게 해놔야겠네요.


------------

2015-12-21 07:46

그냥 사용 중인 윈도에 적용해봤습니다. 별일은 없습니다. 용량은 1기가 이상 줄어든 것 같은데요..

요즘은 그냥 윈도상에서 다른 파티션에 복구합니다. PE로도 관계없을 겁니다. 


set mount=mount

:이 부분만 e: 으로 수정하여 아래로 dir 부분까지만 일단 확인 차원에서 긁어서 붙여넣기..


set mount=e:

dir /a/b "%mount%\Windows\InfusedApps\Applications" 

dir /a/b "%mount%\Windows\InfusedApps\Packages"

dir /a/b "%mount%\Program Files\WindowsApps"


: 다음 끝까지 긁어서 붙여넣기...


if exist "%tmp%\빈폴더" rd /q/s "%tmp%\빈폴더"

md "%tmp%\빈폴더"


robocopy "%tmp%\빈폴더" "%mount%\Windows\InfusedApps\Applications" /mir /NODCOPY /zb /r:0 /xd *BingNews* *BingSports* *BingWeather*  *WindowsAlarms* *WindowsCalculator* *WindowsMaps* *WindowsStore* >nul

robocopy "%tmp%\빈폴더" "%mount%\Windows\InfusedApps\Packages" /mir /NODCOPY /zb /r:0 /xd *BingNews* *BingSports* *BingWeather*  *WindowsAlarms* *WindowsCalculator* *WindowsMaps* *WindowsStore* >nul

robocopy "%tmp%\빈폴더" "%mount%\Program Files\WindowsApps" /mir /NODCOPY /zb /r:0 /xd *BingNews* *BingSports* *BingWeather*  *WindowsAlarms* *WindowsCalculator* *WindowsMaps* *WindowsStore* *Microsoft.NET* *Microsoft.VCLibs* >nul


dir /a/b "%mount%\Windows\InfusedApps\Applications" 

dir /a/b "%mount%\Windows\InfusedApps\Packages"

dir /a/b "%mount%\Program Files\WindowsApps"


이렇게 하여 지금 실사용중입니다. 모르겠습니다. 어차피 앱은 근처도 안 가므로

사용중인 윈도는 시작화면에서 사라지지 않습니다. 이건 예전에 테스트했을 때도 그랬습니다. 수동으로 삭제..

저는 어차피 앱 근처도 안 가므로 그냥 냅뒀습니다. 윈도에는 문제 없습니다


그리고 이 방법은 윈8.1에도 통하는 걸로 알고 있습니다

번호 제목 글쓴이 조회 추천 등록일
[공지] 사용기/설치기 이용안내 gooddew - - -
3742 윈 도 우| 윈도우 10 업그레이드 해피밥 2625 1 12-27
3741 윈 도 우| 간만에 설치해본 8.1 엔터프라이즈 [10] bleach 2052 4 12-27
3740 윈 도 우| W10 10568.36업데이트 통합 & 트윅 테스트 - 문제들 해결 [4] 갑파니 2360 3 12-27
3739 윈 도 우| 그분의 W10 x64 PE 체험기 [24] ContaC 4050 6 12-26
3738 윈 도 우| 수정 사용기 00.JPG가저가세요 [206] 무등산 7727 69 12-25
3737 윈 도 우| 주주앤님 PE 작업 표시줄 투명하게 사용하기 [6] adda 1940 1 12-25
3736 윈 도 우| W10 10568.36업데이트 통합 & 트윅 테스트 [12] 갑파니 2939 7 12-24
3735 소프트웨어| Win7PE-Cmd-Kor_PartitionSaving3_198P 숨김 드라이브 TEST [6] 선우 1795 4 12-24
3734 기 타| 7PE-Cmd 2개(Partition Saving 3.198P)사용기 [5] 가지고싶은 1417 3 12-24
3733 윈 도 우| 무OO님 W10 Ent K TH2 x64 151225 [21] ContaC 3823 8 12-23
3732 윈 도 우| Win7PE-Cmd 해상도 조절이 되긴 하네요. 넣어 봤습니다. [10] 오늘을사는 2260 3 12-22
3731 소프트웨어| 왕초보님의 CmdPE + Partition Saving 3.198P 시운전 체험기 [24] 선우 1814 5 12-21
3730 윈 도 우| 윈도우7 업데이트 확인 시간, 테스트 [10] suk 2668 5 12-21
» 윈 도 우| 윈10 앱삭제 테스트 [6] suk 3516 4 12-21
3728 윈 도 우| 주주앤님 PE 수정 [28] adda 4801 9 12-20
3727 윈 도 우| Windows 10 VL Korean-Version 1511-10586.36 test [16] 바람이분다 4767 12 12-20
3726 윈 도 우| Windows 8.1 자동유지관리 끄기 [10] suk 2479 5 12-19
3725 윈 도 우| 윈도10 홈 x86 다이어트 사용기 [5] mandoo1 2103 4 12-19
3724 윈 도 우| Win10_FIX_Edition 감사모드_봉인작업_VHD설치_자식생성 까지 [66] 선우 3886 20 12-18
3723 윈 도 우| Win 10 586 테마&에어로 사용기 [6] 갑파니 3620 4 12-18
XE1.11.6 Layout1.4.8