SlideShare a Scribd company logo
1 of 5
Download to read offline
SetRefresh 1.2 ReadMe                                                                December 5, 2003


                                               Overview

SetRefresh is a utility which attempts to optimize the monitor’s refresh rate, and in some cases the
resolution, for the best user experience. It does this by querying the capabilities of the display adapter
and the monitor. The first time a given monitor and display adapter combination is detected,
SetRefresh will set the mode to the preferred timing mode specified by the monitor, if one is specified
in the monitor's EDID. If no preferred timing mode is specified, SetRefresh will only try to optimize
the refresh rate. If a monitor and display adapter combination has been previously optimized,
SetRefresh will determine if the current resolution and color depth combination is one which has not
been previously optimized. If so, SetRefresh will try to optimize the refresh rate (the resolution will
not be changed). SetRefresh optimizes the refresh rate by selecting the highest refresh rate both the
display adapter and the monitor support for a given resolution and color depth. Only refresh rates
which the monitor has a preset for will be used. If SetRefresh cannot determine what the optimum
display mode or refresh rate is or there is any unexpected condition, then it will simply do nothing.

SetRefresh has no user interface, so other than the display changing modes or refresh rates, there will
be no user interaction. The user will never be prompted for input or see anything other than the
monitor’s refresh rate, and possibly resolution, changing.

SetRefresh is run every time a user logs in. It does not stay resident in system memory. Once it has
completed, SetRefresh will exit. It will, however, wait for any Windows™ Plug and Play (PnP)
enumeration to complete before it executes. If PnP has not completed within 10 minutes, SetRefresh
will exit without doing anything. Any optimizations will occur on the next login.

If the user overrides a setting made by SetRefresh by changing the mode or refresh rate, the user's
setting will not be overridden by SetRefresh. Note that changing the color depth selects a new mode
and SetRefresh will attempt to optimize the refresh rate.
FAQ

Q: Why didn’t SetRefresh optimize the refresh rate which I logged out and back in after selecting
   a new resolution?
A: You selected a resolution for which the monitor doesn't have a preset. SetRefresh will only select
   monitor presets unless the -p option is used. If the -p option is used, SetRefresh will select the
   highest refresh rate, for the current mode, the monitor and display adapter can both support.

Q: Why wasn't the monitor's preferred timing selected when it was first attached to the system?
A: The monitor's preferred timing is not listed in its presets. To enable the preferred timing to be
   selected even when the timing is not specified as a preset, the -p option must be used the first time
   the monitor is detected. This can be accomplished by carefully editing the registry key
   HKLMSoftwareMicrosoftWindowsCurrentVersionRunSetRefresh to add the -p option to
   the value (damaging the registry can prevent your machine from working so don’t edit the registry
   unless you know what you are doing). Future automatic monitor optimizations will use this
   setting. For combinations which have already been optimized, manually set the resolution to the
   one specified in the preferred timing and manually run SetRefresh with the -p and -f options to
   automatically optimize the refresh rate.

Q: Under what conditions will the resolution be changed instead of just the refresh rate?
A: The resolution will only be changed if all of the following conditions are met:
   1. It is the first time SetRefresh has seen a specific monitor and display adapter combination.
   2. The monitor has a preferred timing specified.
   3. The preferred timing is listed in the monitor’s presets (as specified by the established and
       standard timings sections of the EDID), unless the -p option is used.
   4. The display adapter can support the preferred timing mode.
   5. The mode is in the range which Windows believes the monitor can support (see the next
       question).
   In all other cases, only the refresh rate will be changed.

Q: Why doesn’t my monitor get set to its preferred timing and why don’t all of the modes my
   monitor is capable of supporting get listed in the Windows™ Display Properties Page?
A: When a monitor with an INF file is installed in Windows™, the operating system (OS) uses the
   information in the INF file to determine which modes the monitor supports. Rather than using
   the horizontal and vertical sync ranges specified in the monitor’s INF file and directly comparing
   them to the required rates for a specific mode, Microsoft introduced a factor into the calculation
   which effectively requires a monitor’s range limits to exceed the required rates by a specified
   amount. For example, the 1280x1024@75 Hz mode requires a horizontal sync rate of 79.9 kHz.
   If the monitor’s INF specifies the supported horizontal sync range as 31.5-80 kHz, the OS should
   allow the mode to be selected. In fact, the OS requires the range to be specified as 31.5-83 kHz
   in order to allow the mode to be selected. This behavior is documented in Microsoft
   KnowledgeBase article KB309569.

   The INF file could be changed to indicate the larger range limits; however, Windows Hardware
   Quality Lab’s (WHQL) certification requires the monitor’s INF file to match the data provided
