Windows – Command line argument to open Action Center Settings

action-centercommand linewindows

What or is there a command to open the action center settings?

I want a command that opens this screen specifically. I know that I can open the generic action center by running "wscui.cpl", but that is not specifically what I want to do.

Any ideas?

Best Answer

There is no direct command to do that but you can use a script like this one.

Create a new text file, paste this code in it:

Option Explicit
Dim WshShell:Set WshShell=CreateObject("Wscript.Shell")
WshShell.run "rundll32.exe shell32.dll,Control_RunDLL wscui.cpl", 1
Wscript.Sleep 1000
WshShell.SendKeys("+{TAB}")
WshShell.SendKeys("+{TAB}")
WshShell.SendKeys("+{TAB}")
WshShell.SendKeys("+{TAB}")
WshShell.SendKeys("+{TAB}")
WshShell.SendKeys("+{TAB}")
WshShell.SendKeys("+{TAB}")
WshShell.SendKeys("+{TAB}")
Wscript.Sleep 10
WshShell.SendKeys("{ENTER}")

Save it under this name wscuisettings.vbs. double click on the file.

Related Question