![]() Set WshUserEnv = WshShell. Set WshSysEnv = WshShell.Environment("SYSTEM") Based on the Microsoft vulnerabilities report from 2014, 97 of Critical Microsoft vulnerabilities would be mitigated by removing admin rights across an. Set WshShell = Wscript.CreateObject("Wscript.Shell") If they are Windows XP, it will work with out any dll registration. ![]() If the systems are Windows 2000 there are some AD dll's that have to be registered. ![]() We also use this script to change the local administrator account's name and password. Then you set the script up to be a startup script in group policy and it will remove the user from every computers local admin group when the computer boots up. ![]() You can write a VBscript that will remove a user from the local administrator group on all the pc in your domain.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |