Ovrkill Posted February 10, 2012 Share Posted February 10, 2012 Im trying to create an exe to put in a login script for people that only use remote applications. When they start a remote application this will run and check there password age. If it will expire soon I prompt them with the option to change it. Im not sure if im not using the _AD_SetPassword() function correctly or is a rights issue and the call is meant to be used by a domain admin only and cant be used as a regular user to set there own password. It seems to always return a 0 unless im not catching the error correctly. The password never gets changed. I have seen some other Powershell scripts that do the same thing, but i liked the simplicity of AutoIt single file exe vs the extra moduled you had to import to make it work correctly in powershell. Any help would be appreciated. Thanks.RDPUserPass.au3 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now