pratyakshm / WinRice

Set up your brand new Windows device up to a breathtaking 60 times faster.
GNU General Public License v3.0
330 stars 28 forks source link

Bug: Text bugging out in the app's cmd window #35

Closed prakharb5 closed 3 years ago

prakharb5 commented 3 years ago

WinRice version

v0.5.04112021 November Release

Windows version

Windows 10 21H1

Write absolute OS build version

10.0.19043.1288

Which category is the issue related to?

Windows Explorer / User Interface

Does something on the OS break or does WinRice functionality not work?

WinRice not working as expected

✔️ Expected Behavior

All the text appearing in the cmd box should appear normal

❌ Actual Behavior

Text is bugging out and is showing raw commands.

image image

Steps to reproduce

Run the script with custom settings

PowerShell transcript output

**********************
Windows PowerShell transcript start
Start time: 20211106202338
Username: DESKTOP-U899C1L\Pro
RunAs User: DESKTOP-U899C1L\Pro
Configuration Name: 
Machine: DESKTOP-U899C1L (Microsoft Windows NT 6.2.9200.0)
Host Application: C:\Users\Pro\Downloads\WinRice-v0.5.04112021.exe
Process ID: 8880
PSVersion: 5.1.19041.1237
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.19041.1237
BuildVersion: 10.0.19041.1237
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
**********************
WinRice pre-execution environment

Copyright (c) Pratyaksh Mehrotra and contributors
https://github.com/pratyakshm/WinRice

  [\] Supported Windows version

  [|] Supported Windows version

  [/] Supported Windows version

  [-] Supported Windows version

  [\] Supported Windows version

  [|] Supported Windows version

  [/] Supported Windows version

  [-] Supported Windows version

  [+]
Supported Windows version

  [\] Elevated PowerShell session

  [|] Elevated PowerShell session

  [/] Elevated PowerShell session

  [-] Elevated PowerShell session

  [\] Elevated PowerShell session

  [|] Elevated PowerShell session

  [/] Elevated PowerShell session

  [-] Elevated PowerShell session

  [+]
Elevated PowerShell session

  [\] Device connection

  [|] Device connection

  [/] Device connection

  [-] Device connection

  [\] Device connection

  [|] Device connection

  [/] Device connection

  [-] Device connection

  [\] Device connection

  [|] Device connection

  [/] Device connection

  [-] Device connection

  [\] Device connection

  [|] Device connection

  [/] Device connection

  [-] Device connection

  [\] Device connection

  [|] Device connection

  [/] Device connection

  [-] Device connection

  [\] Device connection

  [|] Device connection

  [/] Device connection

  [-] Device connection

  [\] Device connection

  [|] Device connection

  [/] Device connection

  [-] Device connection

  [\] Device connection

  [|] Device connection

  [/] Device connection

  [-] Device connection

  [\] Device connection

  [|] Device connection

  [/] Device connection

  [-] Device connection

  [\] Device connection

  [|] Device connection

  [/] Device connection

  [-] Device connection

  [+]
Device connection

  [\] No restarts needed

  [|] No restarts needed

  [/] No restarts needed

  [-] No restarts needed

  [\] No restarts needed

  [|] No restarts needed

  [/] No restarts needed

  [-] No restarts needed

  [+]
No restarts needed

  [\] Setting up PowerShell

  [|] Setting up PowerShell

  [/] Setting up PowerShell

  [-] Setting up PowerShell

  [\] Setting up PowerShell

  [|] Setting up PowerShell

  [/] Setting up PowerShell

  [-] Setting up PowerShell

  [+]
Setting up PowerShell

Express Settings:
 A predefined set of unnecessary apps will be uninstalled.
 A predefined set of unnecessary features will be uninstalled.
 Apps will not be installed.
 .NET 3.5 will not be installed.
 Microsoft OneDrive will not be uninstalled.
 Widgets will not be uninstalled.
 Windows Subsystem for Linux will not be installed.
 Windows Sandbox will not be installed.

Please take your time to answer the questions below in order to save user config.
Press Enter to proceed after answering a question.

APP DEPLOYMENT

FEATURE DEPLOYMENT

WINDOWS UPDATE

To sum it up,
Apps will not be installed.
dotNET 3.5 will not be installed.
Windows Subsystem for Linux will not be installed.
Windows Sandbox will not be installed.
Non-essential optional features will be uninstalled.
Widgets will be not be uninstalled, and will be updated to the latest version instead.
Windows automatic updates will be turned off.
Windows updates will not be delayed.
System restore point will not be created.

If this configuration is correct,
press any key to go ahead.
If this configuration is not correct, restart WinRice and create a new one.
Starting WinRice...

pratyakshm's WinRice - v0.5.04112021

Copyright (c) Pratyaksh Mehrotra (a.k.a. pratyakshm) and contributors
https://github.com/pratyakshm/WinRice

Windows 10 Pro 21H1
Build 10.0.19043.1288, vb_release branch

-------------------------
     APPS & FEATURES
-------------------------

Updating Visual C++ libraries...
Updated Visual C++ libraries.

Updating Microsoft Store...
Could not update Microsoft Store.

