Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: General » microsoft.public.windows.inetexplorer.ie6.browser
Thread: Change IE start page from my program - how?

HTVi
TV Discussion Newsgroups

Change IE start page from my program - how?
Chris Shearer Cooper <chris.shearer.cooper[ at ]gmail.com> 12/15/2008 6:11:30 PM
During installation, my program asks the user if they want to change
their browser start page, but even if they say "Yes" I'm unable to
modify the registry. If I open HKEY_CURRENT_USER\Software\Microsoft
\Internet Explorer\Main with KEY_READ and KEY_WRITE permissions and
then try to modify the "Start Page", it returns error 5
(ERROR_ACCESS_DENIED) and since I get an obnoxious error message when
I try to modify the item directly (in regedt32), I believe my code is
doing the right thing and it's some new Windows security thing.

What does my program need to do, in order to convince Windows (both XP
and Vista) that this operation is OK? A manifest with some magic
value inside? Code-signing the app?

Yes, I realize it is very likely that the anti-virus program will then
pop up and warn the user that this is happening, that's expected and
acceptable.

Thanks in advance,
Chris
RE: Change IE start page from my program - how?
Mick Murphy 12/16/2008 9:50:04 AM
What is this whiz-bang, secretive program's name?
--
Mad Mike


"Chris Shearer Cooper" wrote:

[Quoted Text]
> During installation, my program asks the user if they want to change
> their browser start page, but even if they say "Yes" I'm unable to
> modify the registry. If I open HKEY_CURRENT_USER\Software\Microsoft
> \Internet Explorer\Main with KEY_READ and KEY_WRITE permissions and
> then try to modify the "Start Page", it returns error 5
> (ERROR_ACCESS_DENIED) and since I get an obnoxious error message when
> I try to modify the item directly (in regedt32), I believe my code is
> doing the right thing and it's some new Windows security thing.
>
> What does my program need to do, in order to convince Windows (both XP
> and Vista) that this operation is OK? A manifest with some magic
> value inside? Code-signing the app?
>
> Yes, I realize it is very likely that the anti-virus program will then
> pop up and warn the user that this is happening, that's expected and
> acceptable.
>
> Thanks in advance,
> Chris
>
Re: Change IE start page from my program - how?
Chris Shearer Cooper <chris.shearer.cooper[ at ]gmail.com> 12/16/2008 1:32:11 PM
Mike/Mick -

I've sent you the company information in an email.

Chris
Re: Change IE start page from my program - how?
"Inside The Registry" <info[ at ]insidetheregistry.com> 12/28/2008 10:38:05 AM

Hi Chris,

I suspect your not opening the key with enough permissions such as the
ability to manipulate values...

Try opening the key with full rights, KEY_ALL_ACCESS if i'm not mistaken and
see if that helps - it's a HKCU key so you're safe to do that...

As you saw, error code 5 is access denied and given this is a HKCU key /
value you really shouldn't have a problem. There is nothing I know of that
puts such security methods to prevent this -

Cheers,
Jon

The Windows Registry Information Database - http://www.insidetheregistry.com

---


"Chris Shearer Cooper" <chris.shearer.cooper[ at ]gmail.com> wrote in message
news:e359744b-9438-43ec-a351-9ce29faf9833[ at ]s9g2000prg.googlegroups.com...
[Quoted Text]
> During installation, my program asks the user if they want to change
> their browser start page, but even if they say "Yes" I'm unable to
> modify the registry. If I open HKEY_CURRENT_USER\Software\Microsoft
> \Internet Explorer\Main with KEY_READ and KEY_WRITE permissions and
> then try to modify the "Start Page", it returns error 5
> (ERROR_ACCESS_DENIED) and since I get an obnoxious error message when
> I try to modify the item directly (in regedt32), I believe my code is
> doing the right thing and it's some new Windows security thing.
>
> What does my program need to do, in order to convince Windows (both XP
> and Vista) that this operation is OK? A manifest with some magic
> value inside? Code-signing the app?
>
> Yes, I realize it is very likely that the anti-virus program will then
> pop up and warn the user that this is happening, that's expected and
> acceptable.
>
> Thanks in advance,
> Chris

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen