Script Library |
Function fAdminTest() |
Search thecollinshouse script library:
|
Script Type: vbScript function
|
|
Description:
This function tests whether the current user is a local admin. It does this by testing if the user can access the computer via the administrative Admin$ share. Therefore this share must still be active and the computer must be connected to a network for this to work. Tested on Windows XP. |
|
Script:
'# D.Collins - 11:56 20/10/2006 |