So far as I know, the Run under HKLM will only run at system startup, so
there's no risk of multiple instances there... but I'm not 100% sure if it
runs right away, or if it waits until a user actually logs on... I think it
might not run until there's a logon.

If different users on a machine had an entry in HKCU for the Run, well, it
would run under that user's context and then quit when they logout.  No
biggie, but if you had a terminal server with multiple users logged on at
once, I guess you could get multiple instances running.

Also, if it was set in the HKLM *and* in HKCU, you could get multiple
instances... I know multiple instances of the program are allowed, for use
in multi-processor system, but maybe there's some way to figure out if it's
already running in that same directory, with the same ini files?  just to
prevent problems with two instances trying to use the same temp files and
causing havoc, slowing the LL tests down, etc... dunno much about how that
would be programmed.

If running Prime95 (and not the NTPrime) as a service is what's trying to be
done, then the SRVANY program from the resource kit can do that, but
including that with the Prime package might not be legal, and would increase
the size too, but it could certainly be "scripted" in any installer program
(pretty easy to setup).

----- Original Message -----
From: "George Woltman" <[EMAIL PROTECTED]>
To: "Ethan O'Connor" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, August 31, 2001 8:57 AM
Subject: RE: Mersenne: Re: Windows XP: Start at Bootup


> Hi,
>
> At 11:03 AM 8/31/2001 -0400, Ethan O'Connor wrote:
> >The "Start at bootup" menu choice works fine for me on XP. Could this be
a
> >privileges issue? I notice that the registry key is in Run under
> >HKEY_LOCAL_MACHINE rather than HKEY_CURRENT_USER, so I think you'll to be
> >running prime95 with administrative privileges to create that key...
>
> My response:
>
> >Prime95 tries to create the HKEY_LOCAL_MACHINE entry first.  If that
fails,
> >then it tries to create the HKEY_CURRENT_USER entry.  Perhaps there is a
> bug in this new code, but I cannot test it out here.
>
> Any insights would be appreciated.
>
> Also, I noticed in browsing Microsoft's web site that XP allows different
> users to
> logon at the same time.  Does this cause any problems if both users try to
run
> prime95 from the same folder?  I don't think so, but an actual test would
> be nice.
>
> Thanks,
> George


_________________________________________________________________________
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ      -- http://www.tasam.com/~lrwiman/FAQ-mers

Reply via email to