in its EDID. This would work around the behavior in Windows™ but since other operating
   systems, which perform a direct comparison, rely only on the EDID, changing the EDID and INF
   to report the larger range could result in other operating systems attempting to set modes outside
   of the monitor’s actual range limits. That could result in a loss of the display image and,
   potentially, permanent damage to the monitor.

   Alternatively, if the monitor’s INF file is deleted and the monitor is re-enumerated (which would
   require the monitor first be removed using the device manager), the OS will allow all of the
   monitor’s supported modes. The downside is that some monitors (those without an ASCII name
   descriptor) will be listed as a Play and Play Monitor while others (those with an ASCII name
   descriptor and a serial number descriptor) will be listed as a combination of the name and the
   serial number (e.g. a Compaq P110 with S/N A12345678F would be listed as Compaq P110
   A12345678F Monitor).

Q: If I change the color depth, will the refresh rate change?
A: In most cases no, but some adapters have limitations on the refresh rate at their highest
   resolutions and color depths. When such a resolution is selected and the color depth is changed,
   the refresh rate may be changed to match what the adapter is capable of supplying.

Q: Can I force SetRefresh to optimize the display even if it did it previously?
A: Yes, run SetRefresh with the -f option to force optimization. This does not cause SetRefresh to
   ignore the flag which indicates that a specific monitor and display adapter configuration has been
   seen so using this option will not determine whether the resolution is changed or not. In fact, it
   is superfluous. The first time a new combination is seen, it will be optimized, so no -f option is
   needed. Subsequent executions of SetRefresh will not change the resolution. The -f option is
   intended to allow users who manually overrode the refresh rate setting SetRefresh selected, to
   automatically set the refresh rate to the original optimal setting.

Q: How do I get debug information to determine why a certain mode was selected?
A: Run SetRefresh with the -d option to generate a setrefresh.txt file in the same directory as the
   executable.

Q: How do I uninstall SetRefresh?
A: Login into an administrative account and run SetRefresh with the -u option to remove all registry
   entries associated with SetRefresh. Note that the SetRefresh.exe file and the directory it is in are
   not deleted so this is not the same as removing SetRefresh using Add/Remove Programs.

   If you run SetRefresh with the -u option from a restricted account, it will delete all of the current
   user's registry keys but it won't delete the entry in the Run key, the software installation key, or
   any other users' keys.

   SetRefresh can also be removed by using the Add/Remove Programs utility in the Windows™
   control panel. This will remove all registry entries, the executable, and the directory it is in. The
   entry in the Add/Remove Programs list will only be preset if SetRefresh was installed using the
   SoftPAQ. If SetRefresh is preinstalled, it will not create an Add/Remove Programs entry.
Q: How do I install SetRefresh?
A: The SoftPAQ will automatically install SetRefresh when it is run. However, to install it without
   the SoftPAQ, login to an administrative account, copy the executable into a directory on the hard
   disk, and run SetRefresh with the -i option. This will install SetRefresh into the Run key so it is
   executed at each login. It will also install the software key which indicates SetRefresh is installed
   and which version is being used. This will not create an entry in the Add/Remove Programs list.

   If the -i option is used in a restricted account, no changes will occur.

Q: In Windows 2000™ and Windows XP™, when SetRefresh changes the resolution, color depth,
   or refresh rate of the administrator, why does my restricted (user) account changes as well, and
   vice versa?
A: Windows 2000™ and Windows XP™ use the Administrator’s mode settings for restricted (user)
   accounts. A change in either the Administrator’s account or a restricted (user) account will be
   reflected in the other account. SetRefresh does not alter this behavior.
Optional Switches

The following optional switches can be used to adjust the operation of SetRefresh. When SetRefresh
runs at login, none of these options are selected. In the SoftPAQ installation, clicking on the menu
entry will run SetRefresh with the -f option. The option switches are not case sensitive.

