Jump to content

TMelanson

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by TMelanson

  1. Oh this is a much quicker way to obtain the SID. Thanks so much jguinch!
  2. Thank you so much genius257! This works like a charm but it take a considerably longer time to generate the SID. Not sure why but it works
  3. Hi folks, I'm hoping someone can help me out here. Background: I have the need to run a program with admin credentials (#RequireAdmin), and then get the SID of the locally logged in account. Not the admin account. If you look at the attached script, Line 16 uses the @UserName variable and returns the SID for the admin account I used to launch the app. I want to use line 17 which passes the result of the _GetUsername function which is a username using ($UserName) to the WMIService. I'm getting " The requested action with this object has failed.:" error message. Any suggestions would be appreciated! test1.au3
×
×
  • Create New...