설치 / 사용기

윈 도 우 윈10 앱삭제 테스트

2015.12.21 01:08

suk 조회:3528 추천: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 - - -
3843 윈 도 우| 콜레오님Win 7 Ulti x64 Super Manian (테스트-무봉)설치기 [32] 선우 2572 6 02-21
3842 소프트웨어| 부팅 때, 컴퓨터시계 맞추기 - 테스트 - [17] suk 4045 11 02-19
3841 서버 / IT| NAS서버 QNAP TS-253A 리뷰 [7] 준타 3048 5 02-18
3840 윈 도 우| 잘린 install.swm 파일 다시 install.wim으로 합치기.. [9] suk 5147 6 02-17
3839 소프트웨어| Easy2boot 를 이용한 Multi booting [6] 한스 2845 2 02-17
3838 윈 도 우| 스카이레이크용 UEFI 윈7 이미지 테스트 해봤습니다 [7] suk 3205 3 02-17
3837 소프트웨어| VHD[x] 확장하기 bat 테스트입니다 [14] suk 2679 19 02-17
3836 윈 도 우| GPT 디스크로 레거시 부팅 가능하네요. [놀람] [6] suk 2879 6 02-16
3835 윈 도 우| 콜*오님_Windows_7_Ultimate_Manian_x86 부팅기 [19] 선우 2002 5 02-16
3834 소프트웨어| 드라이브 문자 할당 & 제거하기 bat 테스트 [12] suk 2299 8 02-15
3833 윈 도 우| Windows 10 Pro K th2 10586.104 (x64) 간략 설치기 [24] it초보 4420 4 02-15
3832 윈 도 우| UEFI모드에서 보험용 EFI 파티션 만들기 [12] suk 4269 4 02-14
3831 윈 도 우| Oneclick 윈도우 7 설치 [20] 터치잇 4916 10 02-14
3830 윈 도 우| Windows 10 Version 1511 Build 10586.104 [3] Waffen-SS 3862 3 02-13
3829 윈 도 우| 윈도우7 업데이트 확인 느릴 때 해결 방법 한 가지 [12] 휘슬링 5567 6 02-13
3828 윈 도 우| 빈자리님 Windows7 Pro K x86 VMware설치과정 스샷 해봤습... [14] 선우 2199 4 02-13
3827 윈 도 우| 빈자리님 무봉인 Windows7 Pro K x64 설치 하였습니다 [23] 선우 3306 7 02-12
3826 소프트웨어| 석님의 랜섬웨어 감지용 프로그램 좋네요 [5] 오늘을사는 3267 2 02-12
3825 소프트웨어| [수정]랜섬웨어 감지용으로 만들어봤습니다. 개인용 [26] suk 4376 13 02-11
3824 기 타| 외장하드 멀티 부팅하기-멀티 윈도 설치와 PE부팅 [28] suk 9383 12 02-11
XE1.11.6 Layout1.4.8