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 > PowerShell

Vista - unlock locked user accounts

Reply
 
Old 02-17-2009   #1 (permalink)
don5


 
 

unlock locked user accounts

Hi all

does any one know how to make a script to unlock all the user accounts that
are locked in the active directory ?

tnx in advance.

My System SpecsSystem Spec
Old 02-17-2009   #2 (permalink)
Vadims Podans


 
 

Re: unlock locked user accounts

http://dmitrysotnikov.wordpress.com/...user-accounts/

--
WBR, Vadims Podans
PowerShell blog - www.sysadmins.lv

"don5" <don5@xxxxxx> rakstīja ziņojumā
"newsA8BF8B2-F7A8-40DA-A33D-D78DD4AB0649@xxxxxx"...
Quote:

> Hi all
>
> does any one know how to make a script to unlock all the user accounts
> that
> are locked in the active directory ?
>
> tnx in advance.
My System SpecsSystem Spec
Old 02-17-2009   #3 (permalink)
don5


 
 

Re: unlock locked user accounts

hi vadims , i read this article you gave me and all i could get there is the
release of only one user at a time. the command is Unlock-QADUser DSotnikov .

but what i want is the unlock of all the users in the domain and not just
one ....

any idea ?

"Vadims Podans" wrote:
Quote:

> http://dmitrysotnikov.wordpress.com/...user-accounts/
>
> --
> WBR, Vadims Podans
> PowerShell blog - www.sysadmins.lv
>
> "don5" <don5@xxxxxx> rakstīja ziņojumā
> "newsA8BF8B2-F7A8-40DA-A33D-D78DD4AB0649@xxxxxx"...
Quote:

> > Hi all
> >
> > does any one know how to make a script to unlock all the user accounts
> > that
> > are locked in the active directory ?
> >
> > tnx in advance.
>
>
My System SpecsSystem Spec
Old 02-17-2009   #4 (permalink)
Vadims Podans


 
 

Re: unlock locked user accounts

try this:
Get-QADUser -Locked | Unlock-QADUser

--
WBR, Vadims Podans
PowerShell blog - www.sysadmins.lv

"don5" <don5@xxxxxx> rakstīja ziņojumā
"news:F7A837A5-ABCE-49B7-A8C8-DB7D54F265AC@xxxxxx"...
Quote:

> hi vadims , i read this article you gave me and all i could get there is
> the
> release of only one user at a time. the command is Unlock-QADUser
> DSotnikov .
>
> but what i want is the unlock of all the users in the domain and not just
> one ....
>
> any idea ?
>
> "Vadims Podans" wrote:
>
Quote:

>> http://dmitrysotnikov.wordpress.com/...user-accounts/
>>
>> --
>> WBR, Vadims Podans
>> PowerShell blog - www.sysadmins.lv
>>
>> "don5" <don5@xxxxxx> rakstīja ziņojumā
>> "newsA8BF8B2-F7A8-40DA-A33D-D78DD4AB0649@xxxxxx"...
Quote:

>> > Hi all
>> >
>> > does any one know how to make a script to unlock all the user accounts
>> > that
>> > are locked in the active directory ?
>> >
>> > tnx in advance.
>>
>>
My System SpecsSystem Spec
Old 02-17-2009   #5 (permalink)
Karl Mitschke


 
 

Re: unlock locked user accounts

Hello don5,
Quote:

> Hi all
>
> does any one know how to make a script to unlock all the user accounts
> that are locked in the active directory ?
>
> tnx in advance.
>
Out of curiosity, why would you want to unlock all at once?


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Bulk unlock user accounts VB Script
[unlock.exe] Software Locked all Privilege and Unable to Unlock Software
User Accounts at Logon vs User Accounts in Parental Control Vista General
I locked my vista...how do I unlock it? Vista General
Unlock a file beeing used by another user PowerShell


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