Windows Admin vs Standard Users - App startup times

Andrew Henshaw henshaw at me.com
Tue Feb 7 12:58:14 EST 2012


I did think it might be a cache,  but not in this case.

If I restart the computer,  log in as the standard user then right click and start the app in administrator mode it starts immediately.   If I then close the app and re-launch it using the normal double click it takes forever to load,  so it doesnt look like a cache,  its genuinely a LOT faster when an app is started with admin rights,  or slower when run as a standard user.

It should be a really simple test as the most basic of livecode apps do it for me on all my three Windows computers.  

In admin mode,  on a mac or linux everything is fast,  but on a standard user account on Windows 7 there is a definite, and substantial start delay! 

I was hoping it might be something simple,  but maybe not.

Andy

On 7 Feb 2012, at 17:25, Bob Sneidar wrote:

> That may be a bit of a misnomer. Windows (and OS X) is designed to keep recent code from an app in virtual memory. You will discover this phenomenon to be true with all programs. The first time you run it, the startup time may be longer than you expect, but quit it and start it up again, and the startup time is dramatically decreased. 
> 
> Bob
> 
> 
> On Feb 7, 2012, at 5:15 AM, Andrew Henshaw wrote:
> 
>> Thanks
>> 
>> Its also easy to test,  if you compile the simplest of apps and compile it,  then switch to a standard user account and run the app it is slow to start.  If you close the app,  the right click on it and select 'run as administrator' to start it again it starts instantly.
>> 
>> I cant really tell all my users to run the app as an administrator so hopefully there is something during the startup that could be disabled with a line of code to get an instant startup in a standard user account instead of a 11 second one!
>> 
>> Andy





More information about the use-livecode mailing list