<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Running and application with a domain user even if you’re not in a domain.</title><link>http://sqlblog.com/blogs/davide_mauri/archive/2011/08/18/running-and-application-with-a-domain-user-even-if-you-re-not-in-a-domain.aspx</link><description>I just discovered yesterday the possibility to run an application under the credential of a domain user, even if you’re not in a domain. This is a very useful feature for me: being a consultant I work with a lot of different customers, each one with its</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>re: Running and application with a domain user even if you’re not in a domain.</title><link>http://sqlblog.com/blogs/davide_mauri/archive/2011/08/18/running-and-application-with-a-domain-user-even-if-you-re-not-in-a-domain.aspx#37965</link><pubDate>Sun, 21 Aug 2011 03:50:01 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:37965</guid><dc:creator>GS</dc:creator><description>&lt;p&gt;The only problem with that approach that it can not be used for automation etc since you can not specify password in this statement and hence can not be part of batch file or anything similar in nature.&lt;/p&gt;
</description></item><item><title>re: Running and application with a domain user even if you’re not in a domain.</title><link>http://sqlblog.com/blogs/davide_mauri/archive/2011/08/18/running-and-application-with-a-domain-user-even-if-you-re-not-in-a-domain.aspx#37987</link><pubDate>Mon, 22 Aug 2011 08:39:44 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:37987</guid><dc:creator>JH</dc:creator><description>&lt;p&gt;If you use Start/Run with:&lt;/p&gt;
&lt;p&gt;C:\WINDOWS\system32\rundll32.exe keymgr.dll, KRShowKeyMgr&lt;/p&gt;
&lt;p&gt;(changing C:\Windows as needed) you can store a user name with domain and password for a specific computer/server. When you connect to that computer windows will then use these credentials in preference to the credentials you have used to log in to the computer you are on. Beware this does save them so make sure your own computer is secure - but this does allow the automation GS desires&lt;/p&gt;
</description></item><item><title>re: Running and application with a domain user even if you’re not in a domain.</title><link>http://sqlblog.com/blogs/davide_mauri/archive/2011/08/18/running-and-application-with-a-domain-user-even-if-you-re-not-in-a-domain.aspx#37988</link><pubDate>Mon, 22 Aug 2011 08:55:03 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:37988</guid><dc:creator>Tony</dc:creator><description>&lt;p&gt;A colleage of mine Rob pointed this out. I can't believe this really useful capability has been there and I didn't come across it. Thank you very much for this. This will really make a difference to me - for running my desktop tools within the context of another domain.&lt;/p&gt;
&lt;p&gt;Tony S.&lt;/p&gt;
</description></item><item><title>re: Running and application with a domain user even if you’re not in a domain.</title><link>http://sqlblog.com/blogs/davide_mauri/archive/2011/08/18/running-and-application-with-a-domain-user-even-if-you-re-not-in-a-domain.aspx#37989</link><pubDate>Mon, 22 Aug 2011 09:01:07 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:37989</guid><dc:creator>Davide Mauri</dc:creator><description>&lt;p&gt;JH: Cool! I'll try it ASAP! Thanks for sharing!&lt;/p&gt;
</description></item><item><title>re: Running and application with a domain user even if you’re not in a domain.</title><link>http://sqlblog.com/blogs/davide_mauri/archive/2011/08/18/running-and-application-with-a-domain-user-even-if-you-re-not-in-a-domain.aspx#37991</link><pubDate>Mon, 22 Aug 2011 12:13:33 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:37991</guid><dc:creator>Davide Mauri</dc:creator><description>&lt;p&gt;Tony: You're welcome! :)&lt;/p&gt;
</description></item><item><title>re: Running and application with a domain user even if you’re not in a domain.</title><link>http://sqlblog.com/blogs/davide_mauri/archive/2011/08/18/running-and-application-with-a-domain-user-even-if-you-re-not-in-a-domain.aspx#38000</link><pubDate>Mon, 22 Aug 2011 17:04:32 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:38000</guid><dc:creator>JH</dc:creator><description>&lt;p&gt;BTW - seeing as this is a SQL blog you might want to know my tip allows you to access SQL servers using normal SQL &amp;quot;Windows authorization&amp;quot; connections across to other domains too&lt;/p&gt;
</description></item><item><title>re: Running and application with a domain user even if you’re not in a domain.</title><link>http://sqlblog.com/blogs/davide_mauri/archive/2011/08/18/running-and-application-with-a-domain-user-even-if-you-re-not-in-a-domain.aspx#38057</link><pubDate>Thu, 25 Aug 2011 04:52:43 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:38057</guid><dc:creator>Mike B</dc:creator><description>&lt;p&gt;Yes. I was very overjoyed when I found this trick.&lt;/p&gt;
</description></item></channel></rss>