Guest Dilip Posted June 19, 2008 Posted June 19, 2008 We have a .NET/C# application that is required to start automatically as soon as an user logs on to their PC. It is well known that Vista blocks applications that requires admin privileges (ours does and it specifies that via the manifest) to automatically start on logon. Our problem is looking far more serious. We launch our admin- demanding app via a batch file and put _that_ batch file on startup. This works in that the app now starts fine at startup but it really really really really slows down the application to a crawl. However if I back out of the admin privilege and publish the app with a manifest with just asInvoker, everything is just fine and dandy. The app launches fine on startup and functions equally well. Why in the God's name would running an admin privilege seeking application at startup cause so much slowdown? Is there some Vista document I am missing? Quote
Guest mbvwedl Posted June 20, 2008 Posted June 20, 2008 I have the same question. -- mbvwedl Posted via http://www.vistaheads.com Quote
Guest Nonny Posted June 20, 2008 Posted June 20, 2008 On Fri, 20 Jun 2008 05:46:05 +0100, mbvwedl <mbvwedl.3baewx@no-mx.forums.vistaheads.com> wrote: <span style="color:blue"> > >I have the same question.</span> And what would that question be? Quote
Guest Bender Posted June 20, 2008 Posted June 20, 2008 You should probably post this in a developer forum. Have you considered making a service instead of an app, at least for the parts that require admin privileges? "Dilip" <rdilipk@lycos.com> wrote in message news:132f6027-121b-41c8-9544-bf3ca36b01e9@8g2000hse.googlegroups.com...<span style="color:blue"> > We have a .NET/C# application that is required to start automatically > as soon as an user logs on to their PC. It is well known that Vista > blocks applications that requires admin privileges (ours does and it > specifies that via the manifest) to automatically start on logon. > > Our problem is looking far more serious. We launch our admin- > demanding app via a batch file and put _that_ batch file on startup. > This works in that the app now starts fine at startup but it really > really really really slows down the application to a crawl. However > if I back out of the admin privilege and publish the app with a > manifest with just asInvoker, everything is just fine and dandy. The > app launches fine on startup and functions equally well. > > Why in the God's name would running an admin privilege seeking > application at startup cause so much slowdown? > > Is there some Vista document I am missing? </span> Quote
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.