If you have a filtered token for the interactive user – for example, one retrieved via WTSQueryUserToken() – you can retrieve the unfiltered (“elevated”) token by using the GetTokenInformation function with the TokenLinkedToken option.
More Related Contents:
- Does Windows 7 restrict folder access as Vista does?
- How can I auto-elevate my batch file, so that it requests from UAC administrator rights if required?
- How to request Administrator access inside a batch file
- Exporting functions from a DLL with dllexport
- How do I send key strokes to a window without having to activate it using Windows API?
- How to write hello world in assembler under Windows?
- GetWindowRect returns a size including “invisible” borders
- What is the difference between the `A` and `W` functions in the Win32 API?
- How can I run a child process that requires elevation and wait?
- Creating a thread in DllMain?
- Vista/7: How to get glass color?
- How can I mute/unmute my sound from PowerShell
- Building libcurl with SSL support on Windows
- What’s the differences between VirtualAlloc and HeapAlloc?
- Are TCP SOCKET handles inheritable?
- How to write hello world in assembly under Windows?
- Is it possible programmatically add folders to the Windows 10 Quick Access panel in the explorer window?
- Can DPI scaling be enabled/disabled programmatically on a per-session basis?
- How to prevent uninstaller elevating for Standard Windows 10 user?
- Windows 7 SDK installation failure
- Foreground Vs Active window
- How to create virtual webcam in Windows 10?
- How do I find position of a Win32 control/window relative to its parent window?
- How can I detect the installed Sun/Oracle JRE on Windows?
- Is there a Windows equivalent of nanosleep?
- Capturing a Window that is hidden or minimized
- Win32: My Application freezes while the user resizes the window
- Waiting for grandchild processes in windows
- Detect external display being connected or removed under Windows 7
- How to install OpenCV 2.0 on win32