Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista installation & setup

Vista - start an application in elevated mode after logon

Reply
 
Old 01-24-2007   #1 (permalink)
lukesh


 
 

start an application in elevated mode after logon

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

My System SpecsSystem Spec
Old 01-24-2007   #2 (permalink)
AJR


 
 

Re: start an application in elevated mode after logon

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



My System SpecsSystem Spec
Old 01-24-2007   #3 (permalink)
lukesh


 
 

Re: start an application in elevated mode after logon

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

>
>
>

My System SpecsSystem Spec
Old 01-25-2007   #4 (permalink)
Jimmy Brush


 
 

Re: start an application in elevated mode after logon

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

>>
>>
>>


My System SpecsSystem Spec
Old 02-24-2007   #5 (permalink)
Michal Kawecki


 
 

Re: start an application in elevated mode after logon

It IS possible running runas with /savecred option.
--
Michal Kawecki [Windows - Shell/User MVP]
Warsaw, PL

"Jimmy Brush" <JimmyBrush@discussions.microsoft.com> wrote in message
news:4A284804-1A36-4883-86D0-7D1E0BD436B2@microsoft.com...
> 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
>>>
>>>
>>>

>



My System SpecsSystem Spec
Old 03-11-2007   #6 (permalink)
Jimmy Brush


 
 

Re: start an application in elevated mode after logon

No it's not...

Runas does not elevate applications. Using savecred will run the application
under the profile of the saved credentials, but it will NOT be elevated.

The only exception is with the built-in administrator account.


--
- JB
Microsoft MVP - Windows Shell/User

Windows Vista Support Faq
http://www.jimmah.com/vista/

My System SpecsSystem Spec
Old 03-11-2007   #7 (permalink)
Karim


 
 

Re: start an application in elevated mode after logon


"lukesh" <lukesh@discussions.microsoft.com> schrieb im Newsbeitrag
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 ;-)
>


Use runasspc with the built-in administrator to run your application
automatically after logon.
You find the tool on on www.robotronic.de/runasspcEn.html


My System SpecsSystem Spec
Old 03-11-2007   #8 (permalink)
Michal Kawecki


 
 

Re: start an application in elevated mode after logon

"Jimmy Brush" <JimmyBrush@discussions.microsoft.com> wrote in message
news:81745440-66F4-4095-8A4D-4B9B2440AE53@microsoft.com...
> No it's not...
>
> Runas does not elevate applications. Using savecred will run the
> application under the profile of the saved credentials, but it will
> NOT be elevated.
>
> The only exception is with the built-in administrator account.



Right, but we can run that app with runas /savecred using credentials of
built-in administrator.
--
Michal Kawecki [Windows - Shell/User MVP]
Warsaw, PL

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Start application before User Logon .NET General
script in logon with elevated privileges enables PowerShell
How to always run a given exe file in elevated mode Vista security
elevated mode Vista General
Launching an application from a setup.exe program in InstallShield (elevated mode) Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46