IamWasim

I want to set or modify the WMI security namespace so that user cannot access USB devices attached to the computer. Also to disable and enable this access. The solution should be in VB.NET or C#


Re: Visual Basic Express Edition How to Set WMI Namespace Security in Windows using VB.NET

Bruno Yu - MSFT

IamWasim,

Please take a look at the following article titled WMI Namespace Security from code project in the link. This article describes WMI namespace security, and introduces code to review and modify WMI Namespace security. The code in written in C#. I believe you will get help from this article. :-)

http://www.codeproject.com/cs/system/WmiSecurity.asp