Incredible slowdown with Vista UAC

  • Thread starter Thread starter Dilip
  • Start date Start date
D

Dilip

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?
 
On Fri, 20 Jun 2008 05:46:05 +0100, mbvwedl
wrote:

>
>I have the same question.


And what would that question be?
 
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" wrote in message
news:132f6027-121b-41c8-9544-bf3ca36b01e9@8g2000hse.googlegroups.com...
> 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?
 
Back
Top