winutil icon indicating copy to clipboard operation
winutil copied to clipboard

Windows 10: Script not applying tweaks and printing out some error

Open NelloKudo opened this issue 3 years ago • 5 comments

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:

  1. Install Windows 10 (English ver.)
  2. Open Powershell as admin
  3. Run the script

Expected behavior I just expected it to work as always xd

Screenshots image

image

image

NelloKudo avatar Sep 13 '23 23:09 NelloKudo

I am having this issue and same error output in Windows 11 clean install.

Daaboulex avatar Sep 13 '23 23:09 Daaboulex

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: @.***>

IVAN2527 avatar Sep 13 '23 23:09 IVAN2527

Just did an update. Let me check

ChrisTitusTech avatar Sep 13 '23 23:09 ChrisTitusTech

I see the issue with it. Using Windows Terminal (Admin) Work but old powershell 5 doesn't and spits out convert-json errors.

ChrisTitusTech avatar Sep 14 '23 00:09 ChrisTitusTech

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

ChrisTitusTech avatar Sep 14 '23 00:09 ChrisTitusTech