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.
mmuzaAsked:
Who is Participating?
 
Pradeep DubeyConnect With a Mentor ConsultantCommented:
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:
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
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.