Is there any simple way to change all the passwords for an Organization Unit or users in a group at once?
I want to set same passwords to all users !
11 8472
Is there any simple way to change all the passwords for an Organization Unit or users in a group at once?
I want to set same passwords to all users !
I would ask you to consider, just for the sake of security, using a random number generator and hash table to provide passwords to all accounts - then you'd have them on file, but one user wouldn't be able to access all accounts (if the script you want to create is general enough, you would end up changing the admin passwords as well, and users would know that too...).
Other than that, a VB script is probably the easiest way to go, though PERL, Python, and Java all have win32 modules or an equivalent, so that they can operate on Windows (I've never used one in C++, but I imagine there is one there as well).
I would ask you to consider, just for the sake of security, using a random number generator and hash table to provide passwords to all accounts - then you'd have them on file, but one user wouldn't be able to access all accounts (if the script you want to create is general enough, you would end up changing the admin passwords as well, and users would know that too...).
Other than that, a VB script is probably the easiest way to go, though PERL, Python, and Java all have win32 modules or an equivalent, so that they can operate on Windows (I've never used one in C++, but I imagine there is one there as well).
Would you like to give an example code please?
Would you like to give an example code please?
I can't, actually. I was suggesting a language for him to research. I'm 99% sure you could do it in VB, but I personally have never programed VB. I have used PERL, but only to parse M$ logfiles, never to manipulate AD. I have also only heard that Python and Java have those modules - I have never used them.
Has anyone else out there tried something like this?
I can't, actually. I was suggesting a language for him to research. I'm 99% sure you could do it in VB, but I personally have never programed VB. I have used PERL, but only to parse M$ logfiles, never to manipulate AD. I have also only heard that Python and Java have those modules - I have never used them.
Has anyone else out there tried something like this?
Hi there,
Using VB & Windows Management Instrumentation (WMI) one should be able to change user password, am not sure if it's possible to change every users password at once. I need to check this out first, till then hang on guys. Take care.
am not good in programming :S
Yeah, I'm not much for the longer programs either, but it's a good skill to have.
(And the only way to develop it is to do it!)
Here's a tutorial of VB: http://www.vbtutor.net/vbtutor.html
Yeah, I'm not much for the longer programs either, but it's a good skill to have.
(And the only way to develop it is to do it!)
Here's a tutorial of VB: http://www.vbtutor.net/vbtutor.html
Hi there,
Well said, keep it up. Good luck & Take care.
We are managing passwords with service explorer from Scriptlogic ( scriptlogic.com ). Have a look at this tool!
Sign in to post your reply or Sign up for a free account.
Similar topics
by: scmiles |
last post by:
I am trying to write an asp or aspx page that will create
a virtual ftp directory to the users Active Directory
home directory. That way a user can interact (drag/drop,
copy/paste) via IE with...
|
by: Florent |
last post by:
Hi all,
We announce you the release of Power AD 1.3 , an OpenSource management
console for Active Directory.
What's new :
-you can now see the users logged in your domain through the...
|
by: kevin.vaughan |
last post by:
Hello Everyone,
Is it possible to authenticate the windows password through Active
Directory?
If so, how would this be done.
I have a login screen in my application and am trying to set it up...
|
by: Jim in Arizona |
last post by:
My goal, somehow, is to populate a dropdownlist with all the user names
in active directory. I don't even know where to begin, really.
I added a reference to System.DirectoryServices so I could...
|
by: stavenko |
last post by:
Hello all.
I'm trying ot get users from Active directory. using python-ldap. We
have a windows network domain. So I tried this code:
import ldap
l = ldap.initialize("ldap://ldap.server")...
|
by: kapildev |
last post by:
I an facing problem while changing password in active directory.. when i run the code it goes in get user function n returns null value.. why is it happening.. can anybody through some light on...
|
by: catherine |
last post by:
Hi, I am trying to work out how I can disable / enable **another**
users Active Directory account not my own via C#.
If I create a directory entry like so I need to know the other users
password...
|
by: theS70RM |
last post by:
Hi,
Im trying to create a secure login script for our company intranet.
I've created a class to interface with the active directory, so I can test logins by sending the username and password...
|
by: =?Utf-8?B?RWQgT3R0bw==?= |
last post by:
When changing a user's password in Active Directory Users... I get a strange
error message (and the password change fails):
Windows can not complete the password change for the user <insert user...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |