Step 1
Locate the cmd.exe.mui
file in the %SYSTEMROOT%\System32\en-US
folder:
Step 2
Take ownership of the file from «TrustedInstaller».
Step 3
Grant all permissions for the file to «Administrators»:
Step 4
Run the script in PowerShell 5.1 (is does not work in PowerShell 7).