Tools: CLAS - Change Video Resolution (Requires Reboot)
Log In or Register to download the BES file, and more.

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

ID1378
TitleTools: CLAS - Change Video Resolution (Requires Reboot)
DomainBESC
CategoryWindows Tools
Download Size2786
SourceSoftware Distribution Wizard
Keywordsscreen, resolution
Is TaskTrue
Added by on 1/15/2013 11:55:57 AM
Last Modified by on 1/15/2013 11:55:57 AM
Counters 2583 Views / 15 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

Used in 1 fixlet   * Results in a true/false
Show indented relevance
(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 ""
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
Success Criteria

This action will be considered successful when all lines of the action script have completed successfully.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!