This is pretty old, but I found that it doesn’t work from a third-party program, because cmd does not inherit the environment, so they did not work like they did in Run Box:
PresentationSettingsPresentationSettings /startPresentationSettings /stop
However, using powershell to create a new environment, I was able to programmatically invoke it using the following commands:
Start-Process cmd -ArgumentList "/c PresentationSettings" # for a GUI to appearStart-Process cmd -ArgumentList "/c PresentationSettings /start" -NoNewWindow # run without gui, but the icon will appear in the trayStart-Process cmd -ArgumentList "/c PresentationSettings /stop" -NoNewWindow # run without gui, but the icon disappears from the tray after it starts.
Bewc
source share