{"id":7551,"date":"2016-08-29T01:46:59","date_gmt":"2016-08-29T01:46:59","guid":{"rendered":"http:\/\/www.top-password.com\/blog\/?p=7551"},"modified":"2016-08-29T01:52:22","modified_gmt":"2016-08-29T01:52:22","slug":"run-app-as-different-user-in-windows-10","status":"publish","type":"post","link":"https:\/\/www.top-password.com\/blog\/run-app-as-different-user-in-windows-10\/","title":{"rendered":"3 Ways to Run App as Different User in Windows 10"},"content":{"rendered":"<p>How can you run a script or application as another user? In this tutorial we&#8217;ll show you 3 ways to run apps as different user in Windows 10.<\/p>\n<p><strong>Method 1: Shift + Right-Click Context Menu<\/strong><\/p>\n<p>Open File Explorer and browse to the executable file you wish to run as different user. Simply hold down the <strong>Shift<\/strong> key and right-click on the executable file, select <strong>Run as different user<\/strong> from the context menu.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7552\" alt=\"shift-run-as-different-user\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2016\/08\/shift-run-as-different-user.png\" width=\"534\" height=\"472\" \/><\/p>\n<p>Next you have to enter the user name and the password of the user which we want use to open the application.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2016\/08\/enter-user-credentials.png\" alt=\"enter-user-credentials\" width=\"425\" height=\"290\" class=\"alignnone size-full wp-image-7560\" \/><\/p>\n<p><strong>Method 2: Run as Different User via Command Line<\/strong><\/p>\n<p>Runas is a very useful command in Windows. This command allows to run applications under a different user account, even as an Administrator. To use the Runas command, you need to provide a different user&#8217;s credentials and the full path of the application you want to run.<\/p>\n<p>For example, if you want to open Notepad as your Windows user Bob, the command line would be as below.<br \/>\n<strong>runas \/user:Bob &#8220;C:\\Windows\\notepad.exe&#8221;<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7554\" alt=\"runas-cmd\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2016\/08\/runas-cmd.png\" width=\"460\" height=\"128\" \/><\/p>\n<p>After running the above command, you will be asked to enter the password of Bob account. After password validation, Notepad will be opened with the specified account credentials.<\/p>\n<p><strong>Method 3: Run as Different User via Start Menu<\/strong><\/p>\n<p>If you want to run apps as different user from Start Menu in Windows 10, you need to tweak the Group Policy setting.<\/p>\n<ol>\n<li>Press the Windows + R key combination to bring up the Run box, type <strong>gpedit.msc<\/strong> and hit Enter.<\/li>\n<li>In the Local Group Policy Editor window, navigate to:<br \/>\n<strong>User Configuration\\Administrative Templates\\Start Menu and Taskbar<\/strong><\/li>\n<li>In right-side pane, double-click on the policy called <strong>Show &#8220;Run as different user&#8221; command on Start<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2016\/08\/run-as-different-user-gpo.png\" alt=\"run-as-different-user-gpo\" width=\"600\" height=\"314\" class=\"alignnone size-full wp-image-7555\" \/><\/p>\n<\/li>\n<li>Set the policy to <strong>Enabled<\/strong>, then click <strong>OK<\/strong> to save your changes.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2016\/08\/show-run-as-different-user.png\" alt=\"show-run-as-different-user\" width=\"600\" height=\"554\" class=\"alignnone size-full wp-image-7556\" \/><\/p>\n<\/li>\n<li>Reboot your computer. Right-click any application on the Start Menu, you&#8217;ll see a new option &#8220;<strong>Run as different user<\/strong>&#8221; for quick access.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2016\/08\/rus-as-user-via-start.png\" alt=\"rus-as-user-via-start\" width=\"482\" height=\"513\" class=\"alignnone size-full wp-image-7557\" \/><\/p>\n<\/li>\n<\/ol>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>How can you run a script or application as another user? In this tutorial we&#8217;ll show you 3 ways to run apps as different user in Windows 10. Method 1: Shift + Right-Click Context Menu Open File Explorer and browse to the executable file you wish to run as different user. Simply hold down the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,1894],"tags":[2909,2910],"class_list":["post-7551","post","type-post","status-publish","format-standard","hentry","category-tips-tricks","category-windows-10","tag-run-as-different-user-command-line","tag-run-as-different-user-windows-10"],"_links":{"self":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/7551","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/comments?post=7551"}],"version-history":[{"count":3,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/7551\/revisions"}],"predecessor-version":[{"id":7561,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/7551\/revisions\/7561"}],"wp:attachment":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/media?parent=7551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/categories?post=7551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/tags?post=7551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}