Windows 10: Script not applying tweaks and printing out some error
Describe the bug
Winutil won't apply any tweak from the dropdown menu on a clean Windows 10 install made with latest mediacreationtool.exe
After launching it from PowerShell, there's indeed some issue with convertfrom-json.
To Reproduce
Steps to reproduce the behavior:
- Install Windows 10 (English ver.)
- Open Powershell as admin
- Run the script
Expected behavior I just expected it to work as always xd
Screenshots
I am having this issue and same error output in Windows 11 clean install.
Thanks
On Wed, Sep 13, 2023, 7:50 PM Stephan Daaboul @.***> wrote:
I am having this issue and same error output in Windows 11 clean install.
— Reply to this email directly, view it on GitHub https://github.com/ChrisTitusTech/winutil/issues/1025#issuecomment-1718454459, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6CUO6YQDKFVNKVNKU4JLBLX2JBFJANCNFSM6AAAAAA4XHAVC4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Just did an update. Let me check
I see the issue with it. Using Windows Terminal (Admin) Work but old powershell 5 doesn't and spits out convert-json errors.
Found it! powershell 5.1 has a bug where if their is a trailing common on the last entry in JSON it errors like this. Really dumb, but then again it's Microsoft... commit 1fb9f3e