Garrison Regiment V was raised as a garrison for the newly captured fortress of Glogau in 1741. At first of 2 battalions, it was increased to 4 in 1754. (It is reported that the increase included many men drafted from other Silesian regiments, of normal height "but who are vagabonds and of whom the regiment is not really sure" - Engelmann, Infantry of Frederick the Great.) It was recruited in Glogau until 1747 when its recruiting area was increased to include Breslau and Frankenstein (yes, there really is (or was) a place called Frankenstein!*). The regiment garrisoned not only Glogau but by 1755 Crossen, Reppen, Züllichau, Beeskow and Sommerfeld.
It had a very eventful Seven Years War, especially for a unit designated for garrison duties. The 1st and 2nd battalions were part of a small Prussian force which was designed to push the Austrians out of Landeshut and were at the first battle of Landeshut in August that year. In November 3 battalions were captured when Schweidnitz fell to the Austrians. In April 1758 the 1st and 2nd battalions were part of the King's army which recaptured Schweidnitz and were subsequently in June part of the guard of the supply train that was destroyed at Domstadl during the invasion of Moravia and unsuccessful siege of Olmütz. The 1st and 2nd battalions were then at the battle of Paltzig (or Kay) in July 1759, where the Prussians were defeated by the Russians, and then had the pleasure of facing the Russians again at Kunersdorf in August, another bloody defeat for the Prussians in the face of a combined Austro-Russian army. (The 1st edition of Christopher Duffy's Army of Frederick the Great shows that Garrison Regiment V's 2 battalions suffered 20-25% casualties at Kunersdorf, serious losses but probably a good deal fewer than many of the other Prussian regiments involved.) In 1760 they joined Prince Henry's army and stayed on in Saxony. The 3rd and 4th battalions spent most of the war in garrison duties in Silesia, no doubt much to the relief of the troops, especially when they heard of the experiences of the 1st and 2nd battalions!
This was the simplest design of garrison regiment flag, carried by the majority of the garrison regiments. The regimental flag design is shown at the top (Kompaniefahnen), the Colonel's flag (or Leibfahne) at the bottom.
* A quick check on the 'Net shows that Germany still has several, in fact...