Quantcast
Viewing all articles
Browse latest Browse all 31638

Startup script again

Hi, I am from Spain, excuse my bad English

I post recently a question about script but This is a another error in my script

I have a startup script to add domain group to the local administrator group

I have English OS and Spanish OS

When the script run in the English OS version the line:

Set objAdmins = GetObject("WinNT://" & strComputer & "/Administradores")

say the group not exist because "Administradores" (in Spanish) not exist

How i can check if this local group exist for avoid this error?

Thanks again for all


Viewing all articles
Browse latest Browse all 31638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>