Step 1: Understand the relationship between work and potential energy.
The potential energy of a system increases when work is done upon the system by a conservative force, such as gravity or electrostatic force.
Step 2: Conclusion.
Thus, the correct answer is when work is done upon the system by a conservative force.
Final Answer:
\[
\boxed{\text{upon the system by a conservative force}}
\]