Replies: 1 comment 1 reply
-
|
The two scenarios where I see user's folder view defaults changed back to Windows defaults are 1) a repair via Windows Update, and 2) a major Windows update (e.g. 24H2 to 25H2). The user's folder template registry entries, that WinSetView creates within HKCU, are deleted in those scenarios, but then you just have to run WinSetView and click Submit to get your preferences back with one click. Resetting your folder view defaults via a scheduled task at every login may be okay for some users, but many users would have a problem with that. Let's say your preferred default for Pictures type folders is large icons, but you've intentionally set one or more pictures folders to a different view such as Details or Gallery. Having those views changed back to large icons on every login would be frustrating. If you really do want to automate WinSetView in some way, such as setting up a scheduled task, looking at the source code won't help at all, as that code is specifically for the GUI. There's also no need for WinSetView to be rewritten in C#, although that's something I may do some day so that it will run on stripped down builds, such as NTLite, that may not have MSHTML or JScript. For automation, you would only run the PowerShell script, WinSetView.ps1. See the Command Line Operation section in the manual for details. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
WinSetView is an invaluable utility for anyone using Windows in a serious or structured environment. As the administrator of multiple machines (family, friends, and our local Ham Radio Club), I frequently run into the frustrating reality of Microsoft’s policies that periodically reset user-defined folder view settings.
One potential workaround would be to port the script to a compiled language like C#, allowing it to execute reliably at user login without relying on manual intervention.
I’m curious whether you’ve ever documented the internal logic or architecture of WinSetView — and if so, where that might be found.
I’ve reviewed the source code, but without accompanying documentation or design notes, it’s difficult to reverse-engineer the full behavior or adapt it for persistent deployment.
Beta Was this translation helpful? Give feedback.
All reactions