disable user account or lock user account

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Don (zuojia_at_hotmail.com)
Date: 07/31/04


Date: Sat, 31 Jul 2004 10:05:37 -0400

Hi,
I want to use VB to disable an user account on XP home edition, or lock an
user account and unlock it by administrator only (not inclusive current
user).
Can someone give me any suggestion?
Thanks in advance

Don



Relevant Pages

  • Re: "Please change your password at another machine"
    ... User returns and attempts to unlock computer with new credentials. ... User calls our help desk and they verify that the client's account is NOT ... the user account will become locked. ...
    (microsoft.public.windowsxp.general)
  • account lockout greyd out
    ... in my AD under any user's properties under profile, the ability to lock or ... unlock a user account is greyed out... ... i'm wondering what is causing this... ...
    (microsoft.public.win2000.active_directory)
  • Re: Password Protection - Locking Computer Windows 2000 Prof
    ... Administrator had the password ... then "Lock Computer" ... >> accounts, select your user account, and then click ... >> Administrators so I cant create a password. ...
    (microsoft.public.win2000.security)
  • Re: Local user privileges
    ... > When I looked at an user account both local and domain accounts where set as ... > should not have administrator privileges ever his local machine. ... Lock in as administrator and remove the dom-user from the local ...
    (microsoft.public.win2000.group_policy)
  • Re: unlocking a user account
    ... > found a script that allow to detemine locked user account. ... > I want to unlock these user via script... ... The program called "Is User Locked" checks if a given user account is ...
    (microsoft.public.windows.server.scripting)