Windows SDK Support Team Blog

#define _WIN32_WINNT

Browse by Tags

Tagged Content List
  • Blog Post: RunAs Verb (Process.Start) doesn't work from a LocalSystem .NET Service

    The Process.Start method in System.Diagnostics is equivalent to CreateProcess() in Win32. If you want to launch a process as a different user, in Win32 you either need to call CreateProcessAsUser, CreateProcessWithLogonW or CreateProcessWithTokenW. In .NET using Process.Start, you can use the ...
  • Blog Post: How can my application work when UAC is enabled and fail when it is disabled?

    Hello Everyone, My name is Frank Kim and I work in Developer Support. My expertise is in Windows Security (Authorization + Authentication), Remote Desktop and Windows Services. For my first blog post, I thought I would discuss an interesting issue encountered by several of my customers. User Access...
  • Blog Post: Web application gets Access Denied accessing a Named Pipe.

    Recently, I was troubleshooting a problem for one of my customers. A named pipe created by a native C application was not accessible by web client. The actual product is a convention Windows application which does IPC through named pipes. Both server and client for this were Windows applications. They...
  • Blog Post: Access denied on a Mutex

    If you are in a situation where, one process creates a MUTEX with default security descriptor and other process running in the same user’s context is not able to access it. You might be facing the problem because of newly introduced integrity mechanism in Windows. Integrity level implemented as a...
  • Blog Post: SetWindowHookEx API with WH_JOURNALRECORD. This API fails with access denied (Error 5).

    A while ago I came across a problem in which SetWindowHookEx API with WH_JOURNALRECORD was failing with Access denied on Windows Vista. If you have the same problem you can do what I tried. 1) Create and Embed an Application Manifest with Your Application. o In our case we would need manifest...
Page 1 of 1 (5 items)