Make a Registry Value "Read-Only"


  1. Posts : 23
    Windows 10 64-bit
       #1

    Make a Registry Value "Read-Only"


    Is it possible to make a specific Registry Value "Read-Only" ? I'm basically trying to stop Paint from saving the last used "Resize" value. As you can see from the video below "BMPHeight" and "BMPWidth" are related to it. I can only change Permissions for Registry Folders but when I do that, the Registry Values inside that Registry Folder get hidden/locked away which causes Paint to not operate properly.

    W10 V1903

    dword
      My Computer


  2. Posts : 23,197
    Win 10 Home ♦♦♦19045.4291 (x64) [22H2]
       #2

    @dfg555


    1. WHY are you trying to do that?
    2. In Paint, the resize is always set to 100 x 100 and on percentage, when I paste a new image in paint.
    3. On pixel, mine isn't saving the last used size, in Paint. When I click on pixel it shows w/e size the image is.

    I understand you are trying to make a registry key read only... I just don't know why?


    /edit

    I just double checked. I open Paint, and whether I drag and drop an image in there, or use File > Open, or even if I Paste an image in there...paint always shows 100 on the percentage option in Resize... and always shows the image size, if I choose the pixel option.
    Last edited by Ghot; 31 Oct 2020 at 23:29.
      My Computer


  3. Posts : 1,255
    Windows 10 Pro
       #3

    Registry keys and values do not have a read only attribute like files do. The only way to prevent writing to a specific value is to set appropriate security on the key that contains it. You can expect that this will have adverse effects. Registry values do not have their own security.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:02.
Find Us




Windows 10 Forums