Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - RE: Is User an Admin

Reply
 
Old 09-04-2008   #1 (permalink)
Bishop


 
 

RE: Is User an Admin

Hi,

i think this VBScript will help you:

http://www.scriptbox.at.tt/index.php...inistrator.vbs

alternate link:

http://scriptbox.boris-toll.at/index...inistrator.vbs


Edit these values:
strComputer & strUser


"Mutley" wrote:
Quote:

> Dear All,
>
> Can anybody help. I have nearly finished a reporting script but i am stuck
> on one particular thing. I need to write a function that that takes a
> username and checks if the user is a local admin on a remote workstation,
> the difficult part is enumerating nested groups within the local
> administrators group on the workstation. can anybody help.
>
> Regards,
>
> --
> Ben
>

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Add user - lost the task bar on admin user General Discussion
How to set Admin password from an admin user account Vista General
Launching process with Admin Credentials with out prompting user for Admin password PowerShell
User - Admin - Super Admin Vista account administration
Wat is the difference between Built it Admin and Admin User Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46