C++ and WinAPI
Discuss Windows API related issues using C++ (and Visual C++). This is a non-MFC forum.
OpenProcess - Access restrictions
Hello! How can I use open process or Tool help snapshoot, to get every proccess information, because now on some I get access denied because of security restrictions (So say microsoft in their examples) So the question is how to bypass the restrictions or elevate my process privileges so I can view every process modules and info about them.
You need the login information of more priveleged account. Then you can 'run your program using that login' - I think there are programmatic ways to do that. If you do not have the login information, then I can't imagine how you can do that, save some hacking.
have you enabled debug previlages (SeDebugPrivilege ) for your process for this u can use AdjustTokenPrivileges
No I havent, I'll try it now.