|    Register
  
Friday, September 05, 2008
Jerry Honeycutt's Forums

While guests can view messages in the forums, you must register before you can post messages. Before posting, make sure to read the forum guidelines in the General Discussion forum.

Subject: copying and exporting single keys
Prev Next
You are not authorized to post a reply.

AuthorMessages
willsteeleUser is Offline

Posts:2

02/19/2008 5:01 PM  

Two quick questions:

1) We regularly do installs where we create a new account then log into that account.  Is there a way to copy specific keys to the newly created account using reg copy?

2) Also, I am trying to create a .reg file based on three proxy settings for IE from a batch script to deploy across multiple machines.  Using reg.exe I am only able to export the entire key and all subkeys.  Is there a way to export only the three specific values I need?

Jerry HoneycuttUser is Offline

Posts:9


02/19/2008 6:45 PM  

Will,

1) I wouldn't rely on reg.exe too much. You could use default user profiles. You could use logon scripts. You could use Group Policy Preferences, which is new from Microsoft. There are many much better ways to do what you're trying to do.

2) I'd use Group Policy Preferences. Short of that, Id create a .reg file and import it silently or write a VBScript to configure the settings as required.

Best, Jerry

somarrUser is Offline

Posts:2

03/04/2008 9:20 PM  

Will,

2)  I agree with Jerry.  There is no way to export just the 3 values you want.  It sounds like you know which values you need.  So you could export them and the modify your reg file to only import the 3 of interest to you.  This assumes that you are certain of the values.  Short of that, if you know the 3 keys, you could create your own script create those 3 values using reg.exe.

If you are not sure just post back.

Good luck!

You are not authorized to post a reply.
Forums > Jerry's Books > Windows XP Registry Guide > copying and exporting single keys



ActiveForums 3.7
© 2007 Jerry Honeycutt     |    Privacy Statement    |    Terms Of Use