question

MarwaJELJLI-5531 avatar image
0 Votes"
MarwaJELJLI-5531 asked DSPatrick commented

Error with server manager on windows server 2012

Hello all,

I have a server running on windows server 2012 standard and containing a production app for backup. when i need to upgrade the app version, it requires to get some updates as .net framework 3.5 or above.

The guy in the support team of the app, have tryed to install several features like .net3.5 and 4.6 and II6. i dont know why he need all of them but he did.

As a result , the problem begin. Windows update failed to install and even search updates. The refresh of the server manager or the add and remove of a role or feature failed with an error message :


Feature installation Failed: The request to add or remove features on the specified server failed. The operation cannot be completed, because the server that you specified requires a restart"

103406-message-error.png



Thanks for help
Marwa

windows-server-2012windows-server-manager
message-error.png (68.0 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@MarwaJELJLI-5531
Hi,

Just checking in to see if the information provided was helpful.

If the reply helped you, please remember to accept as answer.
If no, please reply and tell us the current situation in order to provide further help.

0 Votes 0 ·
DSPatrick avatar image
0 Votes"
DSPatrick answered

it will be better to reinstall the hole server than trying to get it repaired ?


You can also try the repair install, but yes, time may be better spent standing up a new one, patch fully, migrate roles over, and move on.


--please don't forget to upvote and Accept as answer if the reply is helpful--





5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
0 Votes"
DSPatrick answered

You can try repairing the corruption
- sfc /scannow
- dism /online /cleanup-image /restorehealth
- and manual steps here https://docs.microsoft.com/en-us/windows/deployment/update/windows-update-resources#reset-windows-update-components-manually

--please don't forget to upvote and Accept as answer if the reply is helpful--


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MarwaJELJLI-5531 avatar image
0 Votes"
MarwaJELJLI-5531 answered

Hello DSPatrick,

Thank you for your response.

I tried both SFC and DISM commands and the problem persists.

For manual steps, i think it's for windows server 2016 and 2019 not for 2012 my case.

Can i try these steps for win server 2012?

Thank you
Marwa

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DSPatrick avatar image
0 Votes"
DSPatrick answered

Yes, same steps. You can also try a repair install by running setup.exe from the root of the installation media, but time may be better spent standing up a new one, patch fully, migrate roles over, and move on.

--please don't forget to upvote and Accept as answer if the reply is helpful--


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JennyFeng-MSFT avatar image
0 Votes"
JennyFeng-MSFT answered

@MarwaJELJLI-5531
Hi,
According to your description, it seems that the feature installation caused some problems.
I suggest you to check the server event log (Event Viewer -> Windows Logs -> System) to see if it shows an error with the Event ID 7041.
If the event description says:
This service account does not have the required user right "Log on as a service".

To solve the problem, you must grant the logon as a service permissions to “NT SERVICE\ALL SERVICES”
You could refer to the method below to see if it helps:
http://woshub.com/unable-add-remove-role-windows-server-requires-restart/
Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.

Hope above information can help you.

============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MarwaJELJLI-5531 avatar image
0 Votes"
MarwaJELJLI-5531 answered JennyFeng-MSFT commented

Dear @JennyFeng-MSFT ,

i checked the event viewer and i find only an error with an Event ID 7040 and another one "windows update Client" with an Event ID 20.

@DSPatrick , i understand then, it will be better to reinstall the hole server than trying to get it repaired ?

Thank you all for your responses.
I will be back to update this question if i get a solution whatever it will be .

Marwa

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,
Have you checked the CBS log maybe you can get some information in it.
https://docs.microsoft.com/en-us/troubleshoot/windows-server/deployment/cbs-log-file-record-entries-not-repaired-run-sfc
similar issue with yours
https://community.spiceworks.com/topic/1974434-server-2016-unable-to-add-roles-or-features-after-making-server-a-domain-control
Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.

0 Votes 0 ·
DSPatrick avatar image
0 Votes"
DSPatrick answered

Just checking if there's any progress or updates?

--please don't forget to upvote and Accept as answer if the reply is helpful--






5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MarwaJELJLI-5531 avatar image
0 Votes"
MarwaJELJLI-5531 answered DSPatrick commented

Hello ALL,
I'm back to you with updates.
I decided to stand up a new server where i migrate all roles and applications.

Thank you all for your replies and your help.

Marwa

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Sounds like the better solution.

0 Votes 0 ·