WriteRegExpandStr "HKCU" "AppEvents\Schemes\Apps\.Default\SystemStart\.current" "" ""
WriteRegExpandStr
i'm using WriteRegExpandStr, but it writes a REG_SZ into the registry (not REG_EXPAND_SZ)