This doesn't work with the latest insiders build. Nothing wrong with the script, there were changes to the COM file that controls virtual desktops, so the https://github.com/FuPeiJiang/VD.ahk dependency needs to be updated. The solution's been found in a PR there FuPeiJiang/VD.ahk#62 so fix it locally till it's updated ;)