is there anyway to allow PHP to run “exec (“net user Jason 123”) on Windows 7 with IIS? I have made the appPool that is running my site run with the Admin user, and the site is setup to use the Admin user…so it should have full rights? And in the test I see two green ticks. But for some reason it still wont change the password, is there anyway I can test to see what the problem is? Or does anyone know how I can do this?
Share
On a windows server you can use php’s COM/.NET extension which makes the
IADsUser::ChangePassword method available to your script.