Windows Server 2022 (21H2 Build 20324.3) - WinRM unable to start, Error Code 1359

%3CLINGO-SUB%20id%3D%22lingo-sub-2275327%22%20slang%3D%22en-US%22%3EWindows%20Server%202022%20(21H2%20Build%2020324.3)%20-%20WinRM%20unable%20to%20start%2C%20Error%20Code%201359%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2275327%22%20slang%3D%22en-US%22%3E%3CP%3EI%20just%20installed%20WS2022%20from%20the%20Azure%20Marketplace%2C%20however%2C%20I%20am%20unable%20to%20add%20roles%20with%20an%20error%20that%20the%20winrm%20service%20is%20not%20running%2C%20and%20attempts%20to%20start%20failed.%3C%2FP%3E%3CP%3EChecking%20the%20WinRM%20event%20log%20shows%20unable%20to%20start%20due%20to%20an%20initialization%20error%2C%20code%201359.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENomally%20I%20would%20assume%20I%20did%20something%20wrong%2C%20but%20this%20VM%20still%20has%20the%20fresh%20out-of-the%20box%20smell!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2275327%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EManagement%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2275649%22%20slang%3D%22en-US%22%3ERe%3A%20Windows%20Server%202022%20(21H2%20Build%2020324.3)%20-%20WinRM%20unable%20to%20start%2C%20Error%20Code%201359%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2275649%22%20slang%3D%22en-US%22%3ESame%20here.%20I%20already%20posted%20some%20Feedback%20on%20the%20Feedback%20Hub%3A%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FAAbyxx2%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Faka.ms%2FAAbyxx2%3C%2FA%3E%3CBR%20%2F%3EMore%20recent%20builds%20don't%20have%20this%20problem%20anymore%2C%20though.%20Maybe%20you%20could%20try%20upgrading%20to%20the%20latest%20build%20doing%20an%20in-place%20upgrade%20using%20the%20ISO%20file%3F%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fsoftware-download%2Fwindowsinsiderpreviewserver%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fsoftware-download%2Fwindowsinsiderpreviewserver%3C%2FA%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

I just installed WS2022 from the Azure Marketplace, however, I am unable to add roles with an error that the winrm service is not running, and attempts to start failed.

Checking the WinRM event log shows unable to start due to an initialization error, code 1359.

 

Nomally I would assume I did something wrong, but this VM still has the fresh out-of-the box smell!

2 Replies
Same here. I already posted some Feedback on the Feedback Hub: https://aka.ms/AAbyxx2
More recent builds don't have this problem anymore, though. Maybe you could try upgrading to the latest build doing an in-place upgrade using the ISO file?
https://www.microsoft.com/en-us/software-download/windowsinsiderpreviewserver
Thanks for reporting this. It is a known issue with the latest image in Azure gallery. It will be fixed in the next gallery update. Meanwhile, you're welcome to keep testing Windows Server 2022 with VMs deployed from ISOs or other mechanisms which do not involve the Azure gallery.