Powershell Error fo...
 
Notifications
Clear all

Powershell Error for install IIS

2 Posts
2 Users
0 Reactions
1,973 Views
Posts: 10
Topic starter
(@kuasha48)
Active Member
Joined: 7 years ago

Hi,

I got the error once tried to use powershell. My OS: Windows Server 2008 R2 (64bit).

PS C:UsersAdministrator> Add-WindowsFeature NET-Framework-core, Web-Server, Web-Static-Content, Web-Default-Doc, Web-H
ttp-Errors, Web-Http-Redirect, Web-Asp-Net, Web-Asp-Net45, Web-Net-Ext, Web-Net-Ext45, Web-ISAPI-Ext, Web-ISAPI-Filter,
Web-Http-Logging, Web-Log-Libraries, Web-Http-Tracing, Web-Windows-Auth, Web-Client-Auth, Web-Filtering, Web-Stat-Compre
ssion, Web-Mgmt-Console, Web-Scripting-Tools
Add-WindowsFeature : Roles or features are currently being added or removed on this computer. Only one user can add or
remove roles or features at a time to prevent conflicting configurations.
At line:1 char:19
+ Add-WindowsFeature <<<< NET-Framework-core, Web-Server, Web-Static-Content, Web-Default-Doc, Web-Http-Errors, Web-Ht
tp-Redirect, Web-Asp-Net, Web-Asp-Net45, Web-Net-Ext, Web-Net-Ext45, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Http-Logging,
Web-Log-Libraries, Web-Http-Tracing, Web-Windows-Auth, Web-Client-Auth, Web-Filtering, Web-Stat-Compression, Web-Mgmt-
Console, Web-Scripting-Tools
+ CategoryInfo : OperationStopped: (:) [Add-WindowsFeature], Exception
+ FullyQualifiedErrorId : WizardLocked,Microsoft.Windows.ServerManager.Commands.AddWindowsFeatureCommand
PS C:UsersAdministrator>

 

Another thing: I following your Video. Do I need to install SQL Server? Before running installation?

1 Reply
Posts: 1509
Admin
(@trobinson)
Noble Member
Joined: 9 years ago

Hello,

 

The powershell command is for 2012r2. I would advise manually installing IIS with Asp.Net 4.5 on 2008r2.

 

You do need to install SQL Server before the install of SolidCP as it will use this as the backend database.

 

Kind Regards,

 

Trevor Robinson

Reply
Share: