"Run as Different user" in SSMS sql2008  failed but able to logon via mstsc

Posted on 2011-04-20
Last Modified: 2012-05-11
I have problem when using "Run as Different user" to authenticate me with different user name on diff domain. But when I access the server using mstsc and provide same credential with the one I use when using "run as different user" it works fine.

But then when I run and conect using "sql authentication " it works only this happens when using windows/domain authentication

The error I got from "Run as Different user"  in sql server mgmt studio is login failed or bad password
Question by:motioneye
    LVL 23

    Accepted Solution

    - do u specify "/netonly" in you runas? when using "/netonly" switch, you can log in using remote credentials on a domain that you're not a member:

    runas /netonly /user:domain\username programname.exe

    Author Comment

    I did not, let me try with ur suggestion.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Suggested Solutions

    Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
    For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
    Viewers will learn how the fundamental information of how to create a table.

    730 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now