Link to home
Start Free TrialLog in
Avatar of Vikrant Ambhore
Vikrant Ambhore

asked on

windows cannot find 'C:\Windows\system32\ServerManager.exe'. Windows Server 2016

Hello Friends,

I have Installed windows Server 2016 and while troubleshooting related to .net framework, I removed .net 4.5 from server and now unable to start server mananger and getting this error.

windows cannot find 'C:\Windows\system32\ServerManager.exe'.

Kindly Help me to resolve this
Avatar of Alex
Alex
Flag of United Kingdom of Great Britain and Northern Ireland image

It is not recommended to uninstall .NET Framework.

Open powershell and run

Install-WindowsFeature .NET-Framework-45-Features
Avatar of Vikrant Ambhore
Vikrant Ambhore

ASKER

GEtting error

PS C:\Users\Vikrant> Install-WindowsFeature .NET-Framework-45-Features
Install-WindowsFeature : ArgumentNotValid: The role, role service, or feature name is not valid:
'.NET-Framework-45-Features'. The name was not found.
At line:1 char:1
+ Install-WindowsFeature .NET-Framework-45-Features
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (.NET-Framework-45-Features:String) [Install-WindowsFeature], Excepti
   on
    + FullyQualifiedErrorId : NameDoesNotExist,Microsoft.Windows.ServerManager.Commands.AddWindowsFeatureCommand

Success Restart Needed Exit Code      Feature Result                              
------- -------------- ---------      --------------                              
False   No             InvalidArgs    {}
OK

Use Get-Windowsfeature

you'll have a list of features you can install, .net will be one of them.
I tried but same issue yet,
its showing

[X] .NET Framework 4.6 Features                         NET-Framework-45-Fea...        Installed
    [X] .NET Framework 4.6                              NET-Framework-45-Core          Installed
[X] .NET Framework 4.6 Features                         NET-Framework-45-Fea...        Installed
    [X] .NET Framework 4.6                              NET-Framework-45-Core          Installed

but still unable to findit
Right ok

Run servermanager.exe from command prompt and see if it opens
Its Showing

'servermanager.exe' is not recognized as an internal or external command,
operable program or batch file.
Wow,

Well, the only thing I can think of is going into control panel

Then add remove features

Then turn windows features on or off and see if you can add it in there. If not, i'm not entirely sure what to do
windows cannot find 'C:\Windows\system32\ServerManager.exe'.

same error
The last thing would be some sort of DISM command

https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/enable-or-disable-windows-features-using-dism

Check that and install it from there.
The error clearly shows the EXE is not there, not that it cannot run.

Did it ever work? Is it core?
it was working fine till removed .net framework, How to get this exe
You can retrieve Server Manager in the following way:

1. Open Explorer
2. Browse to c:\Windows\WinSxS\msil_microsoft-windows-servermanager-shell_31bf3856ad364e35_10.0.13393.2156_none_1e17b8faa40737
3. Copy ServerManager.exe application
4.  Open another browser to C:\Windows\System32
5. Paste ServerManager.exe to new location.

NB: Check that there is a ServerManagerInternal folder and and ServerManagerLauncher.exe in  C:\Windows\System32 (If not found, search in C:\Windows\WinSxS).
ASKER CERTIFIED SOLUTION
Avatar of Vikrant Ambhore
Vikrant Ambhore

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: 'Vikrant Ambhore' (https:#a42706845)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

seth2740
Experts-Exchange Cleanup Volunteer