You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
It often happens to me, when the function AccessToken.GetTokenPrivileges is called, that I receive an AccessViolation Exception
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at System.Runtime.InteropServices.Marshal.PtrToStructureHelper(IntPtr, System.Object, Boolean)
at System.Runtime.InteropServices.Marshal.PtrToStructure(IntPtr, System.Type)
at AccessToken.GetTokenPrivileges(IntPtr)
please include more information to troubleshoot and reproduce the issue.
What OS version are you running on? What is the commandline of RunasCs.exe you are using that is causing the exception? In which context are you using the tool?
Hello,
It often happens to me, when the function
AccessToken.GetTokenPrivileges
is called, that I receive an AccessViolation ExceptionIt refers to this line of code:
RunasCs/RunasCs.cs
Line 1526 in a1e47b5
Is MAYBE present a difference between size of managed and native structure?
thank you
Fabio
The text was updated successfully, but these errors were encountered: