Skip to content

Commit 2ca7967

Browse files
committed
Update Windows 11 preset to 24H2
The win11-23h2-pro SKU is no longer available in the Azure Marketplace, causing "Can't resolve the version" errors when creating Windows 11 VMs. Switch to the current win11-24h2-pro SKU. https://claude.ai/code/session_013tdpmWo1ke3ofJgbyTVHo9
1 parent 26251b9 commit 2ca7967

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

create-az-vm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const crypto = require("crypto");
55

66
// Image presets for common OS types
77
const IMAGE_PRESETS = {
8-
'windows-11': 'MicrosoftWindowsDesktop:Windows-11:win11-23h2-pro:latest',
8+
'windows-11': 'MicrosoftWindowsDesktop:Windows-11:win11-24h2-pro:latest',
99
'windows-10': 'MicrosoftWindowsDesktop:Windows-10:win10-22h2-pro:latest',
1010
'windows-server-2022': 'MicrosoftWindowsServer:WindowsServer:2022-datacenter:latest',
1111
'windows-server-2019': 'MicrosoftWindowsServer:WindowsServer:2019-datacenter:latest',

0 commit comments

Comments
 (0)