윈도우10을 사용하다 보면, 1909 버전 이하에서 생기던 프리징 현상이 있어 기본 앱을 제거해야 하거나, 사용하지 않아 기본 앱들을 제거해야 할 때가 있습니다. Windows PowerShell에 명령어를 입력하여, 기본 앱을 제거하고, 재설치하기는 무척 번거롭습니다. Windows 10에는 Windows PowerSehll ISE라는 프로그램이 존재하는데, 명령 프롬프트(CMD)를 가동하기 위해 메모장에 적어 cmd나 bat로 변환시키는 것과 비슷한 효과를 줄 수 있습니다.
■ 기본앱 제거 · 재설치
PowerSell에서 실행
PowerShell ISE에 명령어를 입력하게 되면, Windows PowerShell에서 행할 수 있는 명령어를 가동시켜주게 됩니다. 이것을 이용해 명령어를 기입해 작동시키게 되면, 똑같은 원리로 작동이 됩니다.
PowerShell ISE로 제작하게 되면 ps1의 확장자로 제작되게 됩니다. 생성된 ps1 파일을 더블 클릭해서는 작동이 되지 않고, 메모장이 뜨게 됩니다. 우측마우스를 클릭해서, "PowerShell에서 실행"을 클릭해야 작동이 됩니다.
§ 기본앱 제거 유틸리티
기본앱 제거 스토어만 설치.ps1
0.00MB
기본앱 제거 xbox 및 스토어만 만겨둠.ps1
0.00MB
§ 기본앱 재설치 및 제거 명령어
→ 모든 기본 앱 재설치 · 모든 기본앱 제거 · Microsoft Store 재설치 · Appx 캐시 정리 · X-Box 및 X-Box Gamebar 재설치 · 스티키노트(sticky note) 재설치 · 계산기(Calculator) 재설치 명령어가 포함되어 있습니다.
원하는 명령어 |
명령어 |
모든 기본 앱 재설치 |
- Windows Key + X > Windows PowerShell(관리자)
- Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
|
모든 기본앱 제거 |
- Windows Key + X > Windows PowerShell(관리자)
- Get-AppxPackage -AllUsers | Remove-AppxPackage
|
Microsoft Store 재설치 |
- Windows Key + X > Windows PowerShell(관리자)
- Get-Appxpackage -Allusers *Store*
- Add-AppxPackage -register "C:\Program Files\WindowsApps\*Store*\AppxManifest.xml" -DisableDevelopmentMode
|
Appx 캐시 정리 |
- Windows Key + X > Windows PowerShell(관리자)
- $manifest = (Get-AppxPackage Microsoft.WindowsStore).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest
|
X-Box 및 X-Box Gamebar 재설치 |
- Windows Key + X > Windows PowerShell(관리자)
- Get-appxpackage -Allusers *Xbox*
- Add-AppxPackage -register "C:\Program Files\WindowsApps\*Xbox*\AppxManifest.xml" -DisableDevelopmentMode
|
스티키노트(sticky note) 재설치 |
- Windows Key + X > Windows PowerShell(관리자)
- Get-appxpackage -Allusers *sticky*
- Add-AppxPackage -register "C:\Program Files\WindowsApps\*sticky*\AppxManifest.xml" -DisableDevelopmentMode
|
계산기(Calculator) 재설치 |
- Windows Key + X > Windows PowerShell(관리자)
- Get-appxpackage -Allusers *WindowsCalculator*
- Add-AppxPackage -register "C:\Program Files\WindowsApps\*WindowsCalculator*\AppxManifest.xml" -DisableDevelopmentMode
|