Jump to content

[How-to]Administrative rights under a limited user account.


NIM

Recommended Posts

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 permissions

RunAsSet("username", "computername", "password")

RunWait("C:\Program Files\Path\To.exe")

RunAsSet()

rename this file runas.au3

Now were just going to compile this as an exe so others cannot get the administrator password.

Run Aut2Exe

For 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 decompilation

Finish 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.

CODE

Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList]"Administrator"=dword:00000000

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...