설치 / 사용기

윈 도 우 윈10 앱삭제 테스트

2015.12.21 01:08

suk 조회:3515 추천: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 - - -
3783 윈 도 우| Win10_Ent_ltsb_wmc_x64 k_RN_v1 ㅡ 오류부분 [14] sokury 3667 0 01-12
3782 모 바 일| 갤포아 안드로이드 롤리팝 5.0.1 업그레이드 [7] 번개 3562 0 01-12
3781 소프트웨어| [bat테스트]디스크 점유율 높을 때,서비스 호스트 종료하기 [10] suk 2826 7 01-12
3780 기 타| 로*님 10x64PE.wim 사용기 [12] 늘상푸른 3753 3 01-12
3779 윈 도 우| Win_ltsb_wmc_x64_k_RN_v1 Compact install...Test [7] foros 2714 4 01-11
3778 윈 도 우| Win10_Ent_ltsb_wmc_x64 k_RN_v1 수정된 부분들 찾아보기 [7] 갑파니 2135 4 01-11
3777 윈 도 우| Win10_Ent_ltsb_wmc_x64 k_RN_v1_WinSetup Compact로 설치... [28] 선우 2802 7 01-11
3776 윈 도 우| Windows10_Pro_K_x64_sLove 설치 및 부팅 [107] 선우 4612 21 01-10
3775 소프트웨어| 왕초보님의 Patition Saving 3.199P 종류별로 부팅 인증샷 [10] 선우 2011 6 01-08
3774 윈 도 우| Win_10_Ent_K_TH2_4in1_x64 MDS_설치,부팅,인증샷 [52] 선우 4429 9 01-06
3773 윈 도 우| Masterpiece Win+E 에러해결 - 시작위치 내PC로 변경시 무... [2] 갑파니 1941 0 01-05
3772 윈 도 우| Rn Win10 ltsb wmc - Wimboot Test [3] foros 2603 0 01-05
3771 소프트웨어| IObit Uninstaller 혹시라도 사용 안하시길 강력 추천 [15] 도라란 3819 1 01-05
3770 윈 도 우| Windows 10 Enterprise ltsb wmc 설치 후기(다른 시점) [5] 갑파니 2356 1 01-05
3769 소프트웨어| DISM GUI로 드라이버 통합하기. [4] 참붕어 2608 2 01-05
3768 윈 도 우| Windows 10 Ent ltsb wmc x64 k Masterpiece 설치기.. [2] 가야악당 3327 3 01-05
3767 윈 도 우| Rn w10 ltsb wmc 설치 [3] foros 2396 1 01-05
3766 윈 도 우| 그분(= Legend)의 극강 OS 설치기 [31] ContaC 4179 6 01-04
3765 윈 도 우| Windows 10 Ent ltsb wmc x64 k Masterpiece 설치 부팅기 [57] 선우 4166 13 01-04
3764 윈 도 우| 로엔님_Windows 10 Enterprise ltsb wmc{우클릭 정리} [9] 옛날에 3772 6 01-04
XE1.11.6 Layout1.4.8