开发者

Removal of admin rights from each desktop using C# .NET

How should i remove admin rights for each desktop user on Win XP, Win Vista and Win 7 programmatical开发者_运维知识库ly using C# .NET ?


You can solve this problem with a cmd prompt.

With the NET GROUP Command, you can remove the admin-group from the user-group.

http://technet.microsoft.com/en-us/library/cc754051%28WS.10%29.aspx

http://ss64.com/nt/net_useradmin.html

best regards


You could P/Invoke NetGroupDelUser; not sure if there is a .NET equivalent.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