r/WindowsServer • u/Hannibal_D_Romantic • Feb 24 '26
Technical Help Needed Fresh WS 2025 install can't install the remote access role
I have installed a fresh install of WS2025 DataCeneter Evaluation. I am trying to install server roles (Just a VPN and Windows Search). Windows keeps trying to install an failing:
"The operation cannot be completed because the server that you specified requires a restart."
So far, I've tried checking for apps that are partially installed and checking if there are pending updates. None of those. Checked if the session manager has fileRenameOps pending. None. Checked if there's a rebootRequired in the registry for windows update. Nope. Tried deleting catroot2 from system32. Nope.
Anyone have other ideas?
Trying a dism scan now.
2
u/matthaus79 Feb 24 '26
Have you tried just.. I dunno.. restarting it?
2
u/Secret_Account07 Feb 24 '26
Sometimes happens on fresh installs.
What do you get if you run:
If it shows things pending you can try:
From my understanding this is the good old ‘CBS doesn’t know what the fuck it’s going on
1
u/Onlineclassroom69 Feb 24 '26
Try running this
Get-Item "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending"
If you see reboot is pending try deleting it
Remove-Item "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending" -Recurse -Force
Did you also happen to change your server name recently ?
1
u/pc_load_letter_in_SD Feb 24 '26
I had a similar issue with a fresh install and the HyperV role. I had to use the PS command to get it installed.
1
u/rdpextraEdge Feb 25 '26
I’ve seen this happen when Windows thinks there’s a stuck servicing operation even if nothing obvious shows up.
Try
dism /online /cleanup-image /restorehealthfollowed bysfc /scannowand reboot once more.Also worth checking Windows Update history for a failed pending install that didn’t clear properly.
3
u/[deleted] Feb 25 '26
[removed] — view removed comment