View Single Post
  #1 (permalink)  
Old February 4th 10, 11:21 AM posted to microsoft.public.windows.vista.security
Santosh Panchapakesan
external usenet poster
 
Posts: 2
Default LockWorkStation and WTSLogoffSession return error code 5 in a Vist

Hi,

I have written a service with "requestedExecutionLevel
level="highestAvailable" " in the manifest file. In the service I call into
LockWorkStation or WTSLogoffSession, which do not seem to be working on
Vista. GetLastError to both the functions returns error code 5.

Is there anything that I need to do.

Please help.

Thanks,
Santosh