-d This is used to enable the generation of a file with debug information regarding the display
   adapter and monitor. It will generate a filed named SetRefresh.txt in the same directory as
   SetRefresh.exe.

-f This is used to force the optimization to be done, even if the monitor has been previously
   optimized or the settings have been modified by the user. SetRefresh will not override the user's
   settings unless it is run with this option.

-i The SoftPAQ will automatically install SetRefresh when it is run. This option is used to install
   SetRefresh without the SoftPAQ. It will install SetRefresh into the Run key so it is executed at
   each login. It will also install the software key which indicates SetRefresh is installed and which
   version is being used. This option must be run from an administrative account. If it is used in a
   restricted account, it will do nothing.

-p This is used to make SetRefresh optimize the refresh rate for the current display resolution even
   it this resolution is not a preset mode for the monitor. Normally only presets are selected so the
   user is guaranteed to get a display which is properly centered and sized.

-u This is used to uninstall SetRefresh. If it is used by a restricted account, it will only remove the
   optimization flags for the current user. If it is used by an administrative account, it will remove
   optimization flags for all users, the software key, and the entry in the Run key. It does not delete
   the executable or the directory it is in.

More Related Content

Similar to Readme

2nd lesson installing operating system
2nd lesson installing operating system2nd lesson installing operating system
2nd lesson installing operating systemRaiza Janelle
 
Pcu230 pi pump_controlwithpf400drives_rev_a
Pcu230 pi pump_controlwithpf400drives_rev_aPcu230 pi pump_controlwithpf400drives_rev_a
Pcu230 pi pump_controlwithpf400drives_rev_aconfidencial
 
Windows server 2012 and group policy
Windows server 2012 and group policyWindows server 2012 and group policy
Windows server 2012 and group policyRavi Kumar Lanke
 
manual vvtk camera_st7501
manual vvtk camera_st7501manual vvtk camera_st7501
manual vvtk camera_st7501TSOLUTIONS
 
Testing and Benchmarking (Martyn)
Testing and Benchmarking (Martyn)Testing and Benchmarking (Martyn)
Testing and Benchmarking (Martyn)iteclearners
 
DeepFreeze Update Loop
DeepFreeze Update LoopDeepFreeze Update Loop
DeepFreeze Update LoopTimothy Reid
 
Pf400 process pid_for_fans_lab
Pf400 process pid_for_fans_labPf400 process pid_for_fans_lab
Pf400 process pid_for_fans_labconfidencial
 
Mcafee Epolicy Orchestrator
Mcafee Epolicy OrchestratorMcafee Epolicy Orchestrator
Mcafee Epolicy OrchestratorMindRiver Group
 
Surveon SMR8300 Megapixel RAID NVR Installation Guide -2
Surveon SMR8300 Megapixel RAID NVR Installation Guide -2Surveon SMR8300 Megapixel RAID NVR Installation Guide -2
Surveon SMR8300 Megapixel RAID NVR Installation Guide -2Surveon Technology Inc.
 
ZMPCZM019000.12.06 NeuroGames User's manual
ZMPCZM019000.12.06 NeuroGames User's manualZMPCZM019000.12.06 NeuroGames User's manual
ZMPCZM019000.12.06 NeuroGames User's manualPainezee Specialist
 
WPF 4 Series: Getting Started
WPF 4 Series: Getting StartedWPF 4 Series: Getting Started
WPF 4 Series: Getting StartedGhasem Karimi
 
Wpf4 july2010
 Wpf4 july2010 Wpf4 july2010
Wpf4 july2010tedhu
 
Testing and Benchmarking (Joel)
Testing and Benchmarking (Joel)Testing and Benchmarking (Joel)
Testing and Benchmarking (Joel)iteclearners
 
Optiplex 380 service manual2-en-us
Optiplex 380 service manual2-en-usOptiplex 380 service manual2-en-us
Optiplex 380 service manual2-en-usBk Rathi
 
Installing red hat enterprise linux1
Installing red hat enterprise linux1Installing red hat enterprise linux1
Installing red hat enterprise linux1Teja Bheemanapally
 
