Hassan_Ballan that stinks.  It looks like Windows 11 24H2 is when VB Script becomes a 'Feature On Demand' i.e. you have to enable support. I assume an upgrade would not disable it until sometime in 2027.  It looks like sometime in or after 2027 is when it will be disabled by default and fully removed TBD.  Currently as long as the feature is enabled VB Script should continue to work so I doubt this is your problem.
https://techcommunity.microsoft.com/blog/windows-itpro-blog/vbscript-deprecation-timelines-and-next-steps/4148301