473,624 Members | 2,248 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Internet Explorer and Windows registry

24 New Member
I want programaticaly to change the IE security settings for Intrante Sites.
IE Menu: Tools->Internet options->security(Tab )->Local Intranet ->sites
i found out that IE stores data in Registry at
Expand|Select|Wrap|Line Numbers
  1. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap
and there i-am writing keys:
Expand|Select|Wrap|Line Numbers
  1. IntranetName  = dword:00000001
  2. ProxyByPass   = dword:00000001
  3. UNCAsIntranet = dword:00000001
.

Theese keys appears after we setup this from Intrenet Options, but when i create them programaticaly he does not accepts them(she deletes them).
It seems that IE stores data somewere else too..

This problem i having and with adding a new site to the Intranet Zone.
Can someone help me??
Jul 2 '07 #1
9 9147
bartonc
6,596 Recognized Expert Expert
I want programaticaly to change the IE security settings for Intrante Sites.
IE Menu: Tools->Internet options->security(Tab )->Local Intranet ->sites
i found out that IE stores data in Registry at
Expand|Select|Wrap|Line Numbers
  1. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap
and there i-am writing keys:
Expand|Select|Wrap|Line Numbers
  1. IntranetName  = dword:00000001
  2. ProxyByPass   = dword:00000001
  3. UNCAsIntranet = dword:00000001
.

Theese keys appears after we setup this from Intrenet Options, but when i create them programaticaly he does not accepts them(she deletes them).
It seems that IE stores data somewere else too..

This problem i having and with adding a new site to the Intranet Zone.
Can someone help me??
You might try Process Monitor to see what is taking place in IE. It's from SysInternals which M$ took over, but still provides a nice array of cool utilities free of charge.
Jul 2 '07 #2
c83
24 New Member
You might try Process Monitor to see what is taking place in IE. It's from SysInternals which M$ took over, but still provides a nice array of cool utilities free of charge.
I'v tried it but with no succes... have'nt seen nothing that could help.
Jul 2 '07 #3
Motoma
3,237 Recognized Expert Specialist
I want programaticaly to change the IE security settings for Intrante Sites.
IE Menu: Tools->Internet options->security(Tab )->Local Intranet ->sites
i found out that IE stores data in Registry at
Expand|Select|Wrap|Line Numbers
  1. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap
and there i-am writing keys:
Expand|Select|Wrap|Line Numbers
  1. IntranetName  = dword:00000001
  2. ProxyByPass   = dword:00000001
  3. UNCAsIntranet = dword:00000001
.

Theese keys appears after we setup this from Intrenet Options, but when i create them programaticaly he does not accepts them(she deletes them).
It seems that IE stores data somewere else too..

