📎 F Foxxxxxxy New Member Joined Jun 13, 2018 Messages 1 Jun 13, 2018 Thread Author #1 Hello. I'd like to run a application with other user name (on console) I used Code: runas /user:test cmd and execute in the new console: Code: "C:\Program Files\Mozilla Firefox\firefox.exe" -no-remote -P But this is a bit .. how I can say it... to much work ^^ I would like create a link on desktop, who do the same. Just click.. enter password and firefox start. I tried this Code: C:\Windows\System32\runas.exe /user:test "C:\Program Files\Mozilla Firefox\firefox.exe" -no-remote -P But that not work. The command need "-Quotation mark The problem is, firefox is on a folder with spaces. So I need " already for this. How I can enter this command in one line? Is there any trick? Solution Neemobeer Jun 13, 2018 You're command will look like this RUNAS /USER:test "\"C:\Program Files\Mozilla Firefox.exe\" -no-remote -P" You also don't need the .exe on runas nor the path since runas.exe is in an environment path Alternate method Press and hold Shift Right click the application you want to run and select "Run As a Different User" Sort by date Sort by votes Neemobeer Windows Forum Team Staff member Joined Jul 4, 2015 Messages 8,998 Jun 13, 2018 #2 You're command will look like this RUNAS /USER:test "\"C:\Program Files\Mozilla Firefox.exe\" -no-remote -P" You also don't need the .exe on runas nor the path since runas.exe is in an environment path Alternate method Press and hold Shift Right click the application you want to run and select "Run As a Different User" Upvote 0 Downvote Solution You must log in or register to reply here. Similar threads Join Microsoft Stores to Celebrate Windows 10 with Special Events, Guest Appearances,... News Jul 20, 2015 Live RSS Feeds Replies 0 Views 823 Jul 20, 2015 News P Question Question Windows 7 How to open/expand WinExp with special dir? WinExp Adjustments? pstein Mar 20, 2010 Windows Help and Support Replies 1 Views 2K Jun 16, 2010 pstein P Share: Facebook X Bluesky LinkedIn Reddit Pinterest Tumblr WhatsApp Email Share Link
F Foxxxxxxy New Member Joined Jun 13, 2018 Messages 1 Jun 13, 2018 Thread Author #1 Hello. I'd like to run a application with other user name (on console) I used Code: runas /user:test cmd and execute in the new console: Code: "C:\Program Files\Mozilla Firefox\firefox.exe" -no-remote -P But this is a bit .. how I can say it... to much work ^^ I would like create a link on desktop, who do the same. Just click.. enter password and firefox start. I tried this Code: C:\Windows\System32\runas.exe /user:test "C:\Program Files\Mozilla Firefox\firefox.exe" -no-remote -P But that not work. The command need "-Quotation mark The problem is, firefox is on a folder with spaces. So I need " already for this. How I can enter this command in one line? Is there any trick?
Hello. I'd like to run a application with other user name (on console) I used Code: runas /user:test cmd and execute in the new console: Code: "C:\Program Files\Mozilla Firefox\firefox.exe" -no-remote -P But this is a bit .. how I can say it... to much work ^^ I would like create a link on desktop, who do the same. Just click.. enter password and firefox start. I tried this Code: C:\Windows\System32\runas.exe /user:test "C:\Program Files\Mozilla Firefox\firefox.exe" -no-remote -P But that not work. The command need "-Quotation mark The problem is, firefox is on a folder with spaces. So I need " already for this. How I can enter this command in one line? Is there any trick?
Solution Neemobeer Jun 13, 2018 You're command will look like this RUNAS /USER:test "\"C:\Program Files\Mozilla Firefox.exe\" -no-remote -P" You also don't need the .exe on runas nor the path since runas.exe is in an environment path Alternate method Press and hold Shift Right click the application you want to run and select "Run As a Different User"
You're command will look like this RUNAS /USER:test "\"C:\Program Files\Mozilla Firefox.exe\" -no-remote -P" You also don't need the .exe on runas nor the path since runas.exe is in an environment path Alternate method Press and hold Shift Right click the application you want to run and select "Run As a Different User"
Neemobeer Windows Forum Team Staff member Joined Jul 4, 2015 Messages 8,998 Jun 13, 2018 #2 You're command will look like this RUNAS /USER:test "\"C:\Program Files\Mozilla Firefox.exe\" -no-remote -P" You also don't need the .exe on runas nor the path since runas.exe is in an environment path Alternate method Press and hold Shift Right click the application you want to run and select "Run As a Different User" Upvote 0 Downvote Solution
You're command will look like this RUNAS /USER:test "\"C:\Program Files\Mozilla Firefox.exe\" -no-remote -P" You also don't need the .exe on runas nor the path since runas.exe is in an environment path Alternate method Press and hold Shift Right click the application you want to run and select "Run As a Different User"