Installing NanaZip... (Ctrl + Click: https://github.com/M2Team/NanaZip)
No Microsoft Store account found, failed to acquire app.

Installing HEVC Video Extensions...
Installed HEVC Video Extensions.

Checking if Widgets are updated...
Widgets are up to date.

Installing Cascadia Code...
Installed Cascadia Code.

Unpinning all tiles from Start Menu...
Unpinned all tiles from Start Menu.

Unpinning apps from taskbar...
Unpinned apps from taskbar.

Removing capabilites and features...
    - Uninstalled Math Recognizer
    - Uninstalled Steps Recorder
    - Uninstalled Snipping Tool
    - Uninstalled Windows Fax & Scan
    - Uninstalled Windows Media Player
    - Uninstalled Windows Hello Face
    - Uninstalled Windows PowerShell ISE
    - Uninstalled Windows XPS Features
    - Uninstalled WordPad
    - Disabled DirectPlay
    - Disabled PowerShell v2 (root)
    - Disabled SMB1 protocol
    - Disabled SMB Direct
    - Disabled Work Folders Client
    - Disabled XPS Document Writer
Removed capabilities and features.

---------------------------
     CHANGES PERFORMED
---------------------------

-------------------------
    PRIVACY & SECURITY
-------------------------

Turning off Activity History...
Turned off Activity History.

Turning off Advertising ID...
Turned off Advertising ID.

Turning off Background apps...
PS>TerminatingError(ForEach-Object): "Missing an argument for parameter 'Process'. Specify a parameter of type 'System.Management.Automation.ScriptBlock[]' and try again."
>> TerminatingError(ForEach-Object): "Missing an argument for parameter 'Process'. Specify a parameter of type 'System.Management.Automation.ScriptBlock[]' and try again."
Turned off Background apps.

Turning off Windows Error Reporting...
Turned off Windows Error Reporting.

Turning off Feedback notifications...
Turned off Feedback notifications.

Turning off Inking & typing personalization...
Turned off Inking & typing personalization.

Turning off websites' ability to provide you with locally relevant content by accessing your language list...
Turned off websites' ability to provide you with locally relevant content by accessing your language list.

Turning off location tracking...
Turned off Location tracking.

Turning off automatic Maps updates...
Turned off automatic Maps updates.

Turning off Online Speech recognition...
Turned off Online Speech recognition.

Turning off silent installation of suggested apps...
Turned off silent installation of suggested apps.

Turning off suggested content in Settings app...
Turned off suggested content in Settings app.

Turning off suggested content in Start menu...
Turned off suggested content in Start menu.

Turning off Tailored experiences...
PS>TerminatingError(Test-Path): "Cannot bind argument to parameter 'Path' because it is null."
>> TerminatingError(Set-ItemProperty): "Missing an argument for parameter 'Path'. Specify a parameter of type 'System.String[]' and try again."
Turned off Tailored experiences.

Turning off telemetry...
Turned off telemetry.

Turning on Clipboard History...
Turned on Clipboard History.
You can now copy multiple items to your clipboard.
Access your clipboard now using Windows key + V.

Turning on automatic login post updates...
Turned on Automatic login applying updates

---------------------------
     CHANGES PERFORMED
---------------------------

---------------------------
      TASKS & SERVICES
---------------------------

Turning on Storage Sense...
Turned on Storage Sense.

Turning off Reserved Storage...
Turned off Reserved Storage.

Turning off AutoPlay...
Turned off AutoPlay.

Turning off Autorun for all drives...
Turned off Autorun for all drives.

Turning off hibernation...
Turned off hibernation.

Setting BIOS time to UTC...
BIOS Time is set to UTC.

Setting Num lock to turn on autoamtically on Startup...
Num lock will turn on automatically on Startup.

Turning off unnecessary services...
    Stopped service: DiagTrack.
    Stopped service: SysMain.
Turned off unnecesarry services.

Turning off unnecessary tasks...
    Turned off task: Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser.
    Turned off task: Microsoft\Windows\Application Experience\ProgramDataUpdater.
    Turned off task: Microsoft\Windows\Application Experience\PcaPatchDbTask.
    Turned off task: Microsoft\Windows\Autochk\Proxy.
    Turned off task: Microsoft\Windows\Customer Experience Improvement Program\Consolidator.
    Turned off task: Microsoft\Windows\Customer Experience Improvement Program\UsbCeip.
    Turned off task: Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector.
    Turned off task: Microsoft\Windows\Windows Error Reporting\QueueReporting.
    Turned off task: Microsoft\Windows\Feedback\Siuf\DmClient.
    Turned off task: Microsoft\Windows\Feedback\Siuf\DmClientOnScenarioDownload.
Turned off unnecessary tasks.

Setting up Windows Update policies...
    - Turned off automatic updates
    - Turned off Delivery optimization.
    - Device will no longer auto restart if users are signed in.
    - Turned off re-installation of apps after Windows Updates.
Set up Windows Update policies.

---------------------------
     CHANGES PERFORMED
---------------------------

----------------------------------
          WINDOWS EXPLORER
----------------------------------

Binding Print Screen key to launch Snip overlay...
Bound Print Screen key to launch Snip overlay.

Showing extensions in file names...
Showed extensions in file names.

Hiding recent files from Quick Access...
Hidden recent files from Quick Access.

Turning off Sticky keys...
Turned off Sticky keys.

Setting default File Explorer view to This PC...
Set default File Explorer view to This PC.

Turning off 3D Objects...
Turned off 3D Objects.

Turning off Search bar...
Turned off Search bar.

Turning off Task view icon...
Turned off Task view icon.

Turning off Cortana icon...
Turned off Cortana icon.

Turning off Meet now...
Turned off Meet now.

Turning off News and interests...
Turned off News and interests.

---------------------------
     CHANGES PERFORMED
---------------------------

Thank you for using WinRice.
**********************
Windows PowerShell transcript end
End time: 20211106204523
**********************

Other software run

NA