Change Size of Desktop Icons in Windows 10  

Page 5 of 5 FirstFirst ... 345

  1. Posts : 17
    W10 W8.1 W7
       #40

    Hi Shawn, glad that you are still around helping us for so many years !!!

    I tried to inject the reg keys into another users ntuser.dat, by mounting it under HKU:
    HKEY_USERS\_susi\Software\Microsoft\Windows\Shell\Bags\1\Desktop

    I also tried this in the classes.dat of the user where I found them too:
    HKEY_USERS\_susi_class\Local Settings\Software\Microsoft\Windows\Shell\Bags\1\Desktop

    But when the User logs in ... no change...

    Surprisingly the keys also dont change when the user changes the settings via GUI ... I mounted both files (after his log out) and the keys where unschanged !

    The only way working is: User logs in and changes the HKCU settings and all the other methods of course ...

    Any idea where (or which file) to inject the settings when the User is not logged in ?
      My Computer


  2. Posts : 68,672
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #41

    Hello @5ggggg,

    Did you restart the explorer.exe process after merging the .reg file to apply?

    You may have needed to refresh (View > Refresh) Registry Editor afterwards to see any changes made via GUI. Sometimes Registry Editor doesn't automatically update the UI.
      My Computers


  3. Posts : 17
    W10 W8.1 W7
       #42

    I load the 2 hives from susi from my admin account and import the .reg (but also tried to change them with regedit) and unload the hives.
    Code:
    ...
            set "reg_classes=HKEY_USERS\_%%u_class" & set "reg_user=HKEY_USERS\_%%u"
            reg load !reg_user! C:\Users\%%u\ntuser.dat
            reg load !reg_classes! C:\Users\%%u\AppData\Local\Microsoft\Windows\UsrClass.dat
    pause
            reg import  "%~dp0~%~n0.reg"
    pause
            reg unload !reg_user! 
            reg unload !reg_classes!
    ...
    snippet of .reg:
    Code:
    [HKEY_USERS\_susi\Software\Microsoft\Windows\Shell\Bags\1\Desktop]
    "FFlags"=dword:40200220
    "GroupView"=dword:00000000
    "IconSize"=dword:0000001e
    "LogicalViewMode"=dword:00000003
    "Mode"=dword:00000001
    Then I log in as User Susi .... no effect at all. I also can see the changes under HKCU.
      My Computer


  4. Posts : 17
    W10 W8.1 W7
       #43

    Sorry my bad. It works !!!
    I created the user profile more often for test purposes and so the path to the ntuser.dat was different.
    Last edited by 5ggggg; 28 May 2020 at 03:09.
      My Computer


  5. Posts : 68,672
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #44

    5ggggg said:
    Sorry my bad. It works !!!
    I created the user profile more often for test purposes and so the path to the ntuser.dat was different.
      My Computers


  6. apb
    Posts : 94
    win 7 64bit
       #45

    Hi Shawn.

    Could you please add to the tutorial the actual registry values that the bat files set?

    This saves me the trouble of the process of downloading and inspecting the bat files. Also, usually I prefer to have the changes in the form of a .reg file, rather than a bat file, which for me is easier to parse.

    Thanks.

    --peter
      My Computers


  7. Posts : 68,672
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #46

    apb said:
    Hi Shawn.

    Could you please add to the tutorial the actual registry values that the bat files set?

    This saves me the trouble of the process of downloading and inspecting the bat files. Also, usually I prefer to have the changes in the form of a .reg file, rather than a bat file, which for me is easier to parse.

    Thanks.

    --peter
    Hello Peter,

    The note box under Option 4 shows the registry changes the BAT files make to help.

    Since it's required to restart the explorer process to apply, I use a BAT file that includes that instead of a REG file that doesn't.
      My Computers


  8. apb
    Posts : 94
    win 7 64bit
       #47

    The note box says which keys are changed, but not to what values they are changed. It would be helpful if it also included the new values it's setting.
      My Computers


  9. Posts : 68,672
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #48

    apb said:
    The note box says which keys are changed, but not to what values they are changed. It would be helpful if it also included the new values it's setting.
    Now added.
      My Computers


  10. apb
    Posts : 94
    win 7 64bit
       #49

    Brink said:
    Now added.
    Thanks!

    - - - Updated - - -

    Hey Shawn.

    I was thinking about this a little and realized that another reason I don't like downloading the bat file just to look at what's in it is the risk of accidentally running it, for example by double clicking on the downloaded file. Maybe only an idiot would do that, but it turns out that in the past I have been an idiot more than once.

    So, it occurs to me that it would be nice if the first step in the bat file were to save the current state of those registry keys, for example to a .reg file on the desktop. (Although I prefer a .reg.txt file, to again prevent the double-click mistake; to use it you remove the .txt name component.)
      My Computers


 

Tutorial Categories

Change Size of Desktop Icons in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  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 08:33.
Find Us




Windows 10 Forums