@oliverb schrieb: Als Workaround kann man in der Datei \Program Files (x86)\DATEV\KONFIG\SiPaCompact\B0000524.xml die Sektion für <plugin description="smartcard laufzeitverlängerung" type="dll" level="1">...</plugin>" auskommentieren, speichern und neu starten. Wer das automatisieren möchte, könnte das per StartUp Script auf den Clients ausführen lassen: $output = @()
$found = $false
if(Test-Path -Path "C:\Program Files (x86)\DATEV\KONFIG\SiPaCompact\B0000524.xml" -PathType Leaf){
$read = [System.IO.StreamReader]::new("C:\Program Files (x86)\DATEV\KONFIG\SiPaCompact\B0000524.xml")
while ($read.EndOfStream -eq $false) {
$line = $read.ReadLine()
if($line -match "^ <plugin description=`"SmartCard Laufzeitverlängerung`" type=`"dll`" level=`"1`">"){
$output += "<!--" + $line
$found = $true
} elseif($found -and $line -match "</plugin>$"){
$output += $line + "-->"
$found = $false
} else{
$output += $line
}
}
Set-Content -Path "C:\Program Files (x86)\DATEV\KONFIG\SiPaCompact\B0000524.xml" `
-Value $output `
-Encoding UTF8 `
-Confirm:$false `
-Force
} Generell natürlich auch per Intune Remediations Script o.ä. machbar.
... Mehr anzeigen