Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use vbs to delete a group from a local Administrators group

Shulou Source: shulou.com Published: 2022-06-03 16:31:42 10月03日 Update

This article introduces the knowledge of "how to use vbs to delete a group from a local Administrators group". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

The copy code is as follows:

StrComputer = "atl-fs-01" Set objAdmins = GetObject ("WinNT://" & strComputer & "/ Administrators") Set objGroup = GetObject ("WinNT://fabrikam/finance") objAdmins.Remove (objGroup.ADsPath) "how to use vbs to delete a group from a local Administrators group" ends here, thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Tags: Code content more knowledge practical successful learning next dilemma reality situation article case editing website industry process high quality learning related output Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei Redmi Shulou Tech Info Linux Apple