Page 1 of 1 1
Topic Options
#7482 - 2001-03-12 12:00 AM Registry adjustments during logon.
Anonymous
Unregistered


I have some entries in my script that should adjust the proxy settings from the IE 5.5 during the logonprocedure. Unfortunatly they aren't working when loging on. They are working when I execute the script manually.

What is the cause of this and what can I do to solve it?

Here are the lines that are causing the problem:

;============Adjustments Proxy settings Internet Explorer============
WRITEVALUE("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings","ProxyServer","PROXY-ADSL:3128","REG_SZ")
WRITEVALUE("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings","ProxyEnable","1","REG_DWORD")

Thanks,

Leo

Top
#7483 - 2001-03-12 12:44 AM Re: Registry adjustments during logon.
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Welcome to the board...

Here's a bunch of threads about this... give them a read and let us know how you make out...


IE Proxy Settings Not Working

Internet Properties

IE Proxy Settings Not Working

Modifying W2K registry key

Internet Explorer Proxy Server Settings

setting proxy server setting

Good luck..

Shawn.

Top
#7484 - 2001-03-12 02:15 PM Re: Registry adjustments during logon.
Anonymous
Unregistered


Thanks for the support.

The HKEY_Current_user Key isn't available during logon. Therefore there's is only one option and that is using the 'runonce' key and start a script after the logon procedure.

Although win9x isn't new for me this was new for me. I've seen that I wasn't the only one with this problem.

Leo

Top
#7485 - 2001-03-12 03:14 PM Re: Registry adjustments during logon.
Jack Lothian Offline
MM club member
*****

Registered: 1999-10-22
Posts: 1169
Loc: Ottawa,Ontario, Canada
Under certain circumstances "current use" is available during Win9x logon. If you turn profiles off entirely the "default user" is always the "current user". Editing the default user keys automatically edits the current user.

We do it this way but it means we must load at logon registry packets based upon groups, sites, etc.

_________________________
Jack

Top
#7486 - 2002-03-12 11:30 PM Re: Registry adjustments during logon.
kncowans Offline
Getting the hang of it

Registered: 2000-11-11
Posts: 98
Loc: Doncaster, UK
Hello Jack

It seems as though we get around using Profiles the same way, i.e. by disabling the Profiles and loading Registry hives etc. depending on the user or group.

One question.

Do you recommend to always write to the HKEY_USERS\.Default or does it matter if I wtite values to the HKEY_CURRENT_USER?

Thanks in advance

Kevin
_________________________
Kevin Cowans Senior ICT Technician The Armthorpe School

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1046 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.056 seconds in which 0.023 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org