CSI-Windows VBScript UAC Function for Snooping Permissions

 

The CSI-Windows VBScript UAC Function for Snooping Permissions (IfUserPerms.vbs) Version 1.2 written by our pal Darwin Sanoy has been released and is available for download.

 

With this script you can quickly determine if your current session is capable of elevating to administrator rights AND whether the session is currently elevated. The beauty of the script is that you can first determine if you have the necessary privileges and credentials or rights to perform a task or start an executable. If your current rights are not elevated then you can take additional scripting actions to elevate (not a part of this particular sample).

 

Darwin developed this script because many UAC scripting solutions and samples do not take a proactive approach to examining the environment before deciding whether to attempt a privileged operation.  Checking things out ahead of time allows for assured results, fewer errors and more intelligent status messages to logs or end users when the environment does not support the desired privileges.

 

Download 116_IfUserPerms.zip:

http://csi-windows.com/toolkit/ifuserperms

 

Published Wednesday, June 17, 2009 3:42 PM by dhite
Filed under:

Comments

No Comments