Execute some process as administraor privilege under Limited

c++ / delphi package - dll injection and api hooking
Post Reply
power888
Posts: 54
Joined: Sat May 23, 2009 8:55 am

Execute some process as administraor privilege under Limited

Post by power888 »

Hi. All

I want to execute some process as administraor privilege

evenif when logged on Limited Account (WinXP or Win7).

Is there any method?
power888
Posts: 54
Joined: Sat May 23, 2009 8:55 am

Above Execution program is developed by me.

Post by power888 »

Hi, All

Above Execution program is developed by me.

So, If any method is existed, I can modify my source to run as administrator right under Limited user account..

BTW, I have tryed that run as service...
But in that case, I can't get current user's profile and I think that many changed source is required :(

So, I want that execution process as administrator right in Limited user account
^^
jonny_valentine
Posts: 109
Joined: Thu Dec 30, 2004 9:59 pm
Location: UK

Post by jonny_valentine »

Modify the Application Manifest:

<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
power888
Posts: 54
Joined: Sat May 23, 2009 8:55 am

Post by power888 »

Hi.

I had added manifest file to application to require administrator level..

It's effective to limited administrators group.

But not worked well under Limited account...
jonny_valentine
Posts: 109
Joined: Thu Dec 30, 2004 9:59 pm
Location: UK

Post by jonny_valentine »

You cannot run an application as administrator when logged in as a limited user (well you can but it can be abused).
You can either right click the shortcut to your application and 'run as' or use the runas command.
You are better doing a windows service and have an application that can talk to the service.
Post Reply