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.
Both PowerShell and regedit are opened as administrator
1 Answer
Your .reg file has the incorrect syntax 0x64, which for some reason regedit ignores without giving an error.
Use this file:
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Control Panel\Desktop] "JPEGImportQuality"=dword:00000064 1 