CMD Batch file errors on Win 11 , works on Win 10 (RWeverything)


90Ninety

New member
Local time
5:46 AM
Posts
5
OS
11
So I am able to run RW everything (v1.7 x64) to achieve higher TDP for Laptop Celeron CPUs (Gemini and Apollo) , I can do this on both Win 10 and 11

However for whatever reason , when creating or running batch script to run the RW , the script fails on Windows 11 22H2 .. Exactly the same script works on Windows 10 22H2 , on exactly the same laptop ( swapped Win11 for Win 10 SSD)

As shown below script runs , showing the output .. On the right , the script fails but also shows some invalid characters

batch1.1).thumb.png.98e280029c11ce46b384ecf3cc16a01f.png

Note that RW everything will not run on windows 11 natively without turning off 'memory integrity' and MS 'Vulnerable Driver Blocklist' ( this needs doing in regedit) .

However manually running the program in Windows 11 runs just fine .. Just the script wont execute without this error

Any ideas on how to get this script working
 
Windows Build/Version
22H2

My Computer

System One

  • OS
    11
That script's responses look to me like language settings differences [chcp character set differences].
I've never worked on that topic so I cannot help with it.
CHCP - SS64
chcp- MSLearn


Best of luck,
Denis
 

My Computer

System One

  • OS
    Windows 11 Home x64 Version 23H2 Build 22631.3447
However manually running the program in Windows 11 runs just fine .. Just the script wont execute without this error

Any ideas on how to get this script working
You could try running the cmd prompt window in "Legacy Console Mode". Microsoft recommend this when the command-line is not displaying or operating correctly. See:

Failing that, you could try running your cmd script from within Powershell:
 

My Computers

System One System Two

  • OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 5600
    Motherboard
    MSI B550-A Pro
    Memory
    16 GB
    Graphics Card(s)
    Sapphire Radeon RX 6500XT (8 GB version)
    Monitor(s) Displays
    BenQ Mobuiz EX2710Q QHD, Iiyama ProLite X23377HDS
    Hard Drives
    MSI Spatium M461 4TB
  • Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Acer A114
    CPU
    Intel Celeron N4020
The answer is more mundane. You need to take care when copying text from a website.
Different locales don't use the same encodings for quote characters. Thus you end up with something that doesn't work.

This is one of many examples that matches your command line:
Good news: found a way to increase TDP limit on ezbook 3 pro (N3450 Apollo Lake & N4100 Gemini Lake)
My startup batch looks like this:

Rw.exe /Min /Nologo /Stdout /Command=”W16 0xFED170A8 0000″
Rw.exe /Min /Nologo /Stdout /Command=”WRMSR 0x610 0x0 0x00DD8F00 0″

Let's copy that literally into a script.
Code:
chcp 850

@echo Rw.exe /Min /Nologo /Stdout /Command=”W16 0xFED170A8 0000″
@echo Rw.exe /Min /Nologo /Stdout /Command=”WRMSR 0x610 0x0 0x00DD8F00 0″
Code:
C:\Users\GARLIN\Downloads>chcp 850
Active code page: 850
Rw.exe /Min /Nologo /Stdout /Command=ÔÇØW16 0xFED170A8 0000ÔÇ│
Rw.exe /Min /Nologo /Stdout /Command=ÔÇØWRMSR 0x610 0x0 0x00DD8F00 0ÔÇ│

Solution: Replace those quotes with your normal quotes.
 

My Computer

System One

  • OS
    Windows 7

Latest Support Threads

Back
Top Bottom