How to change screen resolution via cmd?
Jal123
-
Jal123 -
Jal123 -
```bat
@echo off
powershell.exe -command "Add-Type -AssemblyName System.Windows.Forms; [System.Windows.Forms.Screen]::AllScreens | ForEach-Object { $_.Bounds.Size } | ForEach-Object { $size = $_; Start-Sleep -Seconds 1; (Get-WmiObject -Namespace root\wmi -Class WmiMonitorBasicDisplayParams).SetDisplayResolution(1024,768) }"
```
@echo off
powershell.exe -command "Add-Type -AssemblyName System.Windows.Forms; [System.Windows.Forms.Screen]::AllScreens | ForEach-Object { $_.Bounds.Size } | ForEach-Object { $size = $_; Start-Sleep -Seconds 1; (Get-WmiObject -Namespace root\wmi -Class WmiMonitorBasicDisplayParams).SetDisplayResolution(1024,768) }"
```
1 answer
-
Hi!
First, download Qres from this address:
https://www.majorgeeks.com/files/details/qres.html
Then, create a batch file with this inside:@echo off
QRes.exe /x:1024 /y:768
Place your batch file and QRes in the same folder.
--
1f u c4n r34d th1s u r34lly n33d t0 g37 l41d !