This problem i having and with adding a new site to the Intranet Zone.
Can someone help me??
Here is how I would do it: Have IE set up how you expect it to be when you get to it. Export the registry. Make your changes. Export the registry again. Use REG to compare the two, and export the modified keys. From then on, all you need to do is import your registry .reg file.
Jul 2 '07 #4
c83
24 New Member
Here is how I would do it: Have IE set up how you expect it to be when you get to it. Export the registry. Make your changes. Export the registry again. Use REG to compare the two, and export the modified keys. From then on, all you need to do is import your registry .reg file.
I must say that this is a good idea, but what about this REG application to compare *.reg files??
Jul 2 '07 #5
Motoma
3,237 Recognized Expert Specialist
I must say that this is a good idea, but what about this REG application to compare *.reg files??
REG is the command line registry tool, and it comes with Windows.
Open up a console, and type REG to see a list of it's options.
Jul 2 '07 #6
c83
24 New Member
REG is the command line registry tool, and it comes with Windows.
Open up a console, and type REG to see a list of it's options.
Thank you!!! I will try this tomorrow .
Jul 2 '07 #7
Motoma
3,237 Recognized Expert Specialist
Thank you!!! I will try this tomorrow .
Good luck, and come back if you have any more troubles.
Jul 2 '07 #8
c83
24 New Member
Here is how I would do it: Have IE set up how you expect it to be when you get to it. Export the registry. Make your changes. Export the registry again. Use REG to compare the two, and export the modified keys. From then on, all you need to do is import your registry .reg file.
REG COMPARE can not compare registry files, it compares only registry keys.
Jul 2 '07 #9
Motoma
3,237 Recognized Expert Specialist
REG COMPARE can not compare registry files, it compares only registry keys.
My apologies. You could still use it by comparing the keys (and subkeys /s) with that of a different user.
Or you could use REG COPY to save a before and after snapshot and then compare the two.
Or you can use a tool such as windiff to compare the .reg files.
Jul 2 '07 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1242
by: asadhussain | last post by:
I wrote a plugin to internet explorer that requires internet explorer to be shutdown and restarted. I figured out a way to shut down IE using the MSI and to start it back up using VBScript. I was wondering if there was a way to remember what webpage each internet explorer process was on and then open up internet explorer windows that open up to the URLs that the user was visiting previously. Any insights?
10
2385
by: milk-jam | last post by:
I'm trying to write a log which save each time internet explorer is opened or closed and all of the url which where visited? Any help is greatly appreciated.
3
2936
by: kstriyhon | last post by:
i need to open a new internet explorer windows from a Web app i have tried with this code but it seems not to work, because nothin happens when i call the application. using SHDocVw; using System.Runtime.InteropServices; SHDocVw.InternetExplorer explorer = new SHDocVw.InternetExplorer();
3
2339
by: VK | last post by:
Internet Explorer 7 beta 2 preview CNET Editor review: <http://reviews.cnet.com/Internet_Explorer_7_for_XP_SP2_Beta_2/4505-3514_7-31454661-2.html?tag=nl.e415> Summary (my personal review interpretation): "Half stolen from Firefox, half is buggy - including the stolen part". Download: <http://www.download.com/Internet-Explorer-7/3000-2356_4-10497433.html?tag=nl.e415>
1
3502
by: Apu Nahasapeemapetilon | last post by:
Hello and thank you in advance for your help. Can anyone think of a reason why this code would work properly on one PC, but not another? I've got a System.Windows.Forms.UserControl that products events which I want to consume (sink) within Internet Explorer. I'm following the instructions at: ms-http://support.microsoft.com/default.aspx?kbid=313891.
1
1365
by: Raja | last post by:
Hi All, I would like to set internet explorer options programatically i.e suppose if i want to enable script debugging open IE->Tools-->Advanced Options--->uncheck disable script debugging. But, i want it to do programatically.Is it possible to do? if so, kindly help me.Thanks in Advance!!!! Regards,
6
10033
zybernau
by: zybernau | last post by:
hi, all in javascript i need to close all the child windows that i have opened through a parent window scenario: * here i will be having as many as child window opened and name given to the child window can not be tracked because each will be having a different name, and * i am using 70 to 80 popup windows through out my page * there can be any number of child windows opened , at the time of user triGgers the event from...
0
1150
by: Rehan Muzammil | last post by:
hello everybody, i am making a COM DLL for the Internet Explorer. i have used the IObjectWithSiteImpl interface for that. the problem is that after doing all this using the VC++ ATL wizard and setting up all the required methods, putting the CLSID entry under the Browser Helper Object and compiling and building, when i activate the browser window, nothing seems to happen. That is the SetSite() method is not at all activated. Because...
4
21330
by: Bill Nicholson - Cincinnati, OH | last post by:
This Access app is in Access 2000 format. It is a mature app that is running on machines all over the LAN. Today when I tried to put it on a new PC with a fresh copy of Win XP and Access 2003. XP has all patches installed and is SP 2. I got this error: Can't be started. Was unable to initialize the Windows Registry. Rerun Microsoft Access or Microsoft Office Setup to reinstall I ran the app as domain admin and local admin, no change.
5
3365
by: jd | last post by:
Hi, I have an application that uses embedded IE windows, which doesn't work if the user has set their IE security settings to high. Is there any way to programmatically obtain the security settings for Internet Explorer for the current user? I had a brief look through the registry but by comparing the exported .reg files before and after making changes to the IE settings, I was not able to locate them specifically. Any help at all...
0
8233
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8675
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8619
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8334
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8474
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7158
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6108
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
2604
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1784
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.