This paper utilizes CDEGS software to calculate the transient ground potential rise (GPR) in a commercial building with a base of 39 m x 13 m and a height of 21 m during direct lightning strokes. The influences of soil resistivity, location of the lightning strike point, and waveshape of the lightning current on the transient GPRs of three scenarios for the building are analyzed. Such scenarios within the building include devices are grounded independently, devices are grounded via vertical ground electrodes that are connected to each down conductor fixed on the outside of the building, and devices are grounded via a ring ground electrode that is sited around the periphery of the building. The results show that the ring ground electrode provides effective lightning protection for the building under lighting and therefore is recommended.