Copy link to clipboard
Copied
I am trying to run the ColdFusion 2025 Auto-Lockdown on ColdFusion Update 4.
At first it was failing with the following error in the application log: Function getAdminSettings does not support adminpassword as an argument in ...CFIDE\lockdown\lockdown.cfc.
I read on the Update 2 page (https://helpx.adobe.com/coldfusion/kb/coldfusion-2025-update-2.html), If you want to apply lockdown on this update, add the -Dcoldfusion.runtime.remotemethod.matchArguments flag. So I did that.
Now I am getting a new error: The USERNAME parameter to the getAdminSettings function is required but was not passed in.
Are there any other modification or jvm flags I need to add to run the auto-lockdown? Thank you.
After speaking with CF support, it turns out that the Lockdown tool cannot be executed again once it has already been applied, until you uninstall the previously applied Lockdown.
You can uninstall the Lockdown tool by running the uninstall.exe file located at the path below:
<ColdFusion202X>\lockdown\cfusion\uninstall
After doing this, the instance was found the next time I ran the Lockdown tool.
Copy link to clipboard
Copied
This is resolved. Received a new lockdown.cfc directly from Adobe and it works now.
Copy link to clipboard
Copied
Roberto, while you later clarify that Adobe gave you an updated cfc, can you confirm something for future readers here? You say you "did that", regarding the technote directive to "add the -Dcoldfusion.runtime.remotemethod.matchArguments flag", but it didn't help.
Did you see that to true or false? Or did you perhaps assign no value? It should have been set to false, though that technote does not clarify it.
Copy link to clipboard
Copied
Charlie, good catch. I literally copied -Dcoldfusion.runtime.remotemethod.matchArguments and didn't even notice it was set to no value. My mistake. That being said, after contacting CF support, I was given a new lockdown.cfc file that just worked.
Copy link to clipboard
Copied
Thanks, and yep, the new cfc would have been modified to define all incoming args for any remote methods--which broke once the update came out that required that. They just hadn't thought to tweak that code before releasing the update.
Again, that update technote needs to be made more clear. It would be nice if someone from Adobe might see this and agree (given Roberto's acknowledgment of what I've feared.)
Anyway, thanks for confirming. Hope it may help others.
Copy link to clipboard
Copied
I went ahead and filed a bug report on this issue with the update technote. It could help if readers here would add a vote:
https://tracker.adobe.com/#/view/CF-4228385
Copy link to clipboard
Copied
Thanks Charlie. I added a vote. As you mentioned in the bug report, it is from 2 updates ago, but I have several clients moving to CF 2025 right now (with CF 2021 support ending in a few weeks) and the auto-lockdown issue will occur for others that are making the upgrade right now (so the technotes should be clear). Thanks again for pointing out the issue!
Copy link to clipboard
Copied
Yep, agreed on the continued importance of even an older technote.
And as you may have been notified since having voted, they have indeed now fixed the problem--updating the update technotes from May 2025 for all 3 versions: cf2025, 2023, and 2021. 🙂
As I just said there, thanks to Adobe for taking care of this so quickly. I appreciate that even such a simple fix can often fall behind in a large pile of to do's. And let this encourage others to take the time to report issues.
Copy link to clipboard
Copied
Charlie, while we are on the topic of the auto-lockdown, have you ever encountered the following issue? I successfully ran the 2025 Auto-Lockdown on ColdFusion Update 4. If I now try to rerun the tool, I get an error that states "No ColdFusion instance(s) available to lock down" (image uploaded). ColdFusion is running fine and I see no errors in the log files. Why would it not see the instance now?
Copy link to clipboard
Copied
I am not sure. Perhaps someone else will chime in, or ask Adobe via that same cfsup address (and share the answer here). In the meantime, here are some ideas:
Copy link to clipboard
Copied
I reached out to Adobe yesterday. Will follow up when I have more info. I checked the the CF logs and lockdown logs and prerequisites. I am thinking the same as you, that maybe once it is run on a given update it cannot be run again. That would imply that there is a flag somewhere that is preventing it. Will keep you posted. Thanks!
Copy link to clipboard
Copied
After speaking with CF support, it turns out that the Lockdown tool cannot be executed again once it has already been applied, until you uninstall the previously applied Lockdown.
You can uninstall the Lockdown tool by running the uninstall.exe file located at the path below:
<ColdFusion202X>\lockdown\cfusion\uninstall
After doing this, the instance was found the next time I ran the Lockdown tool.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now