Tools: CLAS - Change Video Resolution (Requires Reboot)
| 1 Votes |
Description
***Performs Reboot Once Complete - Resolution Adjustment Will Take Place During Next Logon***
This task can adjust the desktop screen resolution of a display. Maximum resolution size is dependent on graphics card and monitor on the remote computer(s).
You will be prompted for the desired Width and Height in pixels (i.e. A display of 1280x1024 is equal to Width:1280 Height:1024).
Recommended Resolution Sizes:
- 1024x768 (Full-Screen)
- 1280x720 (Wide-Screen)
- 1280x1024 (Full-Screen)
- 1920x1080 (Wide-Screen)
This task is applicable on: Windows XP and Windows 7 x64.
Property Details
| 1378 | |
| Tools: CLAS - Change Video Resolution (Requires Reboot) | |
| BESC | |
| Windows Tools | |
| 2786 | |
| Software Distribution Wizard | |
| screen, resolution | |
| True | |
| scrull on 1/15/2013 11:55:57 AM | |
| scrull on 1/15/2013 11:55:57 AM | |
| 5776 Views / 19 Downloads | |
* Average over 0 ratings.
** Log In or Register to add your rating.
|
Relevance
| Used in 1 fixlet | * Results in a true/false |
(name of it = "WinXP" OR (name of it = "Win7" AND x64 of it)) of operating system AND TRUE
Actions
Action 1 (default)
Action Link Click
here to initiate the deployment process.
Script Type
BigFix Action Script
action parameter query "Width" with description "Please enter the desired screen WIDTH (pixels):" with default "Success Criteria"
action parameter query "Height" with description "Please enter the desired screen HEIGHT (pixels):" with default ""
prefetch QRes.exe.tmp sha1:5a2a2889ffa25c82ff7b5b9ed96384da300ac951 size:2786 http://TEM.uncc.edu:52311/Uploads/5a2a2889ffa25c82ff7b5b9ed96384da300ac951/QRes.exe.tmp
extract QRes.exe.tmp
// Copy Down Necessary Files
waithidden cmd.exe /C xcopy "__Download\QRes.exe" "C:\drv\Res\" /S /Y /Q /I
delete "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\ChangeRes.bat"
// Create Start-up Script to Change Screen Resolution
createfile until end
@ECHO OFF
cd\
cd drv\Res
ECHO Adjusting Screen Resolution to: {parameter "Width" of action}x{parameter "Height" of action}
echo.
TIMEOUT /T 3
QRes.exe /x:{parameter "Width" of action} /y:{parameter "Height" of action}
RD /S /Q "C:\drv\Res"
DEL "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\ChangeRes.bat"
end
copy __createfile "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\ChangeRes.bat"
//Reboot Computer
waithidden cmd.exe /C shutdown -r -t 1
This action will be considered successful when all lines of the action script have completed successfully.
Sharing
| Social Media: |

