Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am trying to fetch the "User Rights Assignment" from Local Computer Policy ->Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> User Rights Assignment.

I have tried with RSOP_UserPrivilegeRight WMI Query. But its not displying User Rights Assignment.

Please help me.

Thanks
Posted
Comments
Sergey Alexandrovich Kryukov 7-May-15 9:45am    
There is no such thing as "DOS" or "DOS command", not in the systems which have WMI, etc. Keep using WMI.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900