Preloader
C#
  • Estimated reading time: 1 Minute

How to open the administrative tools directory of Windows in WinForms with C#

How to open the administrative tools directory of Windows in WinForms with C#

Administrative Tools is the collective name for several advanced tools in Windows that are used mainly by system administrators. This collection can be found in Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, and Windows Server operating system. In case that you are working on some optimization tool for windows or you are just creating shortcuts for tools you need in some app, this trick to open the mentioned directory may be useful for your collection. The tools were included in versions of Windows and the associated documentation for each tool should help you use these tools in Windows. The following list links to the official documentation of every tool:

The following short snippet should to the trick to open the administrative tools directory in any version of Windows (where the collection is available):

// Include diagnostics namespace at the beginning of your class
using System.Diagnostics;

// Create a new process that 
Process pProcess = new Process();

// e.g C:\WINNT\System32 or C:\Windows\System32
// run namely the C:\Windows\System32\control.exe file with the admintools argument
pProcess.StartInfo.FileName = Environment.SystemDirectory + "\\control.exe";
pProcess.StartInfo.Arguments = "admintools";
pProcess.StartInfo.UseShellExecute = true;

// Start process
pProcess.Start();

What we are doing under the hood is basically to run the control.exe executable located in the system directory with the admintools argument, which is basically the same as running the following command in the command line:

Administrative Tools Windows C#

Happy coding !

Share:
Carlos Delgado

Carlos Delgado

Senior Software Engineer at Software Medico. Interested in programming since he was 14 years old, Carlos is a self-taught programmer and founder and author of most of the articles at Our Code World.

Related articles
How to disable printing in Cefsharp for WinForms C#
19 Feb, 2021
  • Estimated reading time: 2 Minutes
How to allow and manipulate downloads in Cefsharp
16 Feb, 2021
  • Estimated reading time: 3 Minutes
How to retrieve the Downloads Directory Path in WinForms C#
16 Feb, 2021
  • Estimated reading time: 3 Minutes
Weekly trending
Top Free AI Tools to Identify Faces and Find Social Profiles Fast
19 Jun, 2026
  • Estimated reading time: 6 Minutes
Why Researchers Believe the One-Person Company Is Becoming a Reality
19 Jun, 2026
  • Estimated reading time: 5 Minutes
Top 7 AI Agent Development Partners in 2026
19 Jun, 2026
  • Estimated reading time: 5 Minutes
Best Data Lineage Tools for Data Engineers in 2026
19 Jun, 2026
  • Estimated reading time: 5 Minutes
Our Sponsors

Our blog is proudly supported by industry-leading sponsors.