Hello,
If it is a background task, you can schedule the task with task scheduler to
run inside an administrator or system account with highest privilege. Note
that the application will not be visible on the screen.
It is not currently possible to have an interactive application run
automatically with elevated privileges without prompting the user.
--
- JB
Microsoft MVP - Windows Shell/User
Windows Vista Support Faq
http://www.jimmah.com/vista/
"lukesh" <lukesh@discussions.microsoft.com> wrote in message
news:4F4FFAAB-C2CC-4289-852C-F339EFF30597@microsoft.com...
>I think i was not able to communicate my problem properly. I want my
> application to start itself automatically in elevated mode as soon as i
> login. Something like a login script or guirunonce ;-)
>
> "AJR" wrote:
>
>> Right click the application and select "Run as Administrator"
>>
>> "lukesh" <lukesh@discussions.microsoft.com> wrote in message
>> news:ECDDE3FE-7707-440F-A39C-0D4A4E94A72B@microsoft.com...
>> > Hi,
>> > I have Windows vista ultimate edition. I have a customized application
>> > which
>> > i want to be able to run automatically in elevated mode as soon as i
>> > login
>> > to
>> > Vista. How can i do that?
>> >
>> > Lukesh
>>
>>
>>