Hướng dẫn mở ứng dụng Microsoft Store từ Command Prompt. Bạn có thể mở bất kỳ ứng dụng Store nào qua command line nếu có:
- Package Family Name của App.
- App ID.
Mỗi ứng dụng Store có Package Family Name và App ID duy nhất. Xem App ID bằng cách mở file XML trong thư mục cài đặt app.

Cách mở ứng dụng Microsoft Store từ Command Prompt
Các bước:
- Mở hộp thoại Run.
- Gõ lệnh mô tả dưới đây > Enter.
- Tạo shortcut desktop của app muốn mở từ command line.
- Chuột phải shortcut > Properties. Ghi nhớ Target Type.
- Mở PowerShell, gõ lệnh sau > Enter. Sẽ tạo file text.
- Mở cửa sổ User Profile trong File Explorer.
- Mở file text vừa tạo.
- Tìm PackageFamilyName trong file đó.
- Copy đường dẫn cài đặt app.
- Mở file AppxManifest.xml.
- Ghi nhớ App ID.
- Mở Command Prompt, chạy lệnh mô tả sau > Enter.
Chi tiết:
Mở Run, gõ lệnh sau > Enter:
shell:AppsFolder
Chuột phải app Store muốn mở > Create shortcut. Cảnh báo > Yes.
Đến Desktop, chuột phải shortcut vừa tạo > Properties.
Tab Shortcut, ghi nhớ Target Type.

Mở Windows PowerShell từ Start. Copy lệnh sau, paste > Enter. Tạo file text:
get-appxpackage > 123.txt
(123 là tên file text, đặt tên tùy ý).
Mở Run, gõ %UserProfile% > Enter. Mở User profile trong File Explorer.
Tìm file text vừa tạo, double-click mở.

Trong file text, tìm PackageFamilyName của app. Ctrl+F, nhập Target Type (bước 4) > Find Next. Không cần gõ đầy đủ, chỉ vài ký tự đầu.

Copy installation location/path của app (cùng file text).
Paste đường dẫn vào thanh địa chỉ File Explorer > Enter. Tìm file XML tên AppxManifest. Double-click mở.
Mặc định XML mở trong Internet Explorer. Tìm App ID: Ctrl+F, nhập "Executable=" > Enter. App ID ở cùng dòng.

Mở Command Prompt, gõ lệnh:
explorer.exe shell:appsFolder\<PackageFamilyName>!<App ID>
Thay PackageFamilyName và App ID đúng chỗ.
Ví dụ: PackageFamilyName = 48241InfinityBenchLTD.InfinityConverter_9hsfe6f61q78a (bước 8), App ID = App (bước 11). Lệnh:
explorer.exe shell:appsFolder\48241InfinityBenchLTD.InfinityConverter_9hsfe6f61q78a!App

Nhấn Enter, Windows mở app.
Liên quan: Cách chặn cài đặt ứng dụng từ xa trên Windows 10.
