How to use vbs to delete a group from a local Administrators group
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!