#40124 - 2003-05-14 05:01 PM
Change local admin pasword
|
Sluffer
Fresh Scripter
Registered: 2003-05-08
Posts: 6
|
hi guys, I'm new here to the board but i'm following the topics a bit longer. I wonder if there's a possibility of changing the local administrator pasword on remote computers using a loginscript. I have created a script that does mappings, adjusts an ini file and writes data about software and userinfo to a file (tnx to several board members for usefull topics, etc). I would now like to add the changing feature also but i don't quite know how to do it.
Btw We have a NT-2K domain with about 400 users
Tnx Sluffere
|
|
Top
|
|
|
|
#40126 - 2003-05-15 03:38 PM
Re: Change local admin pasword
|
Sluffer
Fresh Scripter
Registered: 2003-05-08
Posts: 6
|
If that should work, no problem. For me it's the same, if i can change it by using the loginscript, ok. I i would need domain privileges to run a separate script, also no prob because i am domain admin. Now the only problem for me is that i don't quite know how to start with such a script that changes the local admin pw.
Sluffer
|
|
Top
|
|
|
|
#40129 - 2003-05-15 03:49 PM
Re: Change local admin pasword
|
Sluffer
Fresh Scripter
Registered: 2003-05-08
Posts: 6
|
Ok tnx, I've searched te board yesterday but i didn't find anything relevant. tnx for the code i will try with that and look if i can make something out of it
Sluffer
|
|
Top
|
|
|
|
#40131 - 2003-05-15 04:28 PM
Re: Change local admin pasword
|
Sluffer
Fresh Scripter
Registered: 2003-05-08
Posts: 6
|
Had problems with the site yesterday. Tried a search half an hour ago and also found alot of hits
|
|
Top
|
|
|
|
#40134 - 2003-05-15 07:19 PM
Re: Change local admin pasword
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Uh oh..
Wouldn't you want to encrypt the Administrator password if it is being used for a login script?
Otherwise, you open a security hole.
Kent
|
|
Top
|
|
|
|
#40135 - 2003-05-16 09:35 AM
Re: Change local admin pasword
|
Sluffer
Fresh Scripter
Registered: 2003-05-08
Posts: 6
|
It would be convenient if i could do it using the login script because then i know for sure it's executed and that the pasword is changed (also much quicker than doing is by yourself). If it's to difficult to change the pasword using the script then a standalone script is the next best option i guess. A thougth for that script would be: scanning the domain for logged in computers, changing the local admin pasword and write into a log where i can see on what pc it's changed.
Sluffer
|
|
Top
|
|
|
|
#40138 - 2003-05-16 11:17 AM
Re: Change local admin pasword
|
Sluffer
Fresh Scripter
Registered: 2003-05-08
Posts: 6
|
Ok, tnx a lot, i will try it this afternoon, i'll let you know
Sluffer
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 657 anonymous users online.
|
|
|