winutil
winutil copied to clipboard
Fix/issue 3815
Type of Change
- [ ] New feature
- [x] Bug fix
- [ ] Documentation update
- [ ] Refactoring
- [ ] Hotfix
- [ ] Security patch
- [ ] UI/UX improvement
Description
This PR fixes the "Set Time to UTC" tweak. Previously, it set the RealTimeIsUniversal registry key as a DWord (32-bit). On 64-bit Windows systems (especially dual-boot scenarios), this key is often ignored unless it is a QWord (64-bit). Resolves #3815
I have updated config/tweaks.json to use QWord for this entry.
Testing
Verified that the RealTimeIsUniversal key is created as a QWORD after this change.
Confirmed that the registry value remains 1.
Impact
Users dual-booting with Linux should now have correct time synchronization when switching between OSes. No impact on 32-bit systems as REG_QWORD is valid there as well (though less critical).
Issue related to PR
- Resolves #3815
Additional Information
Checklist
- [x] My code adheres to the coding and style guidelines of the project.
- [x] I have performed a self-review of my own code.
- [x] I have commented my code, particularly in hard-to-understand areas.
- [x] I have made corresponding changes to the documentation.
- [x] My changes generate no errors/warnings/merge conflicts.