
Windows 11 IoT Enterprise LTSC 2024 Deployment Guide
PowerShell script for Remove Remote Desktop
$programs = Get-ChildItem -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall,HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall | Get-ItemProperty | Where-Object {$_.DisplayName -match "Remote Desktop"} | 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
}
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\