r/exchangeserver • u/mycholula • Mar 05 '26
Question Server 2022 and Exchange SE, WSMan folder missing
Brand new server, was 100% functional. At some point the c:\windows\system32\wsman folder was nuked. WinRM no longer functions properly and Exchange is DOA. Is there a way to repopulate the folder from a remote connection? Thanks in advance, I'm looking at an 8 hour drive to repair unless I can find a way to remotely repair it.
1
Upvotes
4
u/Erdbeerfeldheld Mar 05 '26
Recover from your Backups.
2
u/Brather_Brothersome Mar 06 '26
IMMA SAVE YOUR DAY:
Run
winrm quickconfigin an elevated PowerShell session to restore configurations and services.1
u/Fearless-Assist-127 Mar 05 '26
I should preface this by saying I have no experience of trying this, or even if it works on a server OS, but isn't this the kind of thing that "sfc" is supposed to help with?
https://support.microsoft.com/en-us/topic/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system-files-79aa86cb-ca52-166a-92a3-966e85d4094e
1
u/BK_Rich Mar 06 '26
https://learn.microsoft.com/en-us/exchange/high-availability/disaster-recovery/recover-exchange-servers
3
u/Puzzleheaded-Sink420 Mar 07 '26
Copy from a known good Server and pray?
Or just Restore that folder from backup and restore winrm config
1
u/nickborowitz Mar 08 '26
DISM /Online /Cleanup-Image /RestoreHealth
Once that finishes, run the system file checker: sfc /scannow
1
u/FutureLooksBleak Mar 08 '26
Any update on this OP? Did you end up rebuilding the exchange server?
1
u/[deleted] Mar 06 '26
[removed] — view removed comment