The same software running in Administrator mode on Windows XP on the same machine, some times it can shutdown successfully, some times it failed with error 0x80041062. It seems that if user connected to other computer with different credentials, the operation may fail.