Is this sentence grammatically correct, and is 'your ensuring' here an example of the subjunctive?

"We appreciate your ensuring all workstations are switched off before leaving the office locked at night."

It seems to me that "We appreciate your ensuring" could be swapped out with "We would appreciate it if you ensured", which suggests to me that 'your ensuring' is in the subjunctive mood (given that the subordinate clause of a conditional takes the subjunctive mood).

I'm curious about this because the sentence looks and feels fine to me, but I've never seen an explanation of the subjunctive which included it's appearance in this form (possessive pronoun + gerund).