K
kakii
Win XP Pro SP3
Two swap files: one on a special swap-file drive,
another one on the system disk C:\.
The second one only for purposes of memory dumps in crash situations.
For purposes of disk backup process the second one (placed on C:\)
should be temporary disabled.
For this purpose appropriate registry value is planned to be manipulated
by the backup script:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Memory Management\PagingFiles
I don't want to manipulate the whole key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Memory Management
because I don't know if during the whole back-up process
some other values from this key are being changed as well.
However, the reg utility's commands SAVE and RESTORE
can handle registry keys only.
How can I backup and restore the key value selectively ?
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Memory Management\PagingFiles
Two swap files: one on a special swap-file drive,
another one on the system disk C:\.
The second one only for purposes of memory dumps in crash situations.
For purposes of disk backup process the second one (placed on C:\)
should be temporary disabled.
For this purpose appropriate registry value is planned to be manipulated
by the backup script:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Memory Management\PagingFiles
I don't want to manipulate the whole key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Memory Management
because I don't know if during the whole back-up process
some other values from this key are being changed as well.
However, the reg utility's commands SAVE and RESTORE
can handle registry keys only.
How can I backup and restore the key value selectively ?
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Memory Management\PagingFiles