Page 1 of 1 1
Topic Options
#133683 - 2005-02-11 06:06 PM Export key from Registry
Richie19Rich77 Offline
Seasoned Scripter
*****

Registered: 2002-08-16
Posts: 624
Loc: London, England
Hi All,

I am looking for a way to export a whole key from the registry, this key contains about 500 other keys and 500 values.

These vlaues and keys within the main key change, I think they are made up via the time and date. But the main key will stay the same.

Once I have a Reg file, I can then use the WriteRegFromExport() funtion to write back into registry.

Just to give you some background, using Office 2003 within a Mandatory profile enviroument. This causes the profile to be deleted everythime the user logs out losing all HKCU settings.

But the outlook Signature is stored within the HKCU, I am planing on exporting the Windows Messaging Subsystem key located under Windows NT HKCU, and then importing back in when they log back in.

Thanks

Top
#133684 - 2005-02-11 10:29 PM Re: Export key from Registry
maciep Offline
Korg Regular
*****

Registered: 2002-06-14
Posts: 947
Loc: Pittsburgh
Can't use Regedit /E from the command prompt?
_________________________
Eric

Top
#133685 - 2005-02-14 10:21 AM Re: Export key from Registry
Richie19Rich77 Offline
Seasoned Scripter
*****

Registered: 2002-08-16
Posts: 624
Loc: London, England
We restrict Regedit for user access, but this may the only way to go.

Thanks

Top
#133686 - 2005-02-14 12:40 PM Re: Export key from Registry
DrillSergeant Offline
MM club member
*****

Registered: 2004-07-09
Posts: 1164
Loc: Eijsden, the Netherlands
how about 'reg export HKLM\SOFTWARE\Key thisfile.reg' ?
_________________________
The Code is out there

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Allen) and 363 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.099 seconds in which 0.054 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org