farag2 / Sophia-Script-for-Windows

:zap: The most powerful PowerShell module for fine-tuning Windows
MIT License
7.8k stars 579 forks source link

Items being reset to default #504

Closed annaclets closed 1 year ago

annaclets commented 1 year ago

Prerequisites

Steps to reproduce

Sophia Script keeps improving with every version, the only issue I have is the following values are always reset to default after running the script:

  1. Pagefile is reset to "Automatically manage paging file size for all drives"
  2. Folder Options General "Click items as follows" is reset to "Double-click to open an item"
  3. Folder Options View "Decrease space between items" is reset to unchecked

Windows Version

Windows 11 22H2 22631.1900

Sophia Script version

6.5.1

farag2 commented 1 year ago

Pagefile is reset to "Automatically manage paging file size for all drives"

This is by design. You need to keep it by default, automatically. no need to change value.

Items 2 and 3 can be referenced to FolderGroupBy -None function (which is set by default), I think. But I do not know exactly.

farag2 commented 1 year ago

Please share your preset to test.

farag2 commented 1 year ago

That's strange but a default preset really resets these settings. Will check tomorrow...

farag2 commented 1 year ago

Folder Options General "Click items as follows" is reset to "Double-click to open an item"

The fault is RecycleBinDeleteConfirmation function. Cannot be fixed.

Folder Options View "Decrease space between items" is reset to unchecked

The fault is default function value FileExplorerCompactMode -Disable.