Prev: SmartCard removal monitoring in GINA under Terminal Services / Citrix
Next: How can VS2010 setup continue as an elevated admin after reboot?
From: Stefan Kuhr on 23 Apr 2010 10:39 Hi Manfred, On 4/23/2010 4:30 PM, Manfred wrote: > Maybe look again at RunOnce again. From http://blogs.msdn.com/uac: > > "A couple of exceptions to note: First, setup applications that need to > complete their setup after a reboot should be putting their application > in the RunOnce key. This key gets consumed by the next Administrator > account that logs on, and the setup will continue without the need for > an elevation. (This key can only be set by a program running with > elevated privileges.)" > > "Stefan Kuhr" <kustt110(a)gmx.li> wrote in message > news:#oDBM$s4KHA.1924(a)TK2MSFTNGP06.phx.gbl... >> I am well aware of these keys but my perception is, that these keys >> start child processes of Explorer.exe with the same unprivileged token >> that explorer uses on Vista++ with UAC turned on. Please feel free to >> correct me if I am wrong. > > Great. That would be another explanation, and even one that is less awkward than creating a scheduled task. Thanks for bringing this to my attention, I didn't know that. The next time I install VS2010, I will check the RunOnce Key. Cheers, -- S |