{"id":1154,"date":"2012-07-17T22:36:40","date_gmt":"2012-07-18T05:36:40","guid":{"rendered":"http:\/\/www.little.org\/blog\/?p=1154"},"modified":"2012-07-17T22:36:40","modified_gmt":"2012-07-18T05:36:40","slug":"launch-your-web-browser-as-another-user","status":"publish","type":"post","link":"https:\/\/www.little.org\/blog\/2012\/07\/17\/launch-your-web-browser-as-another-user\/","title":{"rendered":"Launch your web browser as another user"},"content":{"rendered":"<p>In SharePoint 2013 there is no longer a quickie menu choice to allow you to indulge your alter ego. I\u2019ll let others go into depth on why it went a way, but I wanted to share a quick tip for how to be another user when you need to test your SharePoint install: create a desktop shortcut to launch your browser with the runas CL argument.<\/p>\n<p><a href=\"http:\/\/www.little.org\/blog\/wp-content\/uploads\/2012\/07\/image.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"http:\/\/www.little.org\/blog\/wp-content\/uploads\/2012\/07\/image_thumb.png\" width=\"209\" height=\"244\" \/><\/a><\/p>\n<h2>New identity, no waiting<\/h2>\n<p>When you created your new SharePoint installation you probably gave yourself Epic Guru level access (it may be called Farm Admin in your version). This is good, it allows you to get tons done. It doesn\u2019t, however, allow you to verify you\u2019ve adequately secured the CEO\u2019s Beanie Baby picture collection, or pretend to be an adoring fan posting to your My Site news feed. To do that, you need to be someone else.<\/p>\n<p>For my example I\u2019m going to use Internet Explorer, because I\u2019m an unapologetic company man. You should feel free to swap in your browser of choice\u2026 like Netscape or Lynx.<\/p>\n<ol>\n<li>Create a shortcut to your favorite browser. In Windows I did this by navigating to C:\\Program Files (x86)\\Internet Explorer and dragging iexplore.exe to the desktop (by default this creates a shortcut).<\/li>\n<li>Right click your new shortcut and select \u201cProperties\u201d<\/li>\n<li>Modify the shortcut target by adding runas and the desired user account to the beginning of the path. Change the target to (replace <a href=\"mailto:user@domain\">user@domain<\/a> with your test acct):      <br \/>&#160;&#160;&#160;&#160;&#160; %systemroot%\\System32\\runas.exe \/user:user@domain &quot;%ProgramFiles(x86)%\\Internet Explorer\\iexplore.exe&quot;<\/li>\n<li>Click OK to save changes.<\/li>\n<\/ol>\n<p><a href=\"http:\/\/www.little.org\/blog\/wp-content\/uploads\/2012\/07\/image1.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"http:\/\/www.little.org\/blog\/wp-content\/uploads\/2012\/07\/image_thumb1.png\" width=\"351\" height=\"484\" \/><\/a><\/p>\n<p>(Note: if you\u2019re not running 64bit windows, the target should be: %systemroot%\\System32\\runas.exe \/user:user@domain &quot;%ProgramFiles%\\Internet Explorer\\iexplore.exe&quot;)<\/p>\n<p>Double-click your new shortcut and you\u2019ll get a prompt to enter a password. You won\u2019t see anything on the screen as you type, so just go on faith. Type your pw and hit enter.<\/p>\n<h2>A little extra for style points<\/h2>\n<p>Because I can never leave well enough alone, I had the need to soup up my shortcut (I\u2019m way to old to say \u201cpimp my shortcut\u201d\u2026 but you know I was thinking it). The icon of the runas.exe shortcut is boring. I need an icon that screams \u201cI\u2019m a browser shortcut!\u201d <\/p>\n<p>Once again, right-click the shortcut and select properties. Click the change icon button. I went for the globe with a mouse on top. <\/p>\n<p><a href=\"http:\/\/www.little.org\/blog\/wp-content\/uploads\/2012\/07\/image2.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"http:\/\/www.little.org\/blog\/wp-content\/uploads\/2012\/07\/image_thumb2.png\" width=\"36\" height=\"38\" \/><\/a> Just because I want to customize it, don\u2019t assume I have any imagination.<\/p>\n<p>Finally, give yourself a reminder that you\u2019re someone else. Double-click your shortcut to launch the browser. When your browser comes up, enable the favorites bar (in IE, right-click the title bar and choose favorites bar). Bookmark a site (any site will do) and add it to the favorites bar. Right click your new favorite and rename it to the user name of the special account.<\/p>\n<p><a href=\"http:\/\/www.little.org\/blog\/wp-content\/uploads\/2012\/07\/image3.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" style=\"border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px\" border=\"0\" alt=\"image\" src=\"http:\/\/www.little.org\/blog\/wp-content\/uploads\/2012\/07\/image_thumb3.png\" width=\"208\" height=\"115\" \/><\/a>&#160; Must remember to put on the glasses\u2026<\/p>\n<p>Instant split-personality. Let me know how it works out for you!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In SharePoint 2013 there is no longer a quickie menu choice to allow you to indulge your alter ego. I\u2019ll let others go into depth on why it went a way, but I wanted to share a quick tip for how to be another user when you need to test your SharePoint install: create a [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":1153,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[16],"tags":[116,117,124],"class_list":["post-1154","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech","tag-techsharepoint","tag-sharepoint-2013","tag-techtips"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.little.org\/blog\/wp-json\/wp\/v2\/posts\/1154","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.little.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.little.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.little.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.little.org\/blog\/wp-json\/wp\/v2\/comments?post=1154"}],"version-history":[{"count":0,"href":"https:\/\/www.little.org\/blog\/wp-json\/wp\/v2\/posts\/1154\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.little.org\/blog\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/www.little.org\/blog\/wp-json\/wp\/v2\/media?parent=1154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.little.org\/blog\/wp-json\/wp\/v2\/categories?post=1154"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.little.org\/blog\/wp-json\/wp\/v2\/tags?post=1154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}