Why does IE7 always popup the prompt window in vista?

I have created a BHO and a Broker process, and I want the BHO can access

the broker process without prompt. Therefore I add a key and values into the Registry , so that I can silently elevate the broker process to medium integrity level.

more infomation for "elevate policy" ,please see "Understanding and Working in Protected Mode Internet Explorer".

1. Add a key like this

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Low Rights\ElevationPolicy\{AA467279-FAA8-4154-94C3-71FBAD2FE3FE}

2.Add some values into the key

AppName REG_SZ "test.exe"
AppPath REG_SZ "D:\test\debug\"
Policy REG_DWORD 3
CLSID REG_SZ "{BBD113D6-28F2-467F-B8D5-5F9508FC23BB}"

(CLSID is the CLSID of the ATL Object in the BHO.)

But, why does IE7 always popup the prompt window?
maybe,there are something I havenot done?

[1159 byte] By [kevin7776] at [2008-2-4]
# 1

I have complained Microsoft, but the present like Microsoft again.

It takes me more days to solve such question.

I have done what I have to do , but why does IE7 always popup the prompt window to let me confirm? It is only because the process "ieuser.exe" is running, and it caches some infos from registry,so the new keys and values cannot take effect immediately.

So When I End the Process "ieuser.exe" Forcefully, then restart IE7 again, I have found that everyting is ok.

kevin7776 at 2007-8-31 > top of Msdn Tech,Internet Explorer Development,Internet Explorer Extension Development...
# 2

Kevin,

You're not the first person to have run into this. As a result, we've updated the Understanding and Working with Protected Mode Internet Explorer article to specifically mention that IEUser.exe must be restarted before it will "detect and respond to elevation policy changes."

In addition, many other changes have been made to the document. It may be worth taking a second look.

Hope this helps...

-- Lance

LanceLeonard at 2007-8-31 > top of Msdn Tech,Internet Explorer Development,Internet Explorer Extension Development...
# 3
thank you very much by my heart
kevin7776 at 2007-8-31 > top of Msdn Tech,Internet Explorer Development,Internet Explorer Extension Development...
# 4

But how should i kill ieuser.exe in a clean way?

thanks

dudeness at 2007-8-31 > top of Msdn Tech,Internet Explorer Development,Internet Explorer Extension Development...
# 5
IEUser supports the Restart Manager in Vista, you could use this API to cleanly restart IEUser. Read more about Restart Manager at http://msdn2.microsoft.com/en-us/library/aa373680.aspx
SharathUdupa-MSFT at 2007-8-31 > top of Msdn Tech,Internet Explorer Development,Internet Explorer Extension Development...
# 6
i'm using RM to close ieuser, but i get an MsiRMFilesInUse dialog with iexplore in it's list. (this happens also when there is no iexplore process running, but ieuser is running). is there a way to avoid closing iexplore, if i want to restart ieuser? ( i know i can remove this dialog but this is not a good solution for me, because i want other applications to show up in this dialog, but not iexplore)
henit at 2007-8-31 > top of Msdn Tech,Internet Explorer Development,Internet Explorer Extension Development...
# 7
i would like to correct my question: when trying to restart ieuser, MsiRMFilesInUse dialog shows up with "internet explorer" in his list, which is ieuser description (as you can see in it's properties), this is a very normal behaviour, but i would like to avoid seeing it in my list (and quietly restart ieuser), anyone has an idea?
henit at 2007-8-31 > top of Msdn Tech,Internet Explorer Development,Internet Explorer Extension Development...