Actually, I didn't understand all thoughts that have been expressed previously, but no problem.
A similar resistor for sure isn't generally used with DC input connctors. I have designed a lot of devices, that never needed it. So it must have a particular purpose. Not knowing the remaining circuit or the application, I can only guess.
It could be, that the circuit has a design flaw and get's damaged when connected to a switched-off power supply but the device has it's internal decoupling capacitors yet charged. The resistor could prevent this by discharging internal capacitors. Also other device properties may require a complete discharge of input voltage.