Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Wednesday, April 24, 2019 3:28 PM
Hi,
I am trying to make a task scheduler entry that will run upon screen resolution change...
I am trying to find a way to get this event, but the list is extensive...
I have not found the particular event id number that is triggered when a screen resolution change is made.
Thank you for your help !
All replies (4)
Thursday, April 25, 2019 6:34 AM
Hi,
Do you mean you want to get an event message when your screen resolution changes?
Please check the following articles and check if they help:
http://www.blackwasp.co.uk/DisplaySettingsChanged.aspx
/en-us/dotnet/api/microsoft.win32.systemevents.displaysettingschanged?view=netframework-4.8
/en-us/dotnet/api/microsoft.win32.systemevents.displaysettingschanging?view=netframework-4.8
Best regards,
Yilia
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.
Wednesday, May 1, 2019 1:30 AM
Hi,
Is there anything I can do for you?
If you have any problems or concerns, please feel free to post here.
Best regards,
Yilia
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.
Friday, May 3, 2019 12:50 PM
So is you answer give us the possibility with the windows task scheduler to monitor resolution changes ? or we have to code a program that will run to detect that kind of changes ?
Thanks Yilia
Monday, May 6, 2019 9:15 AM
Hi,
I didn't find any information about how to use task schedule to monitor the changes.
The events: DisplaySettingsChanged and DisplaySettingsChanging.
DisplaySettingsChanged is raised after the screen resolution has been changed in the Control Panel utility or via some other software. DisplaySettingsChanging runs slightly earlier, as the display details are being modified.
The last two links help us how to monitor these events.
Best regards,
Yilia
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.