Testing report security: How to run Internet Explorer with different credentials

Today i wanted to test a report running under different credentials, since we use integrated security i wanted to run my IE as a different user. When you use SharePoint you can log in as a different user using the menu. But using the report manager this is not posible. Using the Runas command you can run a program, including IE, as a different user. You can do this by using the following command:

If the user that you want to use has permissions to execute IE in your PC, just run the following command:

runas /user:username@domain "C:Program FilesInternet ExplorerIExplore.exe"

Windows will ask you to enter the password and then will open the IE window. Don’t forget to setup the Security Settings to “Automatic logon…”

If the user you want to use doesn’t have permissions to execute IE in your PC, use the /netonly parameter to only use the credentials for remote access (IE still runs with your default credentials):

runas /netonly /user:username@domain "C:Program FilesInternet ExplorerIExplore.exe"

Found at this blog:

http://tiagoe.blogspot.com/2007/12/how-to-run-internet-explorer-with.html

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.