<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.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>MakeMeAdmin -- temporary admin for your Limited User account</title><link>http://blogs.msdn.com/b/aaron_margosis/archive/2004/07/24/makemeadmin-temporary-admin-for-your-limited-user-account.aspx</link><description>How to quickly and temporarily give your non-admin account administrator privileges, without having to log out.</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: MakeMeAdmin -- temporary admin for your Limited User account</title><link>http://blogs.msdn.com/b/aaron_margosis/archive/2004/07/24/makemeadmin-temporary-admin-for-your-limited-user-account.aspx#10379037</link><pubDate>Tue, 18 Dec 2012 14:07:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10379037</guid><dc:creator>Poul Hansen</dc:creator><description>&lt;p&gt;It&amp;#39;s a bit messy - I can see that. &amp;nbsp;Sorry&lt;/p&gt;
&lt;p&gt;Have not cleaned up very well - but it works ;-) &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10379037" width="1" height="1"&gt;</description></item><item><title>re: MakeMeAdmin -- temporary admin for your Limited User account</title><link>http://blogs.msdn.com/b/aaron_margosis/archive/2004/07/24/makemeadmin-temporary-admin-for-your-limited-user-account.aspx#10379031</link><pubDate>Tue, 18 Dec 2012 13:55:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10379031</guid><dc:creator>Poul Hansen</dc:creator><description>&lt;p&gt;Made an auto-it (script language you can download) &amp;nbsp;exe-file, where you put in the Administrator password (SUP) the username og the given user and his password. It ends in a cmd-prompt where the user is ADMIN. And can run programs with ADMIN rights from there . F.i. explorer.exe or iexplore.exe or &amp;nbsp;your installation program. It can even be used on a terminal server. The ADMIN rights disappear when you exit the CMD-prompt. You ned to compile this &amp;nbsp;with the auto-it program.&lt;/p&gt;
&lt;p&gt;If your &amp;#39;Administrators&amp;#39; group er localized you have to change it in the file. The rest should be OK?&lt;/p&gt;
&lt;p&gt;Hope you can use it. No password are hidden in this way. ;-)&lt;/p&gt;
&lt;p&gt;Poul&lt;/p&gt;
&lt;p&gt;; &amp;lt;AUT2EXE VERSION: 3.2.0.1&amp;gt;&lt;/p&gt;
&lt;p&gt;; ----------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;; &amp;lt;AUT2EXE INCLUDE-START: C:\Program Files\AutoIt3\Examples\mmadmin.au3&amp;gt;&lt;/p&gt;
&lt;p&gt;; ----------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;$Admin=&amp;quot;Administrator&amp;quot;&lt;/p&gt;
&lt;p&gt;;change group &amp;nbsp;from &amp;#39;Administrators&amp;#39; to something in your local language f.i. &amp;#39;Administratorer&amp;#39; in Danish&lt;/p&gt;
&lt;p&gt;$Group=&amp;quot;Administrators&amp;quot;&lt;/p&gt;
&lt;p&gt;$ProgPath=@ProgramFilesDir &amp;amp; &amp;quot;\Internet Explorer\&amp;quot;&lt;/p&gt;
&lt;p&gt;$prog=&amp;quot;iexplore.exe&amp;quot;&lt;/p&gt;
&lt;p&gt;; punch in Admin password - so not hidden in this file&lt;/p&gt;
&lt;p&gt;$V_SUP = InputBox(&amp;quot;SUP?&amp;quot;, &amp;quot;SUP?&amp;quot;, &amp;quot;&amp;quot;, &amp;quot;*&amp;quot;)&lt;/p&gt;
&lt;p&gt;;username for elevation&lt;/p&gt;
&lt;p&gt;$V_user = InputBox(&amp;quot;Username?&amp;quot;, &amp;quot;Punch in you username&amp;quot;, &amp;quot;&amp;quot;, &amp;quot;*&amp;quot;)&lt;/p&gt;
&lt;p&gt;;just truncating strings for use in next runas &lt;/p&gt;
&lt;p&gt;$tmpvar=$group &amp;amp; &amp;quot; &amp;quot; &amp;amp; $V_user &amp;amp; &amp;quot; /add&amp;quot;&lt;/p&gt;
&lt;p&gt;;MsgBox(8192,&amp;quot;Progpath &amp;nbsp;&amp;quot;, $progpath)&lt;/p&gt;
&lt;p&gt;; kør som administrator: elevate user&lt;/p&gt;
&lt;p&gt;RunAs($Admin,@LogonDomain, $V_SUP,0,@comspec &amp;amp; &amp;quot; /c &amp;quot; &amp;amp; &amp;nbsp;@SystemDir &amp;amp; &amp;quot;\net.exe localgroup &amp;quot; &amp;amp; $tmpvar )&lt;/p&gt;
&lt;p&gt;;input password for elevated user&lt;/p&gt;
&lt;p&gt;$passwd = InputBox(&amp;quot;Password?&amp;quot;, &amp;quot;Punch in password.&amp;quot;, &amp;quot;&amp;quot;, &amp;quot;*&amp;quot;)&lt;/p&gt;
&lt;p&gt;;MsgBox(8192, $prog, &amp;#39;&amp;quot;&amp;#39; &amp;amp; $ProgPath &amp;amp; &amp;#39;&amp;quot;&amp;#39; ,30)&lt;/p&gt;
&lt;p&gt;;******* The user runs this as local ADMIN &amp;nbsp;**************** &lt;/p&gt;
&lt;p&gt;RunAswait ($V_user,@LogonDomain, $passwd,1,@comspec &amp;nbsp;, &amp;quot;c:\program files\internet explorer&amp;quot; )&lt;/p&gt;
&lt;p&gt;;Sletter brugeren fra localadministratorgruppen IGEN - først opsæt &amp;nbsp;så command&lt;/p&gt;
&lt;p&gt;;sleep(20000)&lt;/p&gt;
&lt;p&gt;;just truncating strings for use in next runas &lt;/p&gt;
&lt;p&gt;$tmpvar=$group &amp;amp; &amp;quot; &amp;quot; &amp;amp; $V_user &amp;amp; &amp;quot; /delete&amp;quot;&lt;/p&gt;
&lt;p&gt;RunAs($Admin, @LogonDomain, $V_SUP,0,@ComSpec &amp;amp; &amp;quot; /c &amp;quot; &amp;amp; &amp;nbsp;@SystemDir &amp;amp; &amp;quot;\net.exe localgroup &amp;quot; &amp;amp; $tmpvar)&lt;/p&gt;
&lt;p&gt;; ----------------------------------------------------------------------------&lt;/p&gt;
&lt;p&gt;; &amp;lt;AUT2EXE INCLUDE-END: C:\Program Files\AutoIt3\Examples\mmadmin.au3&amp;gt;&lt;/p&gt;
&lt;p&gt;; ----------------------------------------------------------------------------&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10379031" width="1" height="1"&gt;</description></item><item><title>re: MakeMeAdmin -- temporary admin for your Limited User account</title><link>http://blogs.msdn.com/b/aaron_margosis/archive/2004/07/24/makemeadmin-temporary-admin-for-your-limited-user-account.aspx#10367335</link><pubDate>Fri, 09 Nov 2012 20:47:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10367335</guid><dc:creator>Kevin</dc:creator><description>&lt;p&gt;Can this website make me a admin in graal online era&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10367335" width="1" height="1"&gt;</description></item><item><title>re: MakeMeAdmin -- temporary admin for your Limited User account</title><link>http://blogs.msdn.com/b/aaron_margosis/archive/2004/07/24/makemeadmin-temporary-admin-for-your-limited-user-account.aspx#10183917</link><pubDate>Thu, 07 Jul 2011 04:40:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10183917</guid><dc:creator>Annoymous</dc:creator><description>&lt;p&gt;That is a hack...&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not allowed...&lt;/p&gt;
&lt;p&gt;If anyone gets a virus it&amp;#39;s your fault Aaron Margosis!&lt;/p&gt;
&lt;p&gt;Not allowed hacks at moment..&lt;/p&gt;
&lt;p&gt;Admin eh ah eh!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10183917" width="1" height="1"&gt;</description></item><item><title>re: MakeMeAdmin -- temporary admin for your Limited User account</title><link>http://blogs.msdn.com/b/aaron_margosis/archive/2004/07/24/makemeadmin-temporary-admin-for-your-limited-user-account.aspx#10034250</link><pubDate>Sat, 03 Jul 2010 23:41:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10034250</guid><dc:creator>Dave Hugo</dc:creator><description>&lt;p&gt;This is a boon. &amp;nbsp;I needed to change power settings on a machine for a user without a local account who logs in via a domain, and this did the job. &amp;nbsp;Thank you, thank you.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10034250" width="1" height="1"&gt;</description></item><item><title>re: MakeMeAdmin -- temporary admin for your Limited User account</title><link>http://blogs.msdn.com/b/aaron_margosis/archive/2004/07/24/makemeadmin-temporary-admin-for-your-limited-user-account.aspx#10034171</link><pubDate>Sat, 03 Jul 2010 08:37:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10034171</guid><dc:creator>harry</dc:creator><description>&lt;p&gt;it still asks for an admin password&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10034171" width="1" height="1"&gt;</description></item><item><title>re: MakeMeAdmin -- temporary admin for your Limited User account</title><link>http://blogs.msdn.com/b/aaron_margosis/archive/2004/07/24/makemeadmin-temporary-admin-for-your-limited-user-account.aspx#10024160</link><pubDate>Sun, 13 Jun 2010 21:59:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10024160</guid><dc:creator>Stan</dc:creator><description>&lt;p&gt;I forgot my password to my Admin. account, so im stuck with using limited. Does anyone know the easiest way to recover it back? Please msg me on myspace, if you have useful information.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10024160" width="1" height="1"&gt;</description></item><item><title>re: MakeMeAdmin -- temporary admin for your Limited User account</title><link>http://blogs.msdn.com/b/aaron_margosis/archive/2004/07/24/makemeadmin-temporary-admin-for-your-limited-user-account.aspx#10010801</link><pubDate>Tue, 11 May 2010 08:38:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10010801</guid><dc:creator>John</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I dont have admin password and my id not belongs to admin group, i need to put my id in adminstrator group, any idea?&lt;/p&gt;
&lt;p&gt;i tried make me admin but asking admin passwrd,&lt;/p&gt;
&lt;p&gt;Any idea?&lt;/p&gt;
&lt;p&gt;Really thanks&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10010801" width="1" height="1"&gt;</description></item><item><title>re: MakeMeAdmin -- temporary admin for your Limited User account</title><link>http://blogs.msdn.com/b/aaron_margosis/archive/2004/07/24/makemeadmin-temporary-admin-for-your-limited-user-account.aspx#9998586</link><pubDate>Mon, 19 Apr 2010 17:22:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9998586</guid><dc:creator>Dobbelina</dc:creator><description>&lt;p&gt;If you do like this it allows user accounts without password &amp;amp; it makes default owner group Administrators.&lt;/p&gt;
&lt;p&gt;When install is finished, it reverts default owner back to object creator:&lt;/p&gt;
&lt;p&gt;@echo off&lt;/p&gt;
&lt;p&gt;REM ********************************************************************&lt;/p&gt;
&lt;p&gt;REM &amp;nbsp;This batch file starts a command shell under the current user account,&lt;/p&gt;
&lt;p&gt;REM &amp;nbsp;after temporarily adding that user to the local Administrators group.&lt;/p&gt;
&lt;p&gt;REM &amp;nbsp;Any program launched from that command shell will also run with&lt;/p&gt;
&lt;p&gt;REM &amp;nbsp;administrative privileges.&lt;/p&gt;
&lt;p&gt;REM&lt;/p&gt;
&lt;p&gt;REM &amp;nbsp;You will be prompted for two passwords in two separate command shells:&lt;/p&gt;
&lt;p&gt;REM &amp;nbsp;first, for the password of the local administrator account, and&lt;/p&gt;
&lt;p&gt;REM &amp;nbsp;second for the password of the account under which you are logged on.&lt;/p&gt;
&lt;p&gt;REM &amp;nbsp;(The reason for this is that you are creating a new logon session in&lt;/p&gt;
&lt;p&gt;REM &amp;nbsp;which the user will be a member of the Administrators group.)&lt;/p&gt;
&lt;p&gt;REM&lt;/p&gt;
&lt;p&gt;REM &amp;nbsp;CUSTOMIZATION:&lt;/p&gt;
&lt;p&gt;REM &amp;nbsp;The following values may be changed in order to customize this script:&lt;/p&gt;
&lt;p&gt;REM&lt;/p&gt;
&lt;p&gt;REM &amp;nbsp;* _Prog_ &amp;nbsp;: the program to run&lt;/p&gt;
&lt;p&gt;REM&lt;/p&gt;
&lt;p&gt;REM &amp;nbsp;* _Admin_ : the name of the administrative account that can make changes&lt;/p&gt;
&lt;p&gt;REM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;to local groups (usu. &amp;quot;Administrator&amp;quot; unless you renamed the&lt;/p&gt;
&lt;p&gt;REM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;local administrator account). &amp;nbsp;The first password prompt&lt;/p&gt;
&lt;p&gt;REM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;will be for this account.&lt;/p&gt;
&lt;p&gt;REM&lt;/p&gt;
&lt;p&gt;REM &amp;nbsp;* _Group_ : the local group to temporarily add the user to (e.g.,&lt;/p&gt;
&lt;p&gt;REM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;Administrators&amp;quot;).&lt;/p&gt;
&lt;p&gt;REM&lt;/p&gt;
&lt;p&gt;REM &amp;nbsp;* _User_ &amp;nbsp;: the account under which to run the new program. &amp;nbsp;The second&lt;/p&gt;
&lt;p&gt;REM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;password prompt will be for this account. &amp;nbsp;Leave it as&lt;/p&gt;
&lt;p&gt;REM &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;%USERDOMAIN%\%USERNAME% in order to elevate the current user.&lt;/p&gt;
&lt;p&gt;REM ********************************************************************&lt;/p&gt;
&lt;p&gt;setlocal&lt;/p&gt;
&lt;p&gt;set _Admin_=%COMPUTERNAME%\Administrator&lt;/p&gt;
&lt;p&gt;set _Group_=Administrators&lt;/p&gt;
&lt;p&gt;set _Prog_=&amp;quot;C:\mYAPP.EXE&amp;quot;&lt;/p&gt;
&lt;p&gt;set _User_=%USERDOMAIN%\%USERNAME%&lt;/p&gt;
&lt;p&gt;if &amp;quot;%1&amp;quot;==&amp;quot;&amp;quot; (&lt;/p&gt;
&lt;p&gt;	runas /u:%_Admin_% &amp;quot;%~s0 %_User_%&amp;quot;&lt;/p&gt;
&lt;p&gt;	if ERRORLEVEL 1 echo. &amp;amp;&amp;amp; pause&lt;/p&gt;
&lt;p&gt;) else ( &lt;/p&gt;
&lt;p&gt;echo Adding user %* to group %_Group_%... &lt;/p&gt;
&lt;p&gt;net localgroup %_Group_% &amp;quot;%*&amp;quot; /ADD &lt;/p&gt;
&lt;p&gt;if ERRORLEVEL 1 echo. &amp;amp;&amp;amp; pause &lt;/p&gt;
&lt;p&gt;echo. &lt;/p&gt;
&lt;p&gt;echo Allowing for blank passwords... &lt;/p&gt;
&lt;p&gt;reg ADD HKLM\SYSTEM\CurrentControlSet\Control\Lsa /v limitblankpassworduse /t REG_DWORD /d 0 /f &lt;/p&gt;
&lt;p&gt;if ERRORLEVEL 1 echo. &amp;amp;&amp;amp; pause &lt;/p&gt;
&lt;p&gt;echo. &lt;/p&gt;
&lt;p&gt;echo Starting program in new logon session... &lt;/p&gt;
&lt;p&gt;runas /u:&amp;quot;%*&amp;quot; %_Prog_% &lt;/p&gt;
&lt;p&gt;if ERRORLEVEL 1 echo. &amp;amp;&amp;amp; pause &lt;/p&gt;
&lt;p&gt;echo. &lt;/p&gt;
&lt;p&gt;echo Limiting blank passwords... &lt;/p&gt;
&lt;p&gt;reg ADD HKLM\SYSTEM\CurrentControlSet\Control\Lsa /v limitblankpassworduse /t REG_DWORD /d 1 /f &lt;/p&gt;
&lt;p&gt;if ERRORLEVEL 1 echo. &amp;amp;&amp;amp; pause &lt;/p&gt;
&lt;p&gt;echo. &lt;/p&gt;
&lt;p&gt;echo Removing user %* from group %_Group_%... &lt;/p&gt;
&lt;p&gt;net localgroup %_Group_% &amp;quot;%*&amp;quot; /DELETE &lt;/p&gt;
&lt;p&gt;if ERRORLEVEL 1 echo. &amp;amp;&amp;amp; pause &lt;/p&gt;
&lt;p&gt;reg ADD HKLM\SYSTEM\CurrentControlSet\Control\Lsa /v nodefaultadminowner /t REG_DWORD /d 0 /f &lt;/p&gt;
&lt;p&gt;color CA&lt;/p&gt;
&lt;p&gt;echo. &lt;/p&gt;
&lt;p&gt;echo. &lt;/p&gt;
&lt;p&gt;echo ***CLOSE THIS WINDOW AFTER INSTALL IS FINISHED!***...&lt;/p&gt;
&lt;p&gt;echo. &lt;/p&gt;
&lt;p&gt;echo. &lt;/p&gt;
&lt;p&gt;pause&lt;/p&gt;
&lt;p&gt;reg ADD HKLM\SYSTEM\CurrentControlSet\Control\Lsa /v nodefaultadminowner /t REG_DWORD /d 1 /f &lt;/p&gt;
&lt;p&gt;)&lt;/p&gt;
&lt;p&gt;endlocal&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9998586" width="1" height="1"&gt;</description></item><item><title>re: MakeMeAdmin -- temporary admin for your Limited User account</title><link>http://blogs.msdn.com/b/aaron_margosis/archive/2004/07/24/makemeadmin-temporary-admin-for-your-limited-user-account.aspx#9926211</link><pubDate>Fri, 20 Nov 2009 14:29:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9926211</guid><dc:creator>Dan</dc:creator><description>&lt;P&gt;Aaron,&lt;/P&gt;
&lt;P&gt;Thanks for the quick update. &amp;nbsp;I have moved the filed to C:\MakeMeAdmin - I believe this is a shared location. &amp;nbsp;I have also tried C:\Program Files\MakeMeAdmin. &amp;nbsp;I still get the same error. &amp;nbsp;Can you tell me what to check about 8.3 file names (not sure what that means) and what I should check for permissions??&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;DIV class=ajmReply&gt;
&lt;P&gt;&lt;EM&gt;[Aaron Margosis]&amp;nbsp; Just re-read your first... The rest of the error text for that error message is:&amp;nbsp; "Logon failure: user account restriction. Possible reasons are blank passwords not allowed, logon hour restrictions, or a policy restriction has been enforced."&amp;nbsp; Are you sure both the admin and non-admin accounts have non-blank passwords?&amp;nbsp; Do you have logon hour restrictions applied, or is the admin account you're using disabled?&amp;nbsp; If your admin account is not called "Administrator", you need to change the script to use a different account name that has admin rights.&lt;/EM&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9926211" width="1" height="1"&gt;</description></item></channel></rss>