Welcome to WinForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Change IE start page from my program - how?

 
   Windows XP (Home) -> XP Security Admin RSS
Next:  Windows XP Password  
Author Message
Chris Shearer Cooper

External


Since: Dec 15, 2008
Posts: 2



(Msg. 1) Posted: Mon Dec 15, 2008 10:11 am
Post subject: Change IE start page from my program - how?
Archived from groups: microsoft>public>windows>inetexplorer>ie6>browser, others (more info?)

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

 >> Stay informed about: Change IE start page from my program - how? 
Back to top
Login to vote
Mick Murphy

External


Since: Jul 21, 2007
Posts: 57



(Msg. 2) Posted: Tue Dec 16, 2008 1:50 am
Post subject: RE: Change IE start page from my program - how? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

What is this whiz-bang, secretive program's name?
--
Mad Mike


"Chris Shearer Cooper" wrote:

> 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
>

 >> Stay informed about: Change IE start page from my program - how? 
Back to top
Login to vote
Chris Shearer Cooper

External


Since: Dec 15, 2008
Posts: 2



(Msg. 3) Posted: Tue Dec 16, 2008 5:32 am
Post subject: Re: Change IE start page from my program - how? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Mike/Mick -

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

Chris
 >> Stay informed about: Change IE start page from my program - how? 
Back to top
Login to vote
Inside The Registry

External


Since: Dec 28, 2008
Posts: 1



(Msg. 4) Posted: Sun Dec 28, 2008 5:38 am
Post subject: Re: Change IE start page from my program - how? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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" wrote in message

> 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
 >> Stay informed about: Change IE start page from my program - how? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Denying any user to change any settings and install any pr.. - I have Win XP with SP 2 runnign and lot of people uses my PC. I wants to creat a USER like that if that user is logged on, they can not Change any program settings, can not delete or uninstalled any program and also can ne install any new program on..

Denying any user to change any settings and install any pr.. - I have Win XP with SP 2 runnign and lot of people uses my PC. I wants to creat a USER like that if that user is logged on, they can not Change any program settings, can not delete or uninstalled any program and also can ne install any new program on..

Denying any user to change any settings and install any pr.. - I have Win XP with SP 2 runnign and lot of people uses my PC. I wants to creat a USER like that if that user is logged on, they can not Change any program settings, can not delete or uninstalled any program and also can ne install any new program on..

Denying any user to change any settings and install any pr.. - I have Win XP with SP 2 runnign and lot of people uses my PC. I wants to creat a USER like that if that user is logged on, they can not Change any program settings, can not delete or uninstalled any program and also can ne install any new program on..

run a start up program with a different user account - i have a WinXP Pro computer with two accounts, one is an administrator account, another one is a limited account. i want to set up a program so that it starts automatically when the limited account logs in. however the program requires privilege of an...
   Windows XP (Home) -> XP Security Admin All times are: Eastern Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
  Windows XP
 Windows Vista!
 Win 2000/NT/98/ME


[ Contact us | Terms of Service/Privacy Policy ]