2013-07-23 1 views
0

내 Windows 8 컴퓨터에 설치된 모든 최신 UI 응용 프로그램을 나열하고 싶습니다.모든 최신 UI 앱을 나열하는 방법은 무엇입니까?

관리자 권한이있는 표준 데스크톱 응용 프로그램에서 설치된 모든 Modern UI 응용 프로그램을 나열하는 방법이 있습니까?

+0

모든 현대 UI 애플 리케이션 "앱 *"로 시작하는 "HKEY_CURRENT_USER \\ 소프트웨어 \\ 클래스", 아래의 레지스트리에 등록 할 것으로 보인다. 여기서 "/ Application/ApplicationName"은 응용 프로그램의 이름이고 "/ Application/AppUserModelID"는 고유 ID입니다. – Friedrich

답변

1

Powershell 및 Get-AppxPackage 명령을 사용하여이 작업을 수행 할 수 있습니다. ; 나이젤이 정답을 가지고

0

)

이 관리자 권한으로 자동으로 실행하는 보완 : (나는 몇 달 전에이 트릭을 사용하고, 그래서 난 더 이상 소스가 없습니다. 나는 그것을 발견 있을지이 게시물을 편집합니다.)

# Get the ID and security principal of the current user account 
$myWindowsID=[System.Security.Principal.WindowsIdentity]::GetCurrent() 
$myWindowsPrincipal=new-object System.Security.Principal.WindowsPrincipal($myWindowsID) 

# Get the security principal for the Administrator role 
$adminRole=[System.Security.Principal.WindowsBuiltInRole]::Administrator 

# Check to see if we are currently running "as Administrator" 
if ($myWindowsPrincipal.IsInRole($adminRole)) 
{ 
    # We are running "as Administrator" - so change the title and background color to indicate this 
    $Host.UI.RawUI.WindowTitle = $myInvocation.MyCommand.Definition + "(Elevated)" 
    $Host.UI.RawUI.BackgroundColor = "DarkBlue" 
    clear-host 
} 
else 
{ 
    # We are not running "as Administrator" - so relaunch as administrator 

    # Create a new process object that starts PowerShell 
    $newProcess = new-object System.Diagnostics.ProcessStartInfo "PowerShell"; 

    # Specify the current script path and name as a parameter 
    $newProcess.Arguments = $myInvocation.MyCommand.Definition; 

    # Indicate that the process should be elevated 
    $newProcess.Verb = "runas"; 

    # Start the new process 
    [System.Diagnostics.Process]::Start($newProcess); 

    # Exit from the current, unelevated, process 
    exit 
} 

# List all apps 
Get-AppxPackage -AllUsers