|
-
Dec 30th, 2003, 02:36 PM
#1
Registry Question
Hi,
I have a question regarding windows registry. The quesion i have concerns the two section HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER. Now say if a value is defined in both HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER which value will window use?
Let me give you an example.
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\Start Page
value=www.vbforums.com
HKEY_Local_Machine\Software\Microsoft\Internet Explorer\Main\Start Page
value=www.google.com
Will both be executed but one will be used or Local_Machine one will have priority?
Well I guess i will havet to test it out myself to be certain, but does anyone know any how such windows deals with similar scinario?
Thanks
Danial
[VBF RSS Feed]
There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.
If I have been helpful, Please Rate my Post. Thanks.
This post was powered by : 
-
Dec 30th, 2003, 02:40 PM
#2
Fanatic Member
The HKEY current user variable only applies if there is a valid windows user logged on to the system... so in most cases... that variable will take priority over HKEY local machine.
If you have a roaming profile, then neither variables are used directly... but if the server is not configured to allow users to change their URL's, then HKEY local machine takes over.
Hope this helps.
-
Dec 30th, 2003, 02:49 PM
#3
Thanks for replying,
Sof if a valid user logs in Current_User will have precidence?
but if the server is not configured to allow users to change their URL's, then HKEY local machine takes over.
Sorry i didnt get this bit, doesnt it contradict what you said first! Or i am mis readig it.
You have any link where i can get more info on this.
Thanks.
Danial
[VBF RSS Feed]
There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.
If I have been helpful, Please Rate my Post. Thanks.
This post was powered by : 
-
Dec 30th, 2003, 02:55 PM
#4
Fanatic Member
Sorry... i wasn't very clear with that.
If you are a local user... (without a server) then current user will have priority.
If you are a remote user (where a server controls your access) then HKEY local machine would have priority. The administrator has the option to allow networked users the option to change their own start URL. If he/she denies the option, then the server will control the URL...
Hope that helps... and hopes it's a little clearer!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|