title: Best way to know if a user has administrative privileges from a VBScript
body: <p>I need to check whether the user executing the script has administrative privileges on the machine.</p>
  
  <p>I have specified the user executing the script because the script could have been executed with a user other than the logged on using something similar to "Runas".</p>
  
  <p>@Javier: Both solutions work in a PC with an English version of Windows installed but not if the installed is in different language. This is because the Administrators group doesn't exist, the name is different for instance in Spanish. I need the solution to work in all configurations. </p>