Code Snippets

Exchange_DisclaimerHTML

Exchange_DisclaimerHTML

<p><div style="background-color:#FFEB9C; width:100%; border-style: solid; border-color:#9C6500; border-width:1pt; padding:2pt; font-size:10pt; line-height:12pt; font-family:Calibri; color:Black; text-align: left;"><span style="color:#9C6500"; font-weight:bold;>ACHTUNG:</span> Diese E-Mail stammt von einem externen Absender. Bitte vermeide es, Anhänge oder externe Links zu öffnen.</div><br></p>

Exchange2010_LPVersioning.xml

Exchange2010_LPVersioning.xml

[03.18.2021 09:13:23.0475] [0] The backup copy of the install path is ‚C:\Program Files\Microsoft\Exchange Server\V14‘. [03.18.2021 09:13:23.0475] [0] The backup copy of the previously installed version is ‚14.3.123.4‘. [03.18.2021 09:13:23.0475] [0] The installation mode is set to: ‚BuildToBuildUpgrade‘. [03.18.2021 09:13:23.0521] [0] [ERROR] Setup hat ‚LPVersioning.xml‘ nicht gefunden. [03.18.2021 09:13:23.0521] [0] [ERROR] Die LPVersioning-Datei besitzt einen ungültigen...

Exchange2010_RecoverServer

Exchange2010_RecoverServer

C:UserssspadminDownloadsSP3>setup.com /m:recoverserver Willkommen bei der unbeaufsichtigten Installation von Microsoft Exchange Server 2010 Exchange-Setup wird vorbereitet Die Setupdateien werden kopiert ABGESCHLOSSEN Die folgenden Serverrollen werden geupdated. Sprachen Hub-Transport-Rolle Clientzugriffsrolle Postfachrolle Verwaltungstools Die Voraussetzungen für Microsoft Exchange Server werden überprüft Voraussetzungen werden konfiguriert ABGESCHLOSSEN Language Pack-Überprüfungen ABGESCHLOSSEN Hub-Transport-Rolle ABGESCHLOSSEN ClientAccess-Rolle ABGESCHLOSSEN Überprüfung der Mailbox-Rolle ABGESCHLOSSEN Konfigurieren von...

Exchange CU failed – SharedWebConfig Access Denied

Exchange CU failed – SharedWebConfig Access Denied

[03.03.2021 20:51:55.0663] [1] [ERROR] The following error was generated when "$error.Clear(); $dependentAssemblyGeneratorExePath = [System.IO.Path]::Combine($RoleInstallPath, "bin", "DependentAssemblyGenerator.exe"); $exchangeBinPath = [System.IO.Path]::Combine($RoleInstallPath, "bin"); $clientAccessPath = [System.IO.Path]::Combine($RoleInstallPath, "ClientAccess"); $sharedWebConfig = [System.IO.Path]::Combine($RoleInstallPath, "ClientAccess", "SharedWebConfig.config"); $a = &"$dependentAssemblyGeneratorExePath" -exchangePath "$exchangeBinPath" -exchangePath "$clientAccessPath" -configFile "$sharedWebConfig"; $allOutput = @(); $a | % { $allOutput += $_ }; Write-ExchangeSetupLog -Info ($allOutput -join "`r`n"); Stop-SetupService...

dc01.techblog.local_ext.txt

dc01.techblog.local_ext.txt

keyUsage=digitalSignature,keyEncipherment extendedKeyUsage=serverAuth subjectKeyIdentifier=hash subjectAltName = @alt_names [alt_names] DNS.1 = dc01.techblog.local DNS.2 = dc01 DNS.3 = techblog.local

dc01.techblog.local.inf

dc01.techblog.local.inf

;—————– request.inf —————– [Version] Signature= $Windows NT$ [NewRequest] Subject = "CN=dc01.techblog.local" KeySpec = 1 KeyLength = 4096 Hashalgorithm = sha256 Exportable = TRUE FriendlyName = dc01.techblog.local MachineKeySet = TRUE SMIME = False PrivateKeyArchive = FALSE UserProtected = FALSE UseExistingKeySet = FALSE ProviderName = "Microsoft RSA SChannel Cryptographic Provider" ProviderType = 12 RequestType = PKCS10 KeyUsage...

Move-ADDirectoryServerOperationMasterRole

Move-ADDirectoryServerOperationMasterRole

PS C:\Users\administrator> Move-ADDirectoryServerOperationMasterRole -Identity NBDC01 -OperationMasterRole SchemaMaster Move Operation Master Role Do you want to move role ‚SchemaMaster‘ to server ‚NBDC01.test.local‘ ? [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y PS C:\Users\edert> netdom query fsmo Schema master NBDC01.test.local Domain naming master FRDC02.test.local PDC...

netdom query fsmo

netdom query fsmo

C:\Users\administrator>netdom query fsmo Schema master FRDC02.test.local Domain naming master FRDC02.test.local PDC FRDC02.test.local RID pool manager FRDC02.test.local Infrastructure master FRDC02.test.local The command completed successfully.

Exchange Installation – Enterprise Admins

Exchange Installation – Enterprise Admins

Error: The Active Directory Schema isn’t up-to-date, and this user account isn’t a member of the ‘Schema Admins’ and/or ‘Enterprise Admins’ groups. Error: Global updates need to be made to Active Directory, and this user account isn’t a member of the ‘Enterprise Admins’ group. Error: The local domain needs to be updated. You must be...

AutodiscoverExclude.reg

AutodiscoverExclude.reg

Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Outlook\AutoDiscover] "ExcludeHttpsAutoDiscoverDomain"=dword:00000001 "ExcludeHttpsRootDomain"=dword:00000001 "ExcludeSrvRecord"=dword:00000001 "ExcludeExplicitO365Endpoint "=dword:00000001