Fix crash when UAC blocks the program.

=_=英语不好连个说明和注释都写不出了