jeudi 29 mai 2014

Visual studio 2008 - application de débogage comme un autre utilisateur dans VS2008 - Stack Overflow


I have an application that works fine when run with administrator privileges. When run by a user it has problems reading from the Event Log. I would like to run the code in the debugger but not with my administrator settings. Is this possible in Visual Studio 2008 ?




In Visual Studio 2010 you can use VSCommands to debug with different permissions: Maybe it's time to upgrade ;)


alt text




Right click on the Visual Studio icon and select Run as...:


alt text


There's also the runas.exe command you could use to start Visual Studio under a different account.



I have an application that works fine when run with administrator privileges. When run by a user it has problems reading from the Event Log. I would like to run the code in the debugger but not with my administrator settings. Is this possible in Visual Studio 2008 ?



In Visual Studio 2010 you can use VSCommands to debug with different permissions: Maybe it's time to upgrade ;)


alt text



Right click on the Visual Studio icon and select Run as...:


alt text


There's also the runas.exe command you could use to start Visual Studio under a different account.


0 commentaires:

Enregistrer un commentaire