http://bugs.winehq.org/show_bug.cgi?id=2224
------- Additional Comments From R.J.Shearman@warwick.ac.uk 2004-03-06 09:33 ------- My guess is that the app checks the return value from SetThreadToken. Can you try commenting out the call to SetLastError and return TRUE in the SetThreadToken function in wine/dlls/advapi32/security.c?