Installing red hat enterprise linux1
Installing red hat enterprise linux1Installing red hat enterprise linux1
Installing red hat enterprise linux1Teja Bheemanapally
 
To pass ite chapter 5 exam
To pass ite chapter 5 examTo pass ite chapter 5 exam
To pass ite chapter 5 examAhmed Abdullah
 

Similar to Readme (20)

2nd lesson installing operating system
2nd lesson installing operating system2nd lesson installing operating system
2nd lesson installing operating system
 
Pcu230 pi pump_controlwithpf400drives_rev_a
Pcu230 pi pump_controlwithpf400drives_rev_aPcu230 pi pump_controlwithpf400drives_rev_a
Pcu230 pi pump_controlwithpf400drives_rev_a
 
HDXPRT 2014 User Manual
HDXPRT 2014 User ManualHDXPRT 2014 User Manual
HDXPRT 2014 User Manual
 
Windows server 2012 and group policy
Windows server 2012 and group policyWindows server 2012 and group policy
Windows server 2012 and group policy
 
manual vvtk camera_st7501
manual vvtk camera_st7501manual vvtk camera_st7501
manual vvtk camera_st7501
 
Testing and Benchmarking (Martyn)
Testing and Benchmarking (Martyn)Testing and Benchmarking (Martyn)
Testing and Benchmarking (Martyn)
 
DeepFreeze Update Loop
DeepFreeze Update LoopDeepFreeze Update Loop
DeepFreeze Update Loop
 
Pf400 process pid_for_fans_lab
Pf400 process pid_for_fans_labPf400 process pid_for_fans_lab
Pf400 process pid_for_fans_lab
 
Mcafee Epolicy Orchestrator
Mcafee Epolicy OrchestratorMcafee Epolicy Orchestrator
Mcafee Epolicy Orchestrator
 
Surveon SMR8300 Megapixel RAID NVR Installation Guide -2
Surveon SMR8300 Megapixel RAID NVR Installation Guide -2Surveon SMR8300 Megapixel RAID NVR Installation Guide -2
Surveon SMR8300 Megapixel RAID NVR Installation Guide -2
 
ZMPCZM019000.12.06 NeuroGames User's manual
ZMPCZM019000.12.06 NeuroGames User's manualZMPCZM019000.12.06 NeuroGames User's manual
ZMPCZM019000.12.06 NeuroGames User's manual
 
WPF 4 Series: Getting Started
WPF 4 Series: Getting StartedWPF 4 Series: Getting Started
WPF 4 Series: Getting Started
 
Wpf4 july2010
 Wpf4 july2010 Wpf4 july2010
Wpf4 july2010
 
Testing and Benchmarking (Joel)
Testing and Benchmarking (Joel)Testing and Benchmarking (Joel)
Testing and Benchmarking (Joel)
 
Optiplex 380 service manual2-en-us
Optiplex 380 service manual2-en-usOptiplex 380 service manual2-en-us
Optiplex 380 service manual2-en-us
 
Pacthing
PacthingPacthing
Pacthing
 
Installing red hat enterprise linux1
Installing red hat enterprise linux1Installing red hat enterprise linux1
Installing red hat enterprise linux1
 
Installing red hat enterprise linux1
Installing red hat enterprise linux1Installing red hat enterprise linux1
Installing red hat enterprise linux1
 
To pass ite chapter 5 exam
To pass ite chapter 5 examTo pass ite chapter 5 exam
To pass ite chapter 5 exam
 
Adpatch options
Adpatch optionsAdpatch options
Adpatch options
 

Recently uploaded

Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 

Recently uploaded (20)

Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 

Readme

  • 1. SetRefresh 1.2 ReadMe December 5, 2003 Overview SetRefresh is a utility which attempts to optimize the monitor’s refresh rate, and in some cases the resolution, for the best user experience. It does this by querying the capabilities of the display adapter and the monitor. The first time a given monitor and display adapter combination is detected, SetRefresh will set the mode to the preferred timing mode specified by the monitor, if one is specified in the monitor's EDID. If no preferred timing mode is specified, SetRefresh will only try to optimize the refresh rate. If a monitor and display adapter combination has been previously optimized, SetRefresh will determine if the current resolution and color depth combination is one which has not been previously optimized. If so, SetRefresh will try to optimize the refresh rate (the resolution will not be changed). SetRefresh optimizes the refresh rate by selecting the highest refresh rate both the display adapter and the monitor support for a given resolution and color depth. Only refresh rates which the monitor has a preset for will be used. If SetRefresh cannot determine what the optimum display mode or refresh rate is or there is any unexpected condition, then it will simply do nothing. SetRefresh has no user interface, so other than the display changing modes or refresh rates, there will be no user interaction. The user will never be prompted for input or see anything other than the monitor’s refresh rate, and possibly resolution, changing. SetRefresh is run every time a user logs in. It does not stay resident in system memory. Once it has completed, SetRefresh will exit. It will, however, wait for any Windows™ Plug and Play (PnP) enumeration to complete before it executes. If PnP has not completed within 10 minutes, SetRefresh will exit without doing anything. Any optimizations will occur on the next login. If the user overrides a setting made by SetRefresh by changing the mode or refresh rate, the user's setting will not be overridden by SetRefresh. Note that changing the color depth selects a new mode and SetRefresh will attempt to optimize the refresh rate.
  • 2. FAQ Q: Why didn’t SetRefresh optimize the refresh rate which I logged out and back in after selecting a new resolution? A: You selected a resolution for which the monitor doesn't have a preset. SetRefresh will only select monitor presets unless the -p option is used. If the -p option is used, SetRefresh will select the highest refresh rate, for the current mode, the monitor and display adapter can both support. Q: Why wasn't the monitor's preferred timing selected when it was first attached to the system? A: The monitor's preferred timing is not listed in its presets. To enable the preferred timing to be selected even when the timing is not specified as a preset, the -p option must be used the first time the monitor is detected. This can be accomplished by carefully editing the registry key HKLMSoftwareMicrosoftWindowsCurrentVersionRunSetRefresh to add the -p option to the value (damaging the registry can prevent your machine from working so don’t edit the registry unless you know what you are doing). Future automatic monitor optimizations will use this setting. For combinations which have already been optimized, manually set the resolution to the one specified in the preferred timing and manually run SetRefresh with the -p and -f options to automatically optimize the refresh rate. Q: Under what conditions will the resolution be changed instead of just the refresh rate? A: The resolution will only be changed if all of the following conditions are met: 1. It is the first time SetRefresh has seen a specific monitor and display adapter combination. 2. The monitor has a preferred timing specified. 3. The preferred timing is listed in the monitor’s presets (as specified by the established and standard timings sections of the EDID), unless the -p option is used. 4. The display adapter can support the preferred timing mode. 5. The mode is in the range which Windows believes the monitor can support (see the next question). In all other cases, only the refresh rate will be changed. Q: Why doesn’t my monitor get set to its preferred timing and why don’t all of the modes my monitor is capable of supporting get listed in the Windows™ Display Properties Page? A: When a monitor with an INF file is installed in Windows™, the operating system (OS) uses the information in the INF file to determine which modes the monitor supports. Rather than using the horizontal and vertical sync ranges specified in the monitor’s INF file and directly comparing them to the required rates for a specific mode, Microsoft introduced a factor into the calculation which effectively requires a monitor’s range limits to exceed the required rates by a specified amount. For example, the 1280x1024@75 Hz mode requires a horizontal sync rate of 79.9 kHz. If the monitor’s INF specifies the supported horizontal sync range as 31.5-80 kHz, the OS should allow the mode to be selected. In fact, the OS requires the range to be specified as 31.5-83 kHz in order to allow the mode to be selected. This behavior is documented in Microsoft KnowledgeBase article KB309569. The INF file could be changed to indicate the larger range limits; however, Windows Hardware Quality Lab’s (WHQL) certification requires the monitor’s INF file to match the data provided
  • 3. in its EDID. This would work around the behavior in Windows™ but since other operating systems, which perform a direct comparison, rely only on the EDID, changing the EDID and INF to report the larger range could result in other operating systems attempting to set modes outside of the monitor’s actual range limits. That could result in a loss of the display image and, potentially, permanent damage to the monitor. Alternatively, if the monitor’s INF file is deleted and the monitor is re-enumerated (which would require the monitor first be removed using the device manager), the OS will allow all of the monitor’s supported modes. The downside is that some monitors (those without an ASCII name descriptor) will be listed as a Play and Play Monitor while others (those with an ASCII name descriptor and a serial number descriptor) will be listed as a combination of the name and the serial number (e.g. a Compaq P110 with S/N A12345678F would be listed as Compaq P110 A12345678F Monitor). Q: If I change the color depth, will the refresh rate change? A: In most cases no, but some adapters have limitations on the refresh rate at their highest resolutions and color depths. When such a resolution is selected and the color depth is changed, the refresh rate may be changed to match what the adapter is capable of supplying. Q: Can I force SetRefresh to optimize the display even if it did it previously? A: Yes, run SetRefresh with the -f option to force optimization. This does not cause SetRefresh to ignore the flag which indicates that a specific monitor and display adapter configuration has been seen so using this option will not determine whether the resolution is changed or not. In fact, it is superfluous. The first time a new combination is seen, it will be optimized, so no -f option is needed. Subsequent executions of SetRefresh will not change the resolution. The -f option is intended to allow users who manually overrode the refresh rate setting SetRefresh selected, to automatically set the refresh rate to the original optimal setting. Q: How do I get debug information to determine why a certain mode was selected? A: Run SetRefresh with the -d option to generate a setrefresh.txt file in the same directory as the executable. Q: How do I uninstall SetRefresh? A: Login into an administrative account and run SetRefresh with the -u option to remove all registry entries associated with SetRefresh. Note that the SetRefresh.exe file and the directory it is in are not deleted so this is not the same as removing SetRefresh using Add/Remove Programs. If you run SetRefresh with the -u option from a restricted account, it will delete all of the current user's registry keys but it won't delete the entry in the Run key, the software installation key, or any other users' keys. SetRefresh can also be removed by using the Add/Remove Programs utility in the Windows™ control panel. This will remove all registry entries, the executable, and the directory it is in. The entry in the Add/Remove Programs list will only be preset if SetRefresh was installed using the SoftPAQ. If SetRefresh is preinstalled, it will not create an Add/Remove Programs entry.
  • 4. Q: How do I install SetRefresh? A: The SoftPAQ will automatically install SetRefresh when it is run. However, to install it without the SoftPAQ, login to an administrative account, copy the executable into a directory on the hard disk, and run SetRefresh with the -i option. This will install SetRefresh into the Run key so it is executed at each login. It will also install the software key which indicates SetRefresh is installed and which version is being used. This will not create an entry in the Add/Remove Programs list. If the -i option is used in a restricted account, no changes will occur. Q: In Windows 2000™ and Windows XP™, when SetRefresh changes the resolution, color depth, or refresh rate of the administrator, why does my restricted (user) account changes as well, and vice versa? A: Windows 2000™ and Windows XP™ use the Administrator’s mode settings for restricted (user) accounts. A change in either the Administrator’s account or a restricted (user) account will be reflected in the other account. SetRefresh does not alter this behavior.
  • 5. Optional Switches The following optional switches can be used to adjust the operation of SetRefresh. When SetRefresh runs at login, none of these options are selected. In the SoftPAQ installation, clicking on the menu entry will run SetRefresh with the -f option. The option switches are not case sensitive. -d This is used to enable the generation of a file with debug information regarding the display adapter and monitor. It will generate a filed named SetRefresh.txt in the same directory as SetRefresh.exe. -f This is used to force the optimization to be done, even if the monitor has been previously optimized or the settings have been modified by the user. SetRefresh will not override the user's settings unless it is run with this option. -i The SoftPAQ will automatically install SetRefresh when it is run. This option is used to install SetRefresh without the SoftPAQ. It will install SetRefresh into the Run key so it is executed at each login. It will also install the software key which indicates SetRefresh is installed and which version is being used. This option must be run from an administrative account. If it is used in a restricted account, it will do nothing. -p This is used to make SetRefresh optimize the refresh rate for the current display resolution even it this resolution is not a preset mode for the monitor. Normally only presets are selected so the user is guaranteed to get a display which is properly centered and sized. -u This is used to uninstall SetRefresh. If it is used by a restricted account, it will only remove the optimization flags for the current user. If it is used by an administrative account, it will remove optimization flags for all users, the software key, and the entry in the Run key. It does not delete the executable or the directory it is in.