Fix oobesettings error inside Windows 11+

Fix oobesettings error inside Windows 11