Solved

Importing changed registry file in windows 7 64 bit

Posted on 2012-03-16
19
715 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
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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
changing harddisk on computer in corporate 10 70
Windows login to server issues 1 34
Scheduled Tasks Tweak 5 42
mysqli_connect error on wamp but not on remote server 8 38
I recently purchased an HP EliteBook 2540p notebook/laptop. It has two video ports on it – VGA and DisplayPort. HP offers an optional docking station for the 2540p that also has both a VGA port and a DisplayPort. There are numerous online reports do…
While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

828 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