Importing .reg file returns success-message but does not import values

I have made a simple reg file:

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Control Panel\Desktop]
"JPEGImportQuality"=DWORD:0x64

When I open PowerShell and use reg import test.reg I get the message "The process was finished successfully". When I simply double-click the file in Explorer, or open regedit and click on File->import, I get similar messages.

When I then look at the key in regedit, I don't see the value.

Image. A screenshot of Windows registry entries. The registry entry from the registry file given earlier is not shown

Both PowerShell and regedit are opened as administrator

1 Answer

Your .reg file has the incorrect syntax 0x64, which for some reasonregedit ignores without giving an error.

Use this file:

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Control Panel\Desktop]
"JPEGImportQuality"=dword:00000064
1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like