Trying to use cfexecute to change an AD password. Works no problem from the command prompt however when I load the page it get:
The cause of this exception was that: java.io.IOException: CreateProcess: "net user.exe" MYUSERNAME MYPASSWORD /domain error=2 - or - - The cause of this exception was that: java.io.IOException: CreateProcess: "net user.exe" MYUSERNAME MYPASSWORD /domain error=3 My code is: <cfset args = "#Trim("MYUSERNAME")# #Trim("MYPASSWORD")# /domain"> <cfsavecontent variable="results"> <cfexecute name="net user.exe" arguments="#args#" timeout="10" /> </cfsavecontent> I have verified that the account that runs the Coldfusion service has the appropriate rights to access net user.exe and verified that the cfexecute tag is not disabled in cfadmin. Any Ideas would be greatly appreciated. Thanks, Brian R. Polackoff Coldfusion Version 6.1 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216659 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54