Skip to content

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

@That-Annoying-Guy

Description

@That-Annoying-Guy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions