Here are some sample WMI scripts.
User Accounts:
http://www.microsoft.com/technet/scr....mspx?mfr=true
You can create/modify a script to check if the current user name is a member of one of the following groups:
1. Administrators
2. Guests
3. Power Users
--
Regards,
Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
Windows® XP Troubleshooting
http://www.winhelponline.com
"Maileen" <(E-Mail Removed)> wrote in message news:414D0545-B07A-434E-9D7B-(E-Mail Removed)...
Hi,
Is there a way how to auto detect (via VBS script for example) the user
account type ? (i.e : administrator, user, power user,..)
I do not want to use "windows console" from Active Directory, because it
seems that if account type is change on local computer, AD (active directory)
is not able to detect this change (info from my colleague who is responsible
of AD server).
So, as i would like to ensure that my team members did well their work, i
would like to have (for example) in the logon script, some VBS to detect and
collect this user account type.
thanks a lot,
M.