Jump to content

Incredible slowdown with Vista UAC


Recommended Posts

Guest Dilip
Posted

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?

  • Replies 3
  • Created
  • Last Reply
Guest Nonny
Posted

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?

Guest Bender
Posted

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>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...