+ Post New Thread
Results 1 to 12 of 12
Windows Thread, local admin account re-set remotely BULK in Technical; Guy's not sure if this has been posted before, today my depute rector told me he gave the local admin ...
  1. #1

    Join Date
    Aug 2008
    Location
    North Scotland
    Posts
    56
    Thank Post
    0
    Thanked 4 Times in 3 Posts
    Rep Power
    13

    Talking local admin account re-set remotely BULK

    Guy's not sure if this has been posted before, today my depute rector told me he gave the local admin password to a computing teacher "who knows erm ... shall we say flip all about computers" and with his little knowledge he is a pain in the ass.

    So i searched the net for hours and came across this freeware tool. When logged on to a machine with the local admin account i installed this tool and re-set the local admin password for every machine in the school that was turned on!

    Avian Waves : Tech : Tools : XS BAP < Hope you find this usefull, especialy those who like me tried doing this with login scripts and gpo's.


    Cheers

    Gavin

  2. 2 Thanks to Gavinc:

    Azhibberd (18th December 2008), leco (19th December 2008)

  3. #2

    Join Date
    Jan 2006
    Location
    Surburbia
    Posts
    2,178
    Thank Post
    74
    Thanked 307 Times in 243 Posts
    Rep Power
    115
    Which one did you use (that presumably worked nicely)? v1 or the v2 beta?

  4. #3

    Join Date
    Aug 2008
    Location
    North Scotland
    Posts
    56
    Thank Post
    0
    Thanked 4 Times in 3 Posts
    Rep Power
    13
    I used v1 and it work perfectly! Even thought "this is too good to be true" and went to several rooms and got "wrong username or password" when trying to log in with the old account password. works a treat!

  5. #4


    Join Date
    Sep 2007
    Location
    UK
    Posts
    5,463
    Thank Post
    1,462
    Thanked 892 Times in 573 Posts
    Rep Power
    647
    Quote Originally Posted by Gavinc View Post
    a computing teacher "who knows erm ... shall we say flip all about computers" and with his little knowledge he is a pain in the ass.
    Isn't that part of their job description?

  6. #5

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,157
    Thank Post
    116
    Thanked 529 Times in 452 Posts
    Blog Entries
    2
    Rep Power
    124
    If you want to do it with a startup script then this works:

    Code:
    set oShell=createobject("wscript.shell")
    sPassword=""
    for i=1 to 20
      sPassword=sPassword & chr(rnd()*96+32)
    next
    sCmd="net user administrator " & sPassword
    oShell.run sCmd
    - it will set a 20 character, random password (mix of chars from ASCII 32 to ASCII 126)

    If you actually need to log on as local admin and you still have domain access then from another machine you can reset the password (eg with psexec
    Code:
    psexec \\computername net user administrator NewSecretPassword
    or you can just use a password reset disc if the machine has lost domain access

    You could extend the script above so that it writes the password it chose to a database somewhere but how often do you actually need local admin access?

  7. #6

    Join Date
    Aug 2008
    Location
    North Scotland
    Posts
    56
    Thank Post
    0
    Thanked 4 Times in 3 Posts
    Rep Power
    13
    I need local admin access quite a bit, still setting up a new school so everyday I log in as local admin at some time.

  8. #7
    Azhibberd's Avatar
    Join Date
    May 2008
    Location
    Newbury,Berkshire
    Posts
    169
    Thank Post
    20
    Thanked 21 Times in 20 Posts
    Rep Power
    17
    Thankyou very much one of the things on my todo list was changing all the local passwords was about to write a script todo it :P

    Cheers

  9. #8

    AngryTechnician's Avatar
    Join Date
    Oct 2008
    Posts
    3,730
    Thank Post
    698
    Thanked 1,212 Times in 761 Posts
    Rep Power
    395
    Just as a heads-up, you can do this with Group Policy Preferences too. Possibly the most useful thing to come out of Vista/Server 2008 and amusingly it was something Microsoft bought in...

  10. Thanks to AngryTechnician from:

    joe90bass (18th December 2008)

  11. #9
    Azhibberd's Avatar
    Join Date
    May 2008
    Location
    Newbury,Berkshire
    Posts
    169
    Thank Post
    20
    Thanked 21 Times in 20 Posts
    Rep Power
    17
    ahh thanks for that AngryTech although some of us arn't on server 2008 yet.... although hopefully wont be long although i'll admit the test run i did of 2008 got abit annoyed at allot of bits but thats just me being anti vista

  12. #10
    joe90bass's Avatar
    Join Date
    Oct 2007
    Location
    S Wales
    Posts
    1,354
    Thank Post
    328
    Thanked 107 Times in 96 Posts
    Rep Power
    51
    Quote Originally Posted by AngryTechnician View Post
    Just as a heads-up, you can do this with Group Policy Preferences too. Possibly the most useful thing to come out of Vista/Server 2008 and amusingly it was something Microsoft bought in...
    Been using 2k8 for a while now and hadn't noticed that. Thanks!

  13. #11

    AngryTechnician's Avatar
    Join Date
    Oct 2008
    Posts
    3,730
    Thank Post
    698
    Thanked 1,212 Times in 761 Posts
    Rep Power
    395
    The nicest bit is that you don't need to be running 2008 or Vista on your domain to use GPP.

    Once you have the CSE installed on your clients (there is a CSE for XP and 2003, and it deploys through Windows Update/WSUS), all you need is a single Vista or 2008 machine to configure the preferences. I've used it in an entirely 2003-controlled domain by configuring it from my Vista laptop - which isn't joined to the domain.

  14. #12
    joe90bass's Avatar
    Join Date
    Oct 2007
    Location
    S Wales
    Posts
    1,354
    Thank Post
    328
    Thanked 107 Times in 96 Posts
    Rep Power
    51
    Yep, found out that GPP issupported on XP on a 2008 AD course I went on recently. I'm actually planning on pushing the CSE out via WSUS tomorrow

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 7
    Last Post: 26th February 2010, 10:00 AM
  2. Add local users to xp home remotely
    By adamyoung in forum Windows
    Replies: 4
    Last Post: 28th June 2007, 10:56 AM
  3. Remotely configure local policy?
    By starscream in forum Wireless Networks
    Replies: 12
    Last Post: 27th June 2007, 01:32 PM
  4. Bulk Change Local Administrator Passwords.
    By Nij.UK in forum Windows
    Replies: 14
    Last Post: 15th June 2007, 01:45 PM
  5. Running local commands remotely
    By MK-2 in forum Windows
    Replies: 6
    Last Post: 2nd March 2007, 10:31 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •