How do I set my IE homepage without admin rights?

cornflakegirl

Well-known Member
Joined
Nov 4, 2004
Messages
2,023
The IT guys at work have determined that we are all too stupid and irresponsible to be allowed to configure our computers in any way, shape or form. They are probably right. However, my internet homepage is now set to our intranet instead of Google, which is annoying. The change homepage thing in Internet Options is disabled, and clicking the "Set as homepage" link on Google doesn't work either. Anyone know a way round it?
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Hi Emma

We are allowed to do diddly-squat here at work too :-( Still, keeps us out of mischief I guess:-)

Have you thought maybe about creating a shortcu on your desktop to

http://www.google.com

and clicking on that?
 
Further, if you add the shortcut to the Links folder then you could also configure it to display on your toolbar (no need to open favourites menu)...

On the menu bar: View > Toolbars > Links

Although you probably already know this ;)
 
Last edited by a moderator:
Hi Emma

We are allowed to do diddly-squat here at work too :-( Still, keeps us out of mischief I guess:-)

Have you thought maybe about creating a shortcu on your desktop to

http://www.google.com

and clicking on that?


Desktop!!! Oh to be able to create shortcuts on the desktop!!! :banghead:

Took me months of talking nicely to one of the lasses from IT before she upgraded my rights and meant I can now add shortcuts to my Start Menu and change IE Explorer settings but that's about it.
 
You probably don't have sufficient rights to change the registry, but try this:
Rich (BB code):
Option Explicit
Const HKEY_CURRENT_USER = &H80000001
Const REG_SZ = 1
Private Declare Function RegCloseKey Lib "advapi32.dll" _
                              (ByVal hKey As Long) As Long
Private Declare Function RegOpenKey Lib "advapi32.dll" _
      Alias "RegOpenKeyA" (ByVal hKey As Long, _
      ByVal lpSubKey As String, phkResult As Long) As Long
Private Declare Function RegSetValueEx Lib "advapi32.dll" _
      Alias "RegSetValueExA" (ByVal hKey As Long, _
      ByVal lpValueName As String, ByVal Reserved As Long, _
      ByVal dwType As Long, lpData As Any, _
      ByVal cbData As Long) As Long
Sub TestSetHomePage()
   SetHomePage "http://www.google.co.uk/"
End Sub
Sub SetHomePage(strPage As String)
   Dim hKey As Long
   Dim varValue, varReturn
   Dim strValue As String
   strValue = strPage & Chr$(0)
   RegOpenKey HKEY_CURRENT_USER, _
      "Software\Microsoft\Internet Explorer\Main", hKey
   RegSetValueEx hKey, "Start page", 0&, REG_SZ, ByVal strValue, Len(strValue)
   RegCloseKey hKey
End Sub
 
Rory, what was that sig you had a while back about why do things manually when you can take XXX as long to do it thru code?

:lol:
 
My employer-before-last locked down the desktops very oddly - we all still had permissions to write to the registry if only we could figure out how, so... :biggrin:
 
Thanks guys. My desktop and the Links folder are both disabled. But thanks for the suggestions, because I wouldn't have thought of either of those!

Rory - your code is scary - but it worked! You are a genius, and I bow at your feet. Like usual! :biggrin:
 
I'm sorry but isn't this a bit like password breaking.:eek:

ie trying to circumvent security, which as far as I was aware wasn't really approved of here.:)

PS I realise what you want to do is pretty harmless, but perhaps the methods used to do it could pass in to the wrong hands.:)
 
I would say not, but equally I would defer to any admin who thought it was in breach of the rules. :)
I did write it specifically for one purpose and removed all the additional functionality for reading values, writing other hives and value types and so on.
 

Forum statistics

Threads
1,222,654
Messages
6,167,381
Members
452,111
Latest member
NyVmex

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top