只需要如下语句1句: System.Diagnostics.Process.Start("net user THEUSER THEPASS /add"); 就在IIS下添加了一个叫THEUSER,密码为THEPASS的用户。