Aussie owned and operated, with 23+ years of industry experience, Gold Coast InfoTech is delighted to support all of your business technology requirements.

Gallery

Contacts

success@goldcoastinfotech.com.au

1800 291 071

KBArticles Scripts, Commands, Registry

Unlock account using native windows tools

‘VBSCRIPT

 Set wshShell = Wscript.CreateObject (“WScript.shell”)      
 strUSER =     inputbox(“Enter User Name”,”Enter User Name”)
        wshShell.run “cmd.exe /c dsquery user -name ” & Chr(34) & strUSER & Chr(34) & ” | dsmod user -disabled no & pause”
        set wshshell = nothing

Author

Customer

Leave a comment

Your email address will not be published. Required fields are marked *