NIM Posted August 6, 2006 Share Posted August 6, 2006 This guide will show how to launch an application with Administrative rights under a limited user account. This is very useful for people who want to use Limited User accounts but have some apps/games that do not work native in this environment.All you need is AutoIT (free) and the following code.Create a txt file and put this (make changes as necessary) inside:CODE; Set the RunAs parameters to use local adminstrator account; Run program as admin; Reset user's permissionsRunAsSet("username", "computername", "password")RunWait("C:\Program Files\Path\To.exe")RunAsSet()rename this file runas.au3Now were just going to compile this as an exe so others cannot get the administrator password.Run Aut2ExeFor Source choose the au3 file you just created.For Destiniation choose a name for the exe to be created.(Optional) Choose an Icon for the exe.Uncheck decompilationFinish by hitting Convert to create the exe!Easy Right!? The Secondary Logon service must be running!You can always manually run/(un)install programs while a Limited User by right clicking on a file and selecting runas.The administrator account needs to have a password for this to work.You can extract the icon from any file using XN Resource Editor (free/standalone).[TWEAK] Hide the Administrator Account on the XP Logon Screen.You can logon as Administrator by switching to the classic logon by hitting Ctrl+Alt+Del twice at the xp logon screen.CODEWindows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList]"Administrator"=dword:00000000 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.