If I manually edit my environmental variables via the system properties --> advanced tab and then subsequently call "EnvUpdate()" from a script then Autoit hangs (indefinitely as far as I can tell). Restarting my machine resolves the issue until I manually open the windows environmental variable window again. Autoit v3.3.8.1