Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 428
  • Last Modified:

Registry Keys and Values for Backup and Restore

As published on this link I have added key via batch file and registry add command.

however, underlying system is window 2008 r2 core 64 bit and key was added to wow6432 section. Backups never did became incremental until I manually added key to original location mentioned in the article.


My question is how does registry redirection influence this key added. if I'm about to deploy this key via batch file it will be redirected to 64 bit section of the registry which didn't produce expected outcome.
0
mmuza
Asked:
mmuza
  • 3
  • 2
1 Solution
 
mmuzaAuthor Commented:
sorry, the link is:
http://msdn.microsoft.com/en-us/library/windows/desktop/bb891959(v=vs.85).aspx

and section is:
OverallPerformanceSetting

Key in place is:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Windows Block Level Backup
OverallPerformanceSetting  with value 2
0
 
Pradeep DubeyConsultantCommented:
could you please post the batch file content also
0
 
mmuzaAuthor Commented:
here it is:
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Windows Block Level Backup" /v OverallPerformanceSetting /t REG_DWORD /d 2 /f
0
 
Pradeep DubeyConsultantCommented:
after creating bat file did you test it? It is working on my machine. can you try once again as i did not find anything wrong in the bat file. Also its working fine on my 2k8 r2 64 bit.
0
 
mmuzaAuthor Commented:
It seems this is not a problem with batch file it is a problem with how it is distributed (SCCM). If kicked on the server, everything is fine, if kicked off via package, it goes to wow6432node so command in batch file  will have to be changed to force writing to right node.

thnx Pradeep, you pointed me in the right direction.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now