Microsoft MVP성태의 닷넷 이야기
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

Windows 11 - 22H2 업데이트 이후 Terminal 대신 cmd 창이 뜨는 경우

이상하군요, 2대 모두 Windows 11 22H2로 업데이트해 버전이 10.0.22621.819로 같습니다. 그런데, 한쪽 PC는 Run 실행 창에서 cmd를 입력하면 Windows Terminal이 뜨고, 다른 한쪽은 예전의 Command Prompt 창이 뜹니다.

"Settings" 창의 "Privacy & security" / "For developers" / "Terminal" 설정에 가면,

win11_terminal_update_1.png

동일하게 "Let Windows decide"로 설정했지만, 잘 되는 쪽은 1.15.2875.0 버전이고, 안 되는 쪽은 1.12.10983.0이라는 차이만 있습니다. 혹시 업데이트하면 바뀔까요?

Windows 11부터 winget이 내장되었는데, 따라서 다음과 같이 업데이트할 수 있습니다.

c:\temp> winget upgrade --id=Microsoft.WindowsTerminal
Found Windows Terminal [Microsoft.WindowsTerminal] Version 1.15.2874.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Starting package install...
Starting package install...
  ▎                               1%
Successfully installed. Restart the application to complete the upgrade.

이후, 윈도우에 떠 있는 "Terminal" 창이 있다면 모두 종료해야 합니다. (작업관리자에서 Processes 목록을 봤을 때 "Terminal" 항목이 없어야 합니다.)

이제 새롭게 "Terminal"을 실행하면 버전이 1.15.2874.0로 바뀌었을 것이고, Run 실행 창을 통해 cmd를 입력해도 Windows Terminal이 뜨는 것을 확인할 수 있습니다. (아직 winget repo에는 2874 버전이 등록된 듯합니다.)

물론, 1.12.10983.0 버전에서도 설정을 통해 "Let Windows decide"가 아니라 명시적으로 "Windows Termnial"을 지정해도 됩니다. 또한, 만약 Windows 11의 버전이 22H2가 아닌 경우, 예를 들어 버전이 10.0.22000.1281이라면 Windows Terminal 버전을 1.15.xxx로 업데이트해도 cmd를 치면 Command Prompt가 뜰 것입니다. 왜냐하면 (22H2가 아닌) Windows 11의 Settings에는 기본값이 "Windows Terminal"이 아니라 "Windows Console Host"로 선택돼 있기 때문입니다.

그나저나, 어느새 Windows Terminal도 기본으로 되고 winget도 기본 설치되는 상황까지 왔군요. ^^




[이 글에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]







[최초 등록일: ]
[최종 수정일: 12/2/2022]

Creative Commons License
이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.
by SeongTae Jeong, mailto:techsharer at outlook.com

비밀번호

댓글 작성자
 




... 16  17  18  19  20  21  22  23  [24]  25  26  27  28  29  30  ...
NoWriterDateCnt.TitleFile(s)
13040정성태4/27/20227393VC++: 156. 비주얼 스튜디오 - Linux C/C++ 프로젝트에서 openssl 링크하는 방법
13039정성태4/27/20228222.NET Framework: 1999. C# - Playwright를 이용한 간단한 브라우저 제어 실습
13038정성태4/26/20226006오류 유형: 806. twine 실행 시 ConfigParser.ParsingError: File contains parsing errors: /root/.pypirc
13037정성태4/25/20226423.NET Framework: 1998. Azure Functions를 사용한 간단한 실습
13036정성태4/24/20227202.NET Framework: 1997. C# - nano 시간을 가져오는 방법 [2]
13035정성태4/22/20227768Windows: 204. Windows 10부터 바뀐 QueryPerformanceFrequency, QueryPerformanceCounter
13034정성태4/21/20227094.NET Framework: 1996. C# XingAPI - 주식 종목에 따른 PBR, PER, ROE, ROA 구하는 방법(t3320, t8430 예제)파일 다운로드1
13033정성태4/18/20227663.NET Framework: 1195. C# - Thread.Yield와 Thread.Sleep(0)의 차이점(?)
13032정성태4/17/20227385오류 유형: 805. Github의 50MB 파일 크기 제한 - warning: GH001: Large files detected. You may want to try Git Large File Storage
13031정성태4/15/20226966.NET Framework: 1194. C# - IdealProcessor와 ProcessorAffinity의 차이점
13030정성태4/15/20226600오류 유형: 804. 정규 표현식 오류 - Quantifier {x,y} following nothing.
13029정성태4/14/20227026Windows: 203. iisreset 후에도 이전에 설정한 전역 환경 변수가 w3wp.exe에 적용되는 문제
13028정성태4/13/20226973.NET Framework: 1193. (appsettings.json처럼) web.config의 Debug/Release에 따른 설정 적용
13027정성태4/12/20227240.NET Framework: 1192. C# - 환경 변수의 변화를 알리는 WM_SETTINGCHANGE Win32 메시지 사용법파일 다운로드1
13026정성태4/11/20228786.NET Framework: 1191. C 언어로 작성된 FFmpeg Examples의 C# 포팅 전체 소스 코드 [3]
13025정성태4/11/20228097.NET Framework: 1190. C# - ffmpeg(FFmpeg.AutoGen)를 이용한 vaapi_encode.c, vaapi_transcode.c 예제 포팅
13024정성태4/7/20226596.NET Framework: 1189. C# - 런타임 환경에 따라 달라진 AppDomain.GetCurrentThreadId 메서드
13023정성태4/6/20226906.NET Framework: 1188. C# - ffmpeg(FFmpeg.AutoGen)를 이용한 transcoding.c 예제 포팅 [3]
13022정성태3/31/20226837Windows: 202. 윈도우 11 업그레이드 - "PC Health Check"를 통과했지만 여전히 업그레이드가 안 되는 경우 해결책
13021정성태3/31/20227029Windows: 201. Windows - INF 파일을 이용한 장치 제거 방법
13020정성태3/30/20226787.NET Framework: 1187. RDP 접속 시 WPF UserControl의 Unloaded 이벤트 발생파일 다운로드1
13019정성태3/30/20226765.NET Framework: 1186. Win32 Message를 Code로부터 메시지 이름 자체를 구하고 싶다면?파일 다운로드1
13018정성태3/29/20227281.NET Framework: 1185. C# - Unsafe.AsPointer가 반환한 포인터는 pinning 상태일까요? [5]
13017정성태3/28/20227059.NET Framework: 1184. C# - GC Heap에 위치한 참조 개체의 주소를 알아내는 방법 - 두 번째 이야기 [3]
13016정성태3/27/20227962.NET Framework: 1183. C# 11에 추가된 ref 필드의 (우회) 구현 방법파일 다운로드1
13015정성태3/26/20229240.NET Framework: 1182. C# 11 - ref struct에 ref 필드를 허용 [1]
... 16  17  18  19  20  21  22  23  [24]  25  26  27  28  29  30  ...