How to open Mozila firefox with a different user using Bat file or any script? RRS feed

  • Question

  • Hi...! There. I want to create a bat file by which I can open Firefox with a different user name.

    I have typed below code and it worked well in Command Prompt for opening on screen keyboard but its not working as bat file to open Mozila Firefox.

    runas /user:Domain\UserName osk.exe

    for firefox I used below

    runas /user:Domain\UserName "C:\Program Files\Mozila Firefox\Firefox.exe"

    Can someone help me here. Can someone give me a code by which I can open firefox with a different user name using bat file.


    Thanks in advance.

    • Edited by PritamSingh Saturday, December 17, 2011 3:44 PM I am able ot open OSK but not Mozila Firefox
    Saturday, December 17, 2011 3:37 PM