usslindstrom
asked on
KIX logon script writes IE homepage in registry - does not work until 2nd logon for users
Experts,
I've been wishing our enterprise to convert it's KIX logon script to something more modern, but it's what I'm stuck with for the moment for logon scripts.
In each of the specific sites, we have the following registry key being written via KIX:
WriteValue("HKEY_CURRENT_U SER\Softwa re\Microso ft\Interne t Explorer\Main" , "Start Page", "http://homepage.com", "REG_SZ")
The script works great, and writes the individual sites to remap their IE homepage to the values I have set... But on initial logon the value is written - but IE doesn't use it. It continues to use whatever the default profile had set for the users. On the 2nd logon for the user, it's able to load that registry key for IE and the correct homepage is shown.
I know it has something to do with the profile already having loaded that registry key... But would anybody happen to know if there's a technique I could use that would reload the key in question for all the users when they log in for the first time?
-And don't get me started on not using GroupPolicy. Trust me, I know.
I've been wishing our enterprise to convert it's KIX logon script to something more modern, but it's what I'm stuck with for the moment for logon scripts.
In each of the specific sites, we have the following registry key being written via KIX:
WriteValue("HKEY_CURRENT_U
The script works great, and writes the individual sites to remap their IE homepage to the values I have set... But on initial logon the value is written - but IE doesn't use it. It continues to use whatever the default profile had set for the users. On the 2nd logon for the user, it's able to load that registry key for IE and the correct homepage is shown.
I know it has something to do with the profile already having loaded that registry key... But would anybody happen to know if there's a technique I could use that would reload the key in question for all the users when they log in for the first time?
-And don't get me started on not using GroupPolicy. Trust me, I know.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you for the assistance. I think that will solve the issue too.
For those interested though, please note that my scripting environment is KIX, and in order to accomplish a dos shell, it needs to be prefaced with:
SHELL " **** "
For those interested though, please note that my scripting environment is KIX, and in order to accomplish a dos shell, it needs to be prefaced with:
SHELL " **** "
so it will be best for you