<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.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>How Can I Add a Domain User to a Local Administrators Group?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2004/10/08/how-can-i-add-a-domain-user-to-a-local-administrators-group.aspx</link><description>Hey, Scripting Guy! How can I add a domain user to the local Administrators group in a computer? -- MB 
 Hey, MB. One reason we started doing this column was because we wanted to know more about what system administrators do (and script) on a regular</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: How Can I Add a Domain User to a Local Administrators Group?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2004/10/08/how-can-i-add-a-domain-user-to-a-local-administrators-group.aspx#3556576</link><pubDate>Tue, 05 Mar 2013 17:27:04 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3556576</guid><dc:creator>JOSH N</dc:creator><description>&lt;p&gt;Thank you so much, this was exactly what I needed. I needed to perform some changes in different machines and needed to be login off and adding myself manually all the time. It is OK for 3 to 5 PC’s but not for 100. This script has made my life so much easier and I had to take the time to at least say THANK YOU.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3556576" width="1" height="1"&gt;</description></item><item><title>re: How Can I Add a Domain User to a Local Administrators Group?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2004/10/08/how-can-i-add-a-domain-user-to-a-local-administrators-group.aspx#3449211</link><pubDate>Thu, 25 Aug 2011 16:54:36 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3449211</guid><dc:creator>jrv</dc:creator><description>&lt;p&gt;More administration scripts&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://gallery.technet.microsoft.com/scriptcenter"&gt;gallery.technet.microsoft.com/scriptcenter&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3449211" width="1" height="1"&gt;</description></item><item><title>re: How Can I Add a Domain User to a Local Administrators Group?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2004/10/08/how-can-i-add-a-domain-user-to-a-local-administrators-group.aspx#3449205</link><pubDate>Thu, 25 Aug 2011 16:34:15 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3449205</guid><dc:creator>SamSporty</dc:creator><description>&lt;p&gt;is there a way to use this script (or some version of it) to add a domain account to the local administrators group on a group of computers?&lt;/p&gt;
&lt;p&gt;Would I have to make an entry for each computer that I need to modify or could I have the script call a list of computer names?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3449205" width="1" height="1"&gt;</description></item><item><title>re: How Can I Add a Domain User to a Local Administrators Group?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2004/10/08/how-can-i-add-a-domain-user-to-a-local-administrators-group.aspx#3387830</link><pubDate>Thu, 17 Feb 2011 00:15:11 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3387830</guid><dc:creator>dirkdigs</dc:creator><description>&lt;p&gt;what if we want to add the &amp;#39;Domain Users&amp;#39; security group to the local admin group. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3387830" width="1" height="1"&gt;</description></item><item><title>re: How Can I Add a Domain User to a Local Administrators Group?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2004/10/08/how-can-i-add-a-domain-user-to-a-local-administrators-group.aspx#3365750</link><pubDate>Wed, 03 Nov 2010 22:01:56 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3365750</guid><dc:creator>sherif</dc:creator><description>&lt;p&gt;very good but how to use this script&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3365750" width="1" height="1"&gt;</description></item><item><title>re: How Can I Add a Domain User to a Local Administrators Group?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2004/10/08/how-can-i-add-a-domain-user-to-a-local-administrators-group.aspx#3353569</link><pubDate>Fri, 03 Sep 2010 15:45:20 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3353569</guid><dc:creator>J Skinner</dc:creator><description>&lt;p&gt;So I can just put the above code in my logon.cmd logon script and it should work?&lt;/p&gt;
&lt;p&gt;Or do I need it to be in a vbs script or something else?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3353569" width="1" height="1"&gt;</description></item><item><title>re: How Can I Add a Domain User to a Local Administrators Group?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2004/10/08/how-can-i-add-a-domain-user-to-a-local-administrators-group.aspx#3343908</link><pubDate>Tue, 13 Jul 2010 15:43:18 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3343908</guid><dc:creator>Dan C</dc:creator><description>&lt;p&gt;But what if I&amp;#39;ve just joined the domain but am not logged into the domain? &amp;nbsp;Can the WinNT provider pass login credentials?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3343908" width="1" height="1"&gt;</description></item><item><title>re: How Can I Add a Domain User to a Local Administrators Group?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2004/10/08/how-can-i-add-a-domain-user-to-a-local-administrators-group.aspx#3341457</link><pubDate>Thu, 01 Jul 2010 08:22:11 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3341457</guid><dc:creator>Frede</dc:creator><description>&lt;p&gt;Note that using the group name &amp;quot;Administrators&amp;quot; will only work on English Windows. This is a localized group name so it will have different names on systems with different languages. You have to get the well-known-sid for the administrators group first and then determine what group name that translates to before you can add users to it. It&amp;#39;s stupid to have localized group and user account names if you ask me.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3341457" width="1" height="1"&gt;</description></item></channel></rss>