Page 1 of 1 1
Topic Options
#213666 - 2019-03-12 11:41 AM Modify 64 bit registry key
yellowdog Offline
Starting to like KiXtart

Registered: 2005-06-14
Posts: 102

I'd like to create a value with the following command on a 64 bit machine.

WriteValue("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\SystemRestore","SystemRestorePointCreationFrequency","1","REG_DWORD")

The problem is that it creates the value in

HKEY_LOCAL_MACHINE\Software\WOW6432Node\Microsoft\Windows NT\CurrentVersion\SystemRestore

instead of

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\SystemRestore

How can I set values in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\SystemRestore ?


#213667 - 2019-03-12 02:35 PM Re: Modify 64 bit registry key [Re: yellowdog]
Allen Administrator Offline
KiX Supporter

Registered: 2003-04-19
Posts: 4499
Loc: USA
For your specific problem:

You'll probably need this one to eventually.

Page 1 of 1 1

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

Who's Online
0 registered and 93 anonymous users online.
Newest Members
tspirtle, Safio, Eldonbetz, mgreene, DerekP
17716 Registered Users

Generated in 0.036 seconds in which 0.015 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google: