302 lines
7.5 KiB
Markdown
302 lines
7.5 KiB
Markdown
![]() |
BKKSPQAPP002
|
|||
|
|
|||
|
Montag, 15. Oktober 2018
|
|||
|
|
|||
|
11:58
|
|||
|
|
|||
|
|
|||
|
|
|||
|
Windows PowerShell
|
|||
|
|
|||
|
Copyright (C) 2016 Microsoft Corporation. All rights reserved.
|
|||
|
|
|||
|
|
|||
|
|
|||
|
PS C:\\WINDOWS\\system32\> set-executionPolicy unrestricted
|
|||
|
|
|||
|
|
|||
|
|
|||
|
Execution Policy Change
|
|||
|
|
|||
|
The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose
|
|||
|
|
|||
|
you to the security risks described in the about_Execution_Policies help topic at
|
|||
|
|
|||
|
<http://go.microsoft.com/fwlink/?LinkID=135170>. Do you want to change the execution policy?
|
|||
|
|
|||
|
\[Y\] Yes \[A\] Yes to All \[N\] No \[L\] No to All \[S\] Suspend \[?\] Help (default is \"N\"): Y
|
|||
|
|
|||
|
PS C:\\WINDOWS\\system32\> [\\\\bkkfiler01\\sharepoint\$\\Konfig-spq.ps1](file://bkkfiler01/sharepoint$/Konfig-spq.ps1)
|
|||
|
|
|||
|
|
|||
|
|
|||
|
Security warning
|
|||
|
|
|||
|
Run only scripts that you trust. While scripts from the internet can be useful, this script can potentially harm your
|
|||
|
|
|||
|
computer. If you trust this script, use the Unblock-File cmdlet to allow the script to run without this warning
|
|||
|
|
|||
|
message. Do you want to run [\\\\bkkfiler01\\sharepoint\$\\Konfig-spq.ps1](file://bkkfiler01/sharepoint$/Konfig-spq.ps1)?
|
|||
|
|
|||
|
\[D\] Do not run \[R\] Run once \[S\] Suspend \[?\] Help (default is \"D\"): R
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
Path : [\\\\localhost\\root\\cimv2:Win32_ComputerSystem.Name=\"BKKSPQAPP002](file:///C:\root\cimv2:Win32_ComputerSystem.Name=%22BKKSPQAPP002)\"
|
|||
|
|
|||
|
RelativePath : Win32_ComputerSystem.Name=\"BKKSPQAPP002\"
|
|||
|
|
|||
|
Server : localhost
|
|||
|
|
|||
|
NamespacePath : root\\cimv2
|
|||
|
|
|||
|
ClassName : Win32_ComputerSystem
|
|||
|
|
|||
|
IsClass : False
|
|||
|
|
|||
|
IsInstance : True
|
|||
|
|
|||
|
IsSingleton : False
|
|||
|
|
|||
|
|
|||
|
|
|||
|
\_\_GENUS : 2
|
|||
|
|
|||
|
\_\_CLASS : Win32_PageFileSetting
|
|||
|
|
|||
|
\_\_SUPERCLASS : CIM_Setting
|
|||
|
|
|||
|
\_\_DYNASTY : CIM_Setting
|
|||
|
|
|||
|
\_\_RELPATH : Win32_PageFileSetting.Name=\"p:\\\\pagefile.sys\"
|
|||
|
|
|||
|
\_\_PROPERTY_COUNT : 6
|
|||
|
|
|||
|
\_\_DERIVATION : {CIM_Setting}
|
|||
|
|
|||
|
\_\_SERVER : BKKSPQAPP002
|
|||
|
|
|||
|
\_\_NAMESPACE : root\\cimv2
|
|||
|
|
|||
|
\_\_PATH : [\\\\BKKSPQAPP002\\root\\cimv2:Win32_PageFileSetting.Name=\"p:\\\\pagefile.sys](file://BKKSPQAPP002/root/cimv2:Win32_PageFileSetting.Name=%22p:/pagefile.sys)\"
|
|||
|
|
|||
|
Caption : p:\\ \'pagefile.sys\'
|
|||
|
|
|||
|
Description : \'pagefile.sys\' @ p:\\
|
|||
|
|
|||
|
InitialSize : 800
|
|||
|
|
|||
|
MaximumSize : 49150
|
|||
|
|
|||
|
Name : p:\\pagefile.sys
|
|||
|
|
|||
|
SettingID : pagefile.sys @ p:
|
|||
|
|
|||
|
PSComputerName : BKKSPQAPP002
|
|||
|
|
|||
|
|
|||
|
|
|||
|
Pagefile wurde angepasst. Nun wird der Proxy gesetzt.
|
|||
|
|
|||
|
Proxy gesetzt. Nun werden die Einstellungen zu Firewall, UAC, ESC,Local intranet Zone gesetzt.
|
|||
|
|
|||
|
Firewall, UAC, ESC ,Local intranet Zone sind gesetzt. Nun wird Remote Powershell aktiviert.
|
|||
|
|
|||
|
Remote Powershell aktiviert. Nun wird RDP gesetzt.
|
|||
|
|
|||
|
RDP gesetzt. Nun werden Admin Progs (Netzwerkmonitor, Notepad++, SQL Management Studio ) installiert.
|
|||
|
|
|||
|
Netzwerkmonitor, Notepad++, SQL Management Studio Installiert. Dotnet3.5 wird installiert
|
|||
|
|
|||
|
PS C:\\WINDOWS\\system32\> [\\\\bkkfiler01\\sharepoint\$\\Konfig-spq.ps1](file://bkkfiler01/sharepoint$/Konfig-spq.ps1)
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
Path : [\\\\localhost\\root\\cimv2:Win32_ComputerSystem.Name=\"BKKSPQAPP002](file:///C:\root\cimv2:Win32_ComputerSystem.Name=%22BKKSPQAPP002)\"
|
|||
|
|
|||
|
RelativePath : Win32_ComputerSystem.Name=\"BKKSPQAPP002\"
|
|||
|
|
|||
|
Server : localhost
|
|||
|
|
|||
|
NamespacePath : root\\cimv2
|
|||
|
|
|||
|
ClassName : Win32_ComputerSystem
|
|||
|
|
|||
|
IsClass : False
|
|||
|
|
|||
|
IsInstance : True
|
|||
|
|
|||
|
IsSingleton : False
|
|||
|
|
|||
|
|
|||
|
|
|||
|
\_\_GENUS : 2
|
|||
|
|
|||
|
\_\_CLASS : Win32_PageFileSetting
|
|||
|
|
|||
|
\_\_SUPERCLASS : CIM_Setting
|
|||
|
|
|||
|
\_\_DYNASTY : CIM_Setting
|
|||
|
|
|||
|
\_\_RELPATH : Win32_PageFileSetting.Name=\"p:\\\\pagefile.sys\"
|
|||
|
|
|||
|
\_\_PROPERTY_COUNT : 6
|
|||
|
|
|||
|
\_\_DERIVATION : {CIM_Setting}
|
|||
|
|
|||
|
\_\_SERVER : BKKSPQAPP002
|
|||
|
|
|||
|
\_\_NAMESPACE : root\\cimv2
|
|||
|
|
|||
|
\_\_PATH : [\\\\BKKSPQAPP002\\root\\cimv2:Win32_PageFileSetting.Name=\"p:\\\\pagefile.sys](file://BKKSPQAPP002/root/cimv2:Win32_PageFileSetting.Name=%22p:/pagefile.sys)\"
|
|||
|
|
|||
|
Caption : p:\\ \'pagefile.sys\'
|
|||
|
|
|||
|
Description : \'pagefile.sys\' @ p:\\
|
|||
|
|
|||
|
InitialSize : 800
|
|||
|
|
|||
|
MaximumSize : 49150
|
|||
|
|
|||
|
Name : p:\\pagefile.sys
|
|||
|
|
|||
|
SettingID : pagefile.sys @ p:
|
|||
|
|
|||
|
PSComputerName : BKKSPQAPP002
|
|||
|
|
|||
|
|
|||
|
|
|||
|
Pagefile wurde angepasst. Nun wird der Proxy gesetzt.
|
|||
|
|
|||
|
Proxy gesetzt. Nun werden die Einstellungen zu Firewall, UAC, ESC,Local intranet Zone gesetzt.
|
|||
|
|
|||
|
Firewall, UAC, ESC ,Local intranet Zone sind gesetzt. Nun wird Remote Powershell aktiviert.
|
|||
|
|
|||
|
Remote Powershell aktiviert. Nun wird RDP gesetzt.
|
|||
|
|
|||
|
RDP gesetzt. Nun werden Admin Progs (Netzwerkmonitor, Notepad++, SQL Management Studio ) installiert.
|
|||
|
|
|||
|
Netzwerkmonitor, Notepad++, SQL Management Studio Installiert. Dotnet3.5 wird installiert
|
|||
|
|
|||
|
Add-WindowsFeature : The request to add or remove features on the specified server failed.
|
|||
|
|
|||
|
Installation of one or more roles, role services, or features failed.
|
|||
|
|
|||
|
The source files could not be found.
|
|||
|
|
|||
|
Use the \"Source\" option to specify the location of the files that are required to restore the feature. For more
|
|||
|
|
|||
|
information on specifying a source location, see <http://go.microsoft.com/fwlink/?LinkId=243077>. Error: 0x800f081f
|
|||
|
|
|||
|
At [\\\\bkkfiler01\\sharepoint\$\\Konfig-spq.ps1:124](file://bkkfiler01/sharepoint$/Konfig-spq.ps1:124) char:1
|
|||
|
|
|||
|
\+ Add-WindowsFeature Net-Framework-Features -Source d:\\sxs_en
|
|||
|
|
|||
|
\+ \~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~
|
|||
|
|
|||
|
\+ CategoryInfo : InvalidOperation: (@{Vhd=; Credent\...Name=localhost}:PSObject) \[Install-WindowsFeature\],
|
|||
|
|
|||
|
Exception
|
|||
|
|
|||
|
\+ FullyQualifiedErrorId : DISMAPI_Error\_\_Failed_To_Enable_Updates,Microsoft.Windows.ServerManager.Commands.AddWind
|
|||
|
|
|||
|
owsFeatureCommand
|
|||
|
|
|||
|
Success : False
|
|||
|
|
|||
|
RestartNeeded : No
|
|||
|
|
|||
|
FeatureResult : {}
|
|||
|
|
|||
|
ExitCode : Failed
|
|||
|
|
|||
|
|
|||
|
|
|||
|
Dotnet3.5 ist installiert. Prerequisites werden installiert.
|
|||
|
|
|||
|
Prerequisites sind installiert.
|
|||
|
|
|||
|
cfg-spqAdmin
|
|||
|
|
|||
|
wurde der lokalen Admin Gruppe hinzugefügt
|
|||
|
|
|||
|
|
|||
|
|
|||
|
Danke uns.
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
PS C:\\WINDOWS\\system32\> Start-Process -Filepath "[\\\\bkkfiler01\\sharepoint\$\\SP\\2016\\SharePoint\\PrerequisiteInstaller.exe](file://bkkfiler01/sharepoint$/SP/2016/SharePoint/PrerequisiteInstaller.exe)"
|
|||
|
|
|||
|
-ArgumentList \"/unattended\" -Wait
|
|||
|
|
|||
|
PS C:\\WINDOWS\\system32\>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
Problem bei der Installation von DotNet3.5, FileLocation nachgezogen, lokal auf D: kopiert!
|
|||
|
|
|||
|
Danach lief die konfigqs.ps1 durch. Prerequirements installiert.
|
|||
|
|
|||
|
|
|||
|
|
|||
|
Prerequirements installieren wir vorher im konfig.ps1, da wir in der Installation mit autoInst.xml damit Probleme hatten.
|
|||
|
|
|||
|
Anpassen der Indexparttion Laufwerk I:
|
|||
|
|
|||
|
|
|||
|
|
|||
|
Format mit 64Kilobyte
|
|||
|
|
|||
|
Disallow Index of this Drive :
|
|||
|
|
|||
|
Unter Properties den Haken unten entfernen :
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
{width="3.625in" height="5.0in"}
|
|||
|
|
|||
|
|
|||
|
|
|||
|
Erfasster Bildschirmausschnitt: 27.02.2019 15:18
|
|||
|
|
|||
|
|
|||
|
|
|||
|
Apply Changes to all
|
|||
|
|
|||
|
{width="0.875in" height="0.4166666666666667in"}
|
|||
|
|
|||
|
{width="2.75in" height="0.4583333333333333in"}
|
|||
|
|
|||
|
|
|||
|
|
|||
|
{width="3.1875in" height="0.8333333333333334in"}
|
|||
|
|
|||
|
|
|||
|
|
|||
|
PSConfig.exe -cmd upgrade -inplace b2b -wait -cmd applicationcontent -install -cmd installfeatures -cmd secureresources -cmd services -install
|
|||
|
|
|||
|
Aus \<<https://blogs.technet.microsoft.com/stefan_gossner/2015/08/20/why-i-prefer-psconfigui-exe-over-psconfig-exe/>\>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
> Fehlerbehebung:
|
|||
|
>
|
|||
|
>
|
|||
|
|
|||
|
1. Services
|
|||
|
|
|||
|
> <https://social.technet.microsoft.com/Forums/azure/en-US/44934427-3929-417b-87f3-7dd512b65fef/what-is-download-maps-manager-mapbroker-function?forum=ws2016>
|
|||
|
>
|
|||
|
>
|
|||
|
>
|
|||
|
> Service \"Downloaded Maps Manager\" wurde auf \"Disabled\" gestellt.
|