Questions tagged [controlpanel]

121 questions
2
votes
4 answers

How do I configure group policies using C#?

How can I manipulate group policy based restriction for the controlpanel and the taskmanager in C#?
Suriyan Suresh
  • 2,964
  • 14
  • 51
  • 80
2
votes
0 answers

Open property window of a folder in C#

I'm creating a custom folder browser in WPF, and there is a requirement to open the folder's property window directly from the application itself. I know there is something called .cpl file which we can use in a C# program to open the window in a…
Ali Asad
  • 1,235
  • 1
  • 18
  • 33
2
votes
3 answers

Powershell - Setting service StatusType to be 'Automatic'

I have written a Powershell script that should set a service to StatusType = 'Automatic'. But when I run the script it actually sets the StatusType = 'Automatic (Delayed Start) '. Below is my script:- Set-Service -name 'XXXXX Data Import Service'…
ED209
  • 588
  • 1
  • 9
  • 26
2
votes
0 answers

Is there a way to run the "Wireless Network Connection" applet in vb.net or from the shell?

I know that I can open the "Network Connections" control panel location by executing "ncpa.cpl", but that is not good enough for my application. I want to actually open the list of available networks (the equivalent of clicking on the "Wireless…
DrEsperanto
  • 167
  • 9
2
votes
1 answer

Java Control Panel doesn't want to save JRE changes?

I'm trying to add some runtime parameters to the Java Plug-In so that I can debug an applet in my browser. I go to the Java ControlPanel, click the Java tab, and click "View..." and add the runtime parameters. After I click OK and close everything,…
Joe Attardi
  • 4,381
  • 3
  • 39
  • 41
2
votes
1 answer

Programmatically open 'Set Associations' in WPF application?

I want my user to be able to press a button and start a given control panel item, such as the Set Associations window. Must work for any Windows version, but the path would lead here: Control Panel\All Control Panel Items\Default Programs\Set…
user1618054
2
votes
0 answers

Installing ASP.Net from "Turn windows features on or off" fails

For whatever reason my Visual studio solution no longer loads some projects. After clicking on the website in IIS I Noticed some configurations no longer present suggesting I needed to install ASP.Net from my control panel using the "Turn Windows…
TheWommies
  • 4,922
  • 11
  • 61
  • 79
2
votes
2 answers

Why can't I start the Windows Update control panel with WinExec?

In Executing Control Panel Items, MSDN says this: Windows Vista Canonical Names In Windows Vista and later, the preferred method of launching a Control Panel item from a command line is to use the Control Panel item's canonical name. According to…
Bill
  • 2,993
  • 5
  • 37
  • 71
2
votes
1 answer

Configuring Plesk panel on Google Compute Engine

I am trying to configure Plesk panel on Compute Engine running CentOS.I am very new to all this, so I'm sorry if this is a stupid question! After the install, I can't access my Plesk panel. I understood from the documentation that I could access it…
user3985519
2
votes
2 answers

Disabling screen saver programatically doesn't affect the control panel?

I've successfully disabled the screensaver using the method described in this page. The problem is that when I do this, the control panel dialog still indicates that there is an active screensaver. Nothing seems to be changed there. If the user…
shoosh
  • 76,898
  • 55
  • 205
  • 325
2
votes
1 answer

DirectAdmin alternative raspberry Pi

I got a Raspberry not so long ago, and have some basic Linux knowledge. This Raspberry Pi is host collocated with reverse DNS and its own domain + IP. Now I want to turn this into a mailserver. I tried Citadel, but that was not really what I was…
2
votes
0 answers

Changing system language from control panel using c#

I'm trying to test an application to see if it displays the right language strings when I change the system language. I intend on automating the process. So I'll change the language, launch my AUT and check to see if the correct language strings are…
user3020320
  • 61
  • 1
  • 8
2
votes
1 answer

How do I launch the "Manage another account" page from the "User Accounts" section in the control panel from a C# application

How do I launch the "Manage another account" page from the "User Accounts" section in the control panel from a C# application? I can currently launch the "User Accounts" app by using the command: System.Diagnostics.Process.Start("control.exe",…
Neil Hobson
  • 515
  • 1
  • 7
  • 14
2
votes
1 answer

How to change windows control panel settings through C#

More specifically I want to change Visual Effects. My goal is to press a button then have it change the 15 visual effects. Such as turning off "drop shadow" and disabling "fade/slide menus into view." I did a ton of searching and the only thing I…
Tim T
  • 41
  • 2
  • 4
1
vote
0 answers

Creating a script to disable Left speaker In Control Panel In Windows

My left speaker is torn , I can't replace it right now .There is a appaling sound when i play media .A way around is to go to the Control Panel >Hardware and Sound >Change system sounds > Right Click on the speaker (Playback tab) >Properties…
1 2
3
8 9