简体   繁体   English

使用VBScript查询本地组策略

[英]Querying Local Group Policy using VBScript

Using VBscript, what is the best way to query the 'User Rights Assignment' in Local Group Polices. 使用VBscript,在本地组策略中查询“用户权限分配”的最佳方法是什么。
Such as getting the groups and users under 'Deny log on as a service' 例如将组和用户置于“拒绝作为服务登录”下

There's no direct way to access this area of windows through VBS (at least AFAIK). 没有直接方法可以通过VBS(至少是AFAIK)访问此区域的Windows。 But you might export the current privileges through "secedit /export" to a file and then analyze this file. 但是您可以通过“ secedit / export”将当前特权导出到文件,然后分析该文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用 PowerShell 编辑本地组策略 - How to Edit Local Group Policy using PowerShell 无法使用 Powershell 将组策略(本地 gpo)状态更新为“未配置” - Unable to update group policy(local gpo) status to "Not Configured" using Powershell 有没有办法以编程方式将启动脚本添加到本地组策略? - Is there any way to programmatically add a startup script to the local group policy? 如何使用组策略添加入站规则 - how to add inbound rule using group policy 如何在本地组策略对象中为特定用户应用软件限制策略? - How to apply Software Restriction policy for specific user in local group policy object? Windows - Powershell - 配置“本地组策略编辑器 >... > 帐户锁定策略 > 帐户锁定阈值 > 无效登录尝试” - Windows - Powershell - Configure "Local Group Policy Editor > ... > Account Lockout Policy > Account lockout threshold > invalid logon attempts" 使用.NET或通过安装程序在Windows计算机上更改组策略 - Changing Group Policy on windows machines using .NET or via installer 使用C#以编程方式将关机脚本添加到组策略 - Add Shutdown Script to Group Policy programatically using C# 通过.NET \\ C#使用组策略对象(GPO) - Using Group Policy Object (GPO) via .NET\C# 错误:使用组策略运行 Powershell 启动脚本时出现 CallDepthOverflow - Error: CallDepthOverflow when running Powershell startup scripts using Group Policy
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM