-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some reg entries in DefaultUserSettings.json do not apply #205
Comments
Hello @Lucero7919, Both of the settings are still applicable in Windows. I am not sure why they aren't getting set in your environment. The Storage Sense policy does apply in Windows Enterprise version (I did not test Pro). I also looked for it on Windows 11 23H2 Multi-Session and I don't even find Storage Sense to be an option in that SKU. The "Inking and Typing" privacy setting controls whether or not a typing or inking dictionary is maintained on the local system, in order to improve recognition over time. That setting does apply on Windows 11. I just tested in a VM, and those settings you cite are successfully written. We have tested extensively with Packer, the engine of AIB, and have had no compatibility problems. What is the indicator that the two settings above are not successfully written? Do you have some logs? I tested again just before posting this on a standalone VM of Multi-Session Windows 11 23H2. After running VDOT, I restarted, created a new user, logged in as that user, checked the settings, and those settings are set. Thanks, Robert M. Smith |
Thanks for your reply. I've just tried again and captured the logs. Assuming this is in order (it is by the looks of things). Default User JSON This is for the Storage Sense property (StoragePolicy). You'll see the packer logs just completely ignore it and go from WindowsMetrics to ContentDeliveryManager I should note, this is Multi-Session Win11. So perhaps these keys aren't valid in Multi-session (which is just glorified Windows Server) |
Storage Sense is not applicable in Windows 11. I am somewhat surprised that AIB would validate a registry value, if that is what is going on. I would think it would just write it and go on. But since it's not applying in Windows 11, is there even an issue here to worry about? |
I have been watching the packer logs closely when building an image in Azure Image Builder.
I note that when optimize.ps1 runs through the DefaultUserSettings, some of the entries are not added.
Specifically:
{ "HivePath": "HKLM:\\VDOT_TEMP\\Software\\Microsoft\\Windows\\CurrentVersion\\StorageSense\\Parameters\\StoragePolicy", "KeyName": "01", "PropertyType": "DWORD", "PropertyValue": 0, "SetProperty": "True" }
and
{ "HivePath": "HKLM:\\VDOT_TEMP\\Software\\Microsoft\\Windows\\CurrentVersion\\CPSS\\Store\\InkingAndTypingPersonalization", "KeyName": "Value", "PropertyType": "DWORD", "PropertyValue": 0, "SetProperty": "True" }
Why would this be the case?
The text was updated successfully, but these errors were encountered: