Rishabh Kemni New member Joined Aug 11, 2024 Posts 1 Aug 11, 2024 #1 Issue with Custom EXE on Windows Server 2016 VM I am using a Windows Server 2016 VM and have mounted an external OS disk for a Windows Server 2019 (UEFI + Secure Boot enabled). I attempted to run a custom executable (EXE) that performs the following tasks: Brings the externally attached disk online. Lists the folders on the disk. Checks the disk’s health. Reads the BCD configuration. Updates the BCD configuration. Takes the disk offline. However, when I executed this custom EXE in an elevated command prompt, the EXE crashed unexpectedly, and error code 31337 was thrown. Additional Information: I do not have access to any VM, so I cannot check the Event Viewer logs. The custom EXE was executed remotely using WinRM with an Administrator user. The error code is received by the caller after the BCD configuration is read for the external disk. Any insights or suggestions on how to resolve this issue would be greatly appreciated.
Issue with Custom EXE on Windows Server 2016 VM I am using a Windows Server 2016 VM and have mounted an external OS disk for a Windows Server 2019 (UEFI + Secure Boot enabled). I attempted to run a custom executable (EXE) that performs the following tasks: Brings the externally attached disk online. Lists the folders on the disk. Checks the disk’s health. Reads the BCD configuration. Updates the BCD configuration. Takes the disk offline. However, when I executed this custom EXE in an elevated command prompt, the EXE crashed unexpectedly, and error code 31337 was thrown. Additional Information: I do not have access to any VM, so I cannot check the Event Viewer logs. The custom EXE was executed remotely using WinRM with an Administrator user. The error code is received by the caller after the BCD configuration is read for the external disk. Any insights or suggestions on how to resolve this issue would be greatly appreciated.