Apply changes made in registry regarding window metrics

Lukas 0 Reputation points
2024-04-23T13:05:40.3633333+00:00

I want to set specific values for:
Computer\HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics

Is there a way to apply registry changes without the need of logging off and on? Perhaps some service needs restarting? I've tried to restart explorer.exe and dwm.exe, but with no success.

Disclaimer:
I know about winapi function SystemParametersInfo, however this function does not follow specifications, so I am looking for a workaround.

Thank you for your time.

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,492 questions
{count} votes