none
How to open SystemSettings.exe from inside my program RRS feed

  • Question

  • How do I get SystemSettings.exe to open from inside my program. When I try to get it to run it will not run. I have even tried using command prompt to try and run it but it will not run. I type in the full path C:\Windows\ImmersiveControlPanel\SystemSettings.exe but it does not run. The only way to open settings is to use the start menu but I want to be able to open it from my program. How do I do this? Does it require an argument or something that I need to add? I have even tried double clicking the file just to test it. Why does it only open when selected from the start menu? 
    Tuesday, October 22, 2019 9:00 PM

Answers

  • How do I get SystemSettings.exe to open from inside my program.
    Process.Start("ms-settings:");


    • Proposed as answer by Ashidacchi Wednesday, October 23, 2019 1:41 AM
    • Marked as answer by LavaCreeperKing Saturday, October 26, 2019 8:17 PM
    Tuesday, October 22, 2019 11:42 PM

All replies

  • Use this list

    https://www.lifewire.com/command-line-commands-for-control-panel-applets-2626060

    Process.Start("timedate.cpl");
    Above will open date time settings.


    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    StackOverFlow
    profile for Karen Payne on Stack Exchange

    Tuesday, October 22, 2019 9:24 PM
    Moderator
  • How do I get SystemSettings.exe to open from inside my program.
    Process.Start("ms-settings:");


    • Proposed as answer by Ashidacchi Wednesday, October 23, 2019 1:41 AM
    • Marked as answer by LavaCreeperKing Saturday, October 26, 2019 8:17 PM
    Tuesday, October 22, 2019 11:42 PM
  • Hi LavaCreeperKing, 

    Thank you for posting here.

    You can also use the following code to open Windows Settings.

                ProcessStartInfo startInfo = new ProcessStartInfo("ms-settings:");
                Process.Start(startInfo);

    Best Regards,

    Xingyu Zhao



    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, October 23, 2019 3:01 AM
    Moderator