Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Logon script that edits registry to deny IE access

Status
Not open for further replies.

superco7

Technical User
Dec 20, 2002
78
US
I have a few users who are abusing internet privileges. Their managers have asked me to deny them access to the internet. I can go in and do this on the machine level, the only problem is the night shift needs to be able to access the internet on the same pc. I would like to use a logon on script, but am fairly new at creating them. I know what registry edits to make (see below), I just want this to be transparent to the user. Right now I have the registry file and logon script working, but it asks the user if they would like to add the information in the reg file to the registry, and I don’t believe this will work without admin privileges (all the above users only have power user privs).

Reg file:

REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyEnable"=dword:00000001
"ProxyServer"="10.0.0.1:5555"

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel]
"Connection Settings"=dword:00000001
"Connwiz Admin Lock"=dword:00000001


Logon Script(.bat file):

nobrowse.reg

Exit


The computers in question are all Windows XP Pro, and we are running a mixed NT/2000 Domain.

Any help would be greatly appreciated.

Thanks.
 
I have actually found a solution to this problem, in another post... thread779-714122

The line I had to add to the logon script batch file is regedit /s reg_file_name.reg

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top