gersonkurz / regdiff

Automatically exported from code.google.com/p/regdiff
34 stars 15 forks source link

Using /registry to compare .reg file to live registry returns 1 value missing in reg file when they match #9

Open That-Annoying-Guy opened 1 year ago

That-Annoying-Guy commented 1 year ago

When .Reg file and live registry matches, RegDiff.exe returns:

1 value missing in 'RegDiff_Pol_dev.reg':
- Key HKEY_LOCAL_MACHINE\SOFTWARE:
--- Value

Steps to reproduce:

regdiff.exe HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /merge RegDiff_Pol_dev.reg
regdiff.exe RegDiff_Pol_dev.reg /registry 

Sample results:

C:\Temp\dev>regdiff.exe HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /merge RegDiff_Pol_dev.reg
REGDIFF - Version 4.5
Freeware written by Gerson Kurz (http://p-nand-q.com) [32-bit process on 64-bit OS]

Reading HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate...

Writing RegDiff_Pol_dev.reg...

C:\Temp\dev>regdiff.exe RegDiff_Pol_dev.reg /registry
REGDIFF - Version 4.5
Freeware written by Gerson Kurz (http://p-nand-q.com) [32-bit process on 64-bit OS]

Reading RegDiff_Pol_dev.reg...

1 value missing in 'RegDiff_Pol_dev.reg':
- Key HKEY_LOCAL_MACHINE\SOFTWARE:
--- Value

Annoying workaround Dont use the /registry switch and specify a starting Reg Key:

C:\Temp\dev>regdiff.exe HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate RegDiff_Pol_dev.reg
REGDIFF - Version 4.5
Freeware written by Gerson Kurz (http://p-nand-q.com) [32-bit process on 64-bit OS]

Reading HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate...
Reading RegDiff_Pol_dev.reg...

- no differences found -

PS: I REALLY like the idea of this utility. It`s even mentioned on WindowsClub