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\Serve rManager.e xe'.
Kindly Help me to resolve this
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\Serve
Kindly Help me to resolve this
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-Feature s'. The name was not found.
At line:1 char:1
+ Install-WindowsFeature .NET-Framework-45-Features
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~ ~~~
+ CategoryInfo : InvalidArgument: (.NET-Framework-45-Feature s:String) [Install-WindowsFeature], Excepti
on
+ FullyQualifiedErrorId : NameDoesNotExist,Microsoft .Windows.S erverManag er.Command s.AddWindo wsFeatureC ommand
Success Restart Needed Exit Code Feature Result
------- -------------- --------- --------------
False No InvalidArgs {}
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-Feature
At line:1 char:1
+ Install-WindowsFeature .NET-Framework-45-Features
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (.NET-Framework-45-Feature
on
+ FullyQualifiedErrorId : NameDoesNotExist,Microsoft
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.
Use Get-Windowsfeature
you'll have a list of features you can install, .net will be one of them.
ASKER
I tried but same issue yet,
ASKER
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
[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
Run servermanager.exe from command prompt and see if it opens
ASKER
Its Showing
'servermanager.exe' is not recognized as an internal or external command,
operable program or batch file.
'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
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
ASKER
windows cannot find 'C:\Windows\system32\Serve rManager.e xe'.
same error
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.
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?
Did it ever work? Is it core?
ASKER
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_mic rosoft-win dows-serve rmanager-s hell_31bf3 856ad364e3 5_10.0.133 93.2156_no ne_1e17b8f aa40737
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).
1. Open Explorer
2. Browse to c:\Windows\WinSxS\msil_mic
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
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
Open powershell and run
Install-WindowsFeature .NET-Framework-45-Features