Wyse Management Suite를 사용하여 애플리케이션을 삭제하는 방법

Summary: 이 문서에서는 WMS(Wyse Management Suite)를 통해 제공되는 PowerShell 스크립트를 사용하여 애플리케이션을 원격으로 제거하는 명령을 결정하는 방법에 대해 설명합니다.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

해당되는 플랫폼:

  • Dell 씬 클라이언트

영향을 받는 제품:

  • Wyse Management Suite

영향을 받는 운영 체제:

  • Windows 10 IoT LTSC 2021

Windows 10 IoT LTSC 2021 씬 클라이언트에는 여러 애플리케이션이 출고 시 사전 설치되어 복구 이미지에 포함되어 있습니다. 일부 관리자는 환경에서 사용되지 않는 애플리케이션을 제거하려고 할 수 있습니다. 이를 수행하려면 관련 제거 명령을 확인해야 합니다. 이 문서에서는 프로세스를 간략하게 설명하고 일반적으로 설치되는 여러 애플리케이션에 대한 명령 예를 제공합니다.

관련 제거 명령 문자열을 확인하는 단계:

  1. 타겟 애플리케이션이 설치된 디바이스에 관리자로 로그인합니다.
  2. 레지스트리 편집기(regedit.exe)를 엽니다.
  3. HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall 키로 이동합니다.
  4. 레지스트리 하위 키에서 제거할 애플리케이션의 이름을 검색하고 DisplayName, Publisher 또는 PowerShell 쿼리에 사용할 수 있는 기타 식별 데이터입니다.
  5. HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall 키로 이동합니다.
  6. 레지스트리 하위 키에서 제거할 애플리케이션의 이름을 검색하고 DisplayName, Publisher 또는 PowerShell 쿼리에 사용할 수 있는 기타 식별 데이터입니다.
    참고:
    • 실행해야 하는 연결된 여러 레지스트리 키와 제거 명령이 있을 수 있으므로 모든 레지스트리 키를 탐색하여 필요한 모든 제거 명령을 기록해 두십시오.
    • 두 개의 제거 레지스트리 키를 내보내고 텍스트 편집기를 사용하여 정보를 검색하는 것이 더 쉬울 수 있습니다.
  7. 관련 레지스트리 키가 발견되면 제거할 애플리케이션이 공통적으로 갖는 레지스트리 값(예: 제거를 위한 VMware Horizon Client 레지스트리 항목에는 모두 DisplayName 필드, Citrix는 그렇지 않으며 Citrix 제거를 위해 게시자 필드를 사용하는 것이 더 쉽습니다).
  8. 사용된 제거 문자열 명령을 확인합니다. 대부분의 프로그램은 MsiExec.exe 명령을 사용하여 제거하지만 Citrix와 같은 일부 프로그램에는 PowerShell 스크립트에서 고려해야 하는 추가 또는 다른 명령이 있을 수 있습니다.

Citrix Workspace 제거:

씬 클라이언트에서 Citrix Workspace Client를 제거하려면 레지스트리 키를 검색하여 키 간의 공통 검색 문자열을 확인합니다. 아래 스크린샷은 Citrix Workspace 클라이언트와 연결된 레지스트리 키 중 하나의 예를 보여 줍니다.

Citrix Workspace 클라이언트 레지스트리 예

아래 샘플 스크립트에서 관련 키를 검색하는 데 사용되는 Publisher 항목을 확인합니다. 또한 다음 사항에 주의하십시오. UninstallString이 경우 MsiExec.exe 명령을 사용하여 설치 제거하지 않으므로 표준 MsiExec 명령과 함께 이 항목을 처리하려면 특별한 주의를 기울여야 합니다.

아래 스크립트 예는 Windows 10 씬 클라이언트에서 Citrix Workspace 및 관련 애플리케이션을 제거합니다.

# this script will uninstall any program with Citrix Systems or Cloud Software Group in the Publisher field
# version 1 - August 6,2024
# search through the uninstall keys in the registry and find any entries with Citrix Systems or Cloud Software Group in the name of the software publisher
# and create a collection from the entries
$programs = Get-ChildItem -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall,HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall | Get-ItemProperty | Where-Object {$_.Publisher -match "Citrix Systems" -or $_.Publisher -match "Cloud Software Group"} | Select-Object -Property DisplayName,Publisher,UninstallString

# for each registry entry in the collection, run the uninstall command
foreach ($program in $programs) {
   # if the uninstall command uses the MSIEXEC.exe run it with following parameters
    if ($program.uninstallstring -match "msiexec.exe"){
        start-process cmd.exe -ArgumentList "/c""$($program.uninstallstring) /quiet /norestart""" -Wait
    }
   # special command for the TrolleyExpress command to uninstall the main Citrix component as it does     not rely on MSIEXEC.exe to uninstall
   else {
        start-process cmd.exe -ArgumentList "/c""$($program.uninstallstring) /silent""" -Wait
    }
}
# check to see if the Citrix Workspace shortcut is on the desktop and delete it
if (test-path "C:\Users\Public\Desktop\Citrix Workspace.lnk") {
		remove-item "C:\Users\Public\Desktop\Citrix Workspace.lnk"
}

PowerShell(ps1) 파일을 만들고 앱 제거 정책에 사용할 WMS 서버에 복사합니다.

VMware Horizon Client 제거:

씬 클라이언트에서 VMware Horizon Client를 제거하려면 레지스트리 키를 검색하여 키 간의 공통 검색 문자열을 확인합니다. 아래 스크린샷은 VMware Horizon Client와 연결된 레지스트리 키 중 하나의 예를 보여 줍니다.

VMware Horizon Client 레지스트리 예

다음 사항에 유의하십시오. DisplayName 아래 샘플 스크립트에서 관련 키를 검색하는 데 사용되는 항목입니다. 또한 다음 사항에 주의하십시오. UninstallString 모든 제거 명령이 MSiExec.exe 명령을 사용하도록 합니다.

아래 스크립트 예는 Windows 10 씬 클라이언트에서 VMware Horizon 및 관련 애플리케이션을 제거합니다.

# this script will uninstall any program with VMWare in the title
# version 1 - August 6,2024
#
# search through the uninstall keys in the registry and find any with VMWare in the Name of the application (DisplayName) and create a collection of the entries
$programs = Get-ChildItem -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall,HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall | Get-ItemProperty | Where-Object {$_.DisplayName -match "VMWare"} | Select-Object -Property DisplayName,UninstallString

# for each registry entry in the collection, run the uninstall command
foreach ($program in $programs) {
    start-process cmd.exe -ArgumentList "/c""$($program.uninstallstring) /quiet /norestart""" -Wait
}

PowerShell(ps1) 파일을 만들고 앱 제거 정책에 사용할 WMS 서버에 복사합니다.

참고:
  • 이 문서는 Windows 10 IoT Enterprise LTSC 2021 빌드 버전 10.05.15.12.23.00을 실행하는 Latitude 3440으로 개발 및 테스트되었습니다. 다른 빌드를 사용하는 경우 레지스트리 키 정보에 약간의 차이가 있을 수 있습니다.
  • 경우에 따라 Citrix 제거의 경우와 같이 바로 가기와 같은 추가 파일 제거도 스크립트로 작성해야 합니다. 제거가 완료되었는지 확인하기 위해 테스트를 수행해야 합니다.

Affected Products

Latitude Mobile Thin Client, OptiPlex Thin Client, Wyse Hardware, Wyse Management Suite
Article Properties
Article Number: 000222586
Article Type: How To
Last Modified: 23 Aug 2024
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.