No, it will not error out. No SID values are written nowhere, unless "C:\~:~" is doing something I am not aware of. But I presume the script should not be broken, to prevent the user from being logged off.