Solved

Importing changed registry file in windows 7 64 bit

Posted on 2012-03-16
19
716 Views
Last Modified: 2012-05-14
I exported and changed a registry file ( HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Setting. because my internet connection settings were always reverting back and I always need to change them back to access the Internet via a proxy firewall. Whenever I try and import the registry back in I get a registry editor error (see attached screen grab) I did try to import this in safe mode and it still did the same.

Thanks.
Capturescreen.PNG
0
Comment
Question by:cmdolcet
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
19 Comments
 
LVL 7

Expert Comment

by:brota
ID: 37730093
If you have a domain you can create a GPO to do this.
Try importing it as an Administrator
0
 

Author Comment

by:cmdolcet
ID: 37730298
OK tried importing the reg file under the admin account login and got the same issue. How can I change the GPO?
0
 
LVL 11

Expert Comment

by:X_layer
ID: 37731020
Maybe you have problems with permissions. Check this link.
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

Author Comment

by:cmdolcet
ID: 37776914
I checked and updated the permission link however when trying to import the updated registery file I still get the same error.
0
 

Author Comment

by:cmdolcet
ID: 37781663
Should I try and to the permission changes through the admin account. I initially followed the link with my users account in question.  

Please clarify!
0
 
LVL 28

Expert Comment

by:burrcm
ID: 37799854
Some keys are open shows the item(s) are in use so cannot be updated. Try with IE closed or try in safe mode.

Chris B
0
 
LVL 44

Expert Comment

by:Darr247
ID: 37800490
Instead of exporting it from HKLM, go to HKCU.
e.g.
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings

And instead of trying to import the whole thing, just import the parts that change with the proxy selection.

like,
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyEnable"=dword:00000001
"ProxyOverride"="*.local;192.168.1;192.168.0;<local>"
"ProxyServer"="http=192.168.1.201:80;https=192.168.1.201:80;ftp=192.168.1.201:80;socks=192.168.1.201:1080"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections]
"DefaultConnectionSettings"=hex:[contents,\
  of,\
  key]
"SavedLegacySettings"=hex:[contents,\
  of,\
  key]


Those are the only entries I see that change with the proxy settings.
The "DefaultConnectionSettings" and "SavedLegacySettings" keys should contain the settings as they appear when the proxy is enabled (I edited out my own settings). And of course the proxy addresses/ports and proxy bypass networks would be those that you use, not the samples I entered.
0
 

Author Comment

by:cmdolcet
ID: 37802608
OK great I will check the setting next time my user restarts his machine. The problem happens after he restarts however, I can change the IE connection proxy settings however after a restart he setting get reverted. I checked the GPO and nothing is setup to limit or change the IE connection settings.
0
 

Author Comment

by:cmdolcet
ID: 37807956
I have attached screen shots. I looked in the registry and did 4 screen captures. All the screen captures represent the machine when it restarted ( which is when my IC proxy settings are switching) it looks like everything is setup correctly in the registry however when you go back to the IE connection proxy setting the setting are changed again from going through the proxy to not going trough the proxy
Capture-1.PNG
Capture-2.PNG
Capture-3.PNG
Capture-4.PNG
0
 
LVL 44

Expert Comment

by:Darr247
ID: 37811741
You say you checked the GPO... do you mean you checked local policy, or is this machine actually connecting to a domain?
0
 

Author Comment

by:cmdolcet
ID: 37812239
I checked both the Local Policies and the Domain policies.

This PC is the only PC that this is happening to. I have 4 new PC in our network and this is the only PC that is causing issues. Also of note when IO log on with admin user the IE setting remain checked in the proxy server.
0
 
LVL 44

Expert Comment

by:Darr247
ID: 37812888
http://technet.microsoft.com/en-us/library/gg699415.aspx

If you're using 2008 Server, I think IE9 admin templates are included.
Though there may be a problem with them if you have not applied http://support.microsoft.com/kb/2530309

If you're using Server 2003, you need to download and install the templates - http://www.microsoft.com/download/en/details.aspx?id=8386

When I was skimming the thread and saw you ask how to change a GPO, then noticed this was posted only to the Win7 zone, I assumed you were not in a domain. We're not allowed to ask for other topics to be added, so if you want experts for your server OS and AD to be to sure see it, you need to use the Request Attention link below the original post.  Hmmmm...  and I'm not seeing a Request Attention link (see attached) for some reason.

Use this one Request Attention if you want.

Request Attention link missing
0
 

Author Comment

by:cmdolcet
ID: 37858159
I do not think its a group policy because other PC's and users fall under that same policy. Is there another option to look at.
0
 

Author Comment

by:cmdolcet
ID: 37937915
No real reason why it is starting to work now but the IE proxy setting are not changing anymore when I reboot. How should I close out this question?
0
 
LVL 44

Expert Comment

by:Darr247
ID: 37939064
If none of the answers led you to the solution, and you don't know what made it start working (so you could put that info into a message and declare it the solution), you can request the question be deleted.
0
 

Accepted Solution

by:
cmdolcet earned 0 total points
ID: 37946641
I do not know what started making it work, however I would like for the question to be deleted and points refunded.

Thank you
0
 
LVL 44

Expert Comment

by:Darr247
ID: 37947181
You have unlimited points with which to ask questions, so there's not really any refund mechanism.  :-)
0
 

Author Closing Comment

by:cmdolcet
ID: 37963989
I do not know what made it work again, however I request that the question be deleted and the points refunded.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question