From: Stefan Kuhr on
Hello everyone,

I am in the middle of installing VS2010 on a Vista x64 box (SP2, latest
patches applied). At some time after start of the setup, it required a
reboot and after reboot, setup continued as an elevated administrator
without me ever being presented with an elevation prompt, IIRC. It looks
almost as if the elevated install survived the reboot (which is
technically not possible, of course). How does that work? While this is
a seamless user experience, I am really curious, how this is
accomplished. I have UAC turned on on this machine, of course. Maybe I
am already conditioned in such a bad way that I click OK on each
elevation prompt without thinking too much, which would itself be a bad
ting, but I am pretty sure I was never presented an elevation prompt
after reboot.

Any idea anyone?

--
S
From: Stefan Kuhr on
Hello everyone,

On 4/22/2010 10:40 AM, Stefan Kuhr wrote:
> Hello everyone,
>
> I am in the middle of installing VS2010 on a Vista x64 box (SP2, latest
> patches applied). At some time after start of the setup, it required a
> reboot and after reboot, setup continued as an elevated administrator
> without me ever being presented with an elevation prompt, IIRC. It looks
> almost as if the elevated install survived the reboot (which is
> technically not possible, of course). How does that work? While this is
> a seamless user experience, I am really curious, how this is
> accomplished. I have UAC turned on on this machine, of course. Maybe I
> am already conditioned in such a bad way that I click OK on each
> elevation prompt without thinking too much, which would itself be a bad
> ting, but I am pretty sure I was never presented an elevation prompt
> after reboot.
>
> Any idea anyone?
>

Just did the same thing again on a Srv08R2 box. After installing the
..NET Framework 4 package, the reboot occurs, and again I was not
prompted to elevate.

--
S
From: Leo Davidson on
On Apr 22, 9:40 am, Stefan Kuhr <kustt...(a)gmx.li> wrote:
> without me ever being presented with an elevation prompt, IIRC. It looks
> almost as if the elevated install survived the reboot (which is
> technically not possible, of course). How does that work?

Scheduled Tasks can launch elevated without triggering a UAC prompt
(you need admin rights to create such a task), so maybe the first half
of the installer schedules the second half to run at the next login.

I have not checked that that is what it does, but I think it's one way
it could work.
From: Jochen Kalmbach [MVP] on
Hi Stefan!

> Just did the same thing again on a Srv08R2 box. After installing the
> ..NET Framework 4 package, the reboot occurs, and again I was not
> prompted to elevate.

On my Windows 7 x64: Also no UAC Dialog after reboot...

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
From: Jon Potter on
It must be that. The only other way would be via some sort of whitelist and
surely Microsoft wouldn't be that stupid?!

"Leo Davidson" <leonudeldavidson(a)googlemail.com> wrote in message
news:513875d2-a2df-465c-89e7-4a05116e09aa(a)r18g2000yqd.googlegroups.com...
> On Apr 22, 9:40 am, Stefan Kuhr <kustt...(a)gmx.li> wrote:
>> without me ever being presented with an elevation prompt, IIRC. It looks
>> almost as if the elevated install survived the reboot (which is
>> technically not possible, of course). How does that work?
>
> Scheduled Tasks can launch elevated without triggering a UAC prompt
> (you need admin rights to create such a task), so maybe the first half
> of the installer schedules the second half to run at the next login.
>
> I have not checked that that is what it does, but I think it's one way
> it could work.