Effizientes Management von Windows 10 IoT-Updates auf Dell Thin Clients

Summary: Anleitung zum Managen von Windows 10 IoT-Updates auf Dell Thin Clients. Unser Leitfaden hilft Ihnen, eine Überlastung mit Updates zu vermeiden, indem unnötige Updates mit PowerShell-Skripten verborgen werden. ...

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

Betroffene Plattformen:

  • Dell Thin Clients

Betroffene Betriebssysteme:

  • Windows 10 IoT LTSC 2021

Von Zeit zu Zeit veröffentlicht Microsoft Updates für Windows, die nicht für die Windows 10 IoT Thin Clients von Dell gelten, aber dennoch als fehlende QFEs angezeigt werden, wenn ein Updatevorgang durchgeführt wird.

Zum Beispiel:

Das aktuelle KB5034441 Update konnte nicht auf die Windows 10 IoT 2021 LTSC Thin Clients von Dell angewendet werden, da die erforderliche Partition nicht vorhanden war, aber Windows sie weiterhin als fehlend identifizierte.

PowerShell-Skript zum Ausblenden KB5034441:

Im folgenden PowerShell-Skriptbeispiel werden KB5034441 ausgeblendet. Sie kann bei Bedarf geändert werden, um andere Microsoft-Updates auszublenden, indem Sie die Hide-Windowsupdate verwenden.

# This section of code will restart the script with elevated privileges if it is not already running elevated
# 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
   }
# Run your code that needs to be elevated here
Install-PackageProvider NuGet -Force
Set-PSRepository PSGallery -InstallationPolicy Trusted
Install-Module -name PSWindowsUpdate -Confirm:$false
Import-Module PSWindowsUpdate
Hide-Windowsupdate -KBArticleID KB5034441 -Confirm:$false
Hinweis:
  • Dieses PowerShell-Skript wird unverändert bereitgestellt. Stellen Sie sicher, dass Sie auf einem oder zwei Geräten testen, bevor Sie sie für die gesamte Thin Client-Flotte bereitstellen.
  • Die Wyse Management Suite kann genutzt werden, um dieses Skript remote an Thin Clients bereitzustellen.

Affected Products

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