Skip to content

Change display refresh rate via command line on Windows

License

Notifications You must be signed in to change notification settings

sryze/RefreshRateSwitcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RefreshRateSwitcher

This program allows you to dynamically change the refresh rate of your monitor via command line on Windows 7/8/10+.

For example, it can be useful if your cheap-ass monitor makes an annoying squeaky sound when running at the maximum rate and you want to only use that mode while gaming.

Usage:

RefreshRateSwitcher <displayNum> <refreshRate>

<displayNum>
        Numeric index of the display: 0, 1, 2... etc.

<refreshRate>
        Refresh rate to use for the display, in hertz. Passing 0 will reset it to the default value.

Example:

RefreshRateSwitcher 0 144

Example AutoHotkey script - bind RefreshRateSwitcher to a global hotkey:

+#G::
	RunWait, "C:\Tools\RefreshRateSwitcher.exe" 0 144
	return

+#!G::
	RunWait, "C:\Tools\RefreshRateSwitcher.exe" 0 100
	return