Notikuma ID 258 "Nevar noteikt instalēto failu" pēc Windows PowerShell 2.0 atinstalēšanas

Attiecas uz
Exchange Server 2016 Enterprise Edition Exchange Server 2016 Standard Edition

Pazīmes

Microsoft Exchange Server 2016 vidē pēc Windows PowerShell versijas 2.0 atinstalēšanas un jaunākas PowerShell versijas instalēšanas nevar veiksmīgi atvērt Exchange pārvaldības čaulu un tiek parādīts šāds kļūdas ziņojums:

Piezīme

New-PSSession: [ServerName] Datu apstrāde no attālā servera ServerName failed with
Kļūdas ziņojums: [ClientAccessServer=ServerName,BackEndServer=ServerName,RequestId=RequestId,TimeStamp=DateTime]
[AuthZRequestId=AuthZRequestId][FailureCategory=AuthZ-SetupVersionInformationCorruptException]
Nevar noteikt instalētā faila versiju no reģistra atslēgas
'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine'. Papildinformāciju skatiet
about_Remote_Troubleshooting palīdzības tēmu.
Rinda:1 rakstzīme:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Micr ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme.... RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
gTransportException
+ FullyQualifiedErrorId: IncorrectProtocolVersion,PSSessionOpenFailed

Tiek reģistrēts arī šāds notikumu žurnāla ieraksts:

Piezīme

Žurnāla nosaukums: Programma
Avots: MSExchange RBAC
Datums: Datums/laiks
Notikuma ID: 258
Uzdevuma kategorija: RBAC
Līmenis: Kļūda
Atslēgvārdi: Klasisks
Lietotājs: Neattiecas
Dators: ComputerName
Apraksts:
(Process 8820, PID w3wp.exe)"RemotePS publiskais API Func GetApplicationPrivateData met Exception Microsoft.Exchange.Diagnostics.SetupVersionInformationCorruptException: Nevar noteikt instalētā faila versiju no reģistra atslēgas HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine.

Iemesls

Šī problēma rodas, jo ir mainīts jaunākās PowerShell versijas reģistra ceļš.

Risinājums

Varat pievienot HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine reģistra atslēgu atpakaļ pēc Windows PowerShell 2.0 atinstalēšanas. Ātrākais veids ir iegūt reģistra failu no Microsoft TechNet galerijas: https://gallery.technet.microsoft.com/Exchange-2016-CU1-7c843cb0.

Risinājums

Lai novērstu šo problēmu, instalējiet 9. kumulatīvo atjauninājumu pakalpojumam Exchange Server 2016 vai jaunāku kumulatīvo atjauninājumu programmai Exchange Server 2016.

Statuss

Microsoft apstiprināja, ka šī ir problēma Microsoft produktos, kas norādīti sadaļā "attiecas uz".

Atsauces

Uzziniet par terminoloģiju, ko Microsoft izmanto, lai aprakstītu programmatūras atjauninājumus.