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", "nusrmgr.cpl");

but I would like to avoid having to click on the "manage another account" link withing this.

1

There are 1 answers

1
Matija Grcic On BEST ANSWER

You can use to get the users:

Win + R > control userpasswords2

Start > Search > netplwiz

Update:

You can also call it with the following commands but i can't find how to call the 'Control Panel\User Accounts and Family Safety\User Accounts\Manage Accounts' directly other then the previously stated commands.

User Accounts = control /name Microsoft.UserAccounts

User Account Control Settings = UserAccountControlSettings

Sources:

The Definitive Windows 7 Commands Guide

Start | Run Commands for Windows XP, Vista and Windows 7:

A List of Run Commands for Windows 7