Windowsserverdocs: Installing Windows Admin Center.............

Created on 18 Apr 2018  Â·  5Comments  Â·  Source: MicrosoftDocs/windowsserverdocs

What is the average installation time?

You have a few minutes, which is on the installation screen.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

WAC answered assigned-to-author question

All 5 comments

I checked here, the error was the name of the cluster, after the fix worked perfectly.

@gabrielluizbh Thanks for confirming that your issue was resolved!
Did the script just hand with the incorrect cluster name, or did it throw an error? If we can improve the error handling, we will.

After several attempts to try to run the script, we find that we must first execute script unlock on all nodes in the cluster.

I ran the following commands on all nodes in the cluster.

Get-ExecutionPolicy -List
Get-ExecutionPolicy -ScopeMachine
Set-ExecutionPolicy Unrestricted -Scope LocalMachine

More information:

https://technet.microsoft.com/en-us/library/hh847748.aspx

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/get-executionpolicy?view=powershell-6

https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/set-executionpolicy?view=powershell-6

Today repeat the same procedure of executing scipt but unfortunately, again the script does not perform correct form. Please Jeff Woolslayer take away my doubt about what can be running because one hour the script performs correctly another time does not run.

for those where the Installation just gets stuck, it's because of the following line:
$process = [System.Diagnostics.Process]::Start($processSInput)
change it to:
$process = Start-Process msiexec.exe -ArgumentList ('/I ' + $processSInput.FileName + ' ' + $processSInput.Arguments).ToString() -Wait -NoNewWindow -Passthru

Somehow the script is not able sometimes to find the MS Installer.
Also make sure you enable Script execution as mentioned above (if it still doesnt work):
Set-ExecutionPolicy Unrestricted -Scope LocalMachine
Set-ExecutionPolicy Unrestricted -Scope Process

Was this page helpful?
0 / 5 - 0 ratings

Related issues

parabolic123 picture parabolic123  Â·  4Comments

jdrch picture jdrch  Â·  3Comments

janis-veinbergs picture janis-veinbergs  Â·  5Comments

bryhall picture bryhall  Â·  3Comments

ElimAdmin picture ElimAdmin  Â·  3Comments