I have a script that would pull the password for CF5, not sure if it will
work on MX, but here it is:

    <!--- cfregistry allows any user to gain access to your registry --->
    <!--- Password Key That Allaire Uses To Encrypt Passwords --->
    <CFSET PASSWORD_KEY = "[EMAIL PROTECTED]"> 
    <!--- Where Your Passwords are stored In Registry --->
    <cfregistry action="GET" 
 
branch="HKEY_LOCAL_MACHINE\SOFTWARE\Allaire\ColdFusion\CurrentVersion\Server
" 
                        entry="AdminPassword" variable="adminpassword"
type="String"> 
    <cfregistry action="GET" 
 
branch="HKEY_LOCAL_MACHINE\SOFTWARE\Allaire\ColdFusion\CurrentVersion\Server
" 
                        entry="StudioPassword" variable="studiopassword"
type="String"> 
                
    <!--- Output Passwords To Screen using an undocumented "cfusion_Decrypt"
Function --->   
    <cfoutput><b>Admin Password:</b>
#evaluate("cfusion_Decrypt(adminpassword, PASSWORD_KEY )")#</cfoutput><br> 
    <cfoutput><b>RDS Password:</b>
#evaluate("cfusion_Decrypt(studiopassword, PASSWORD_KEY )")#</cfoutput><br>

-------------------------------
Matt Babineau
criticalcode.com
e:: [EMAIL PROTECTED] p:: 603.943.4237



-----Original Message-----
From: Lee Fuller [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 02, 2003 7:35 PM
To: CF-Talk
Subject: Lost CFMX Server Password...


A fried has lost the CFMX server password for the dev copy on his system.
And I don't remember how this is retrieved.  Anyone know a quick way?

TTAIA



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to