Answer by taking a quote from the following article:

William II (Old Norman: Williame; c. 1056 - 2 August 1100), the third son of William the Conqueror, was King of England from 1087 until 1100, with powers over Normandy, and influence in Scotland. He was less successful in extending control into Wales. William is commonly known as William Rufus (Rufus being Latin for 'the Red'), perhaps because of his red-faced appearance or, more likely, due to having red hair as a child that grew out in later life.

William Rufus inherited the Anglo-Norman settlement detailed in the Domesday Book, a survey undertaken at his father's command, essentially for the purposes of taxation, which was an example of the control of the English monarchy. If he was less effective than his father in containing the Norman lords' propensity for rebellion and violence, through charisma, or political skills, he was forceful in overcoming the consequences. In 1095, Robert de Mowbray, the earl of Northumbria, refused to attend the Curia Regis, the thrice-annual court where the King announced his governmental decisions to the great lords. William led an army against Robert and defeated him. Robert was dispossessed and imprisoned, and another noble, William of Eu, accused of treachery, was blinded and castrated.  In external affairs, William had some successes. In 1091 he repulsed an invasion by King Malcolm III of Scotland, forcing Malcolm to pay homage. In 1092 he built Carlisle Castle, taking control of Cumberland and Westmorland, which had previously been claimed by the Scots. Subsequently, the two kings quarrelled over Malcolm's possessions in England, and Malcolm again invaded, ravaging Northumbria. At the Battle of Alnwick, on 13 November 1093, Malcolm was ambushed by Norman forces led by Robert de Mowbray. Malcolm and his son Edward were killed and Malcolm III's brother Donald seized the throne. William supported Malcolm's son Duncan II, who held power for a short time, and then another of Malcolm's sons, Edgar. Edgar conquered Lothian in 1094 and eventually removed Donald in 1097 with William's aid in a campaign led by Edgar AEtheling. Edgar recognised William's authority over Lothian and attended William's court.  William made two forays into Wales in 1097. Nothing decisive was achieved, but a series of castles was constructed as a marchland defensive barrier.  In 1096, William's brother Robert Curthose joined the First Crusade. He needed money to fund this venture and pledged his Duchy of Normandy to William in return for a payment of 10,000 marks--a sum equalling about a quarter of William's annual revenue. In a display of the effectiveness of English taxation, William raised the money by levying a special, heavy, and much-resented tax upon the whole of England. William then ruled Normandy as regent in Robert's absence. Robert did not return until September 1100, one month after William's death.  As regent for his brother Robert in Normandy, William campaigned in France from 1097 to 1099. He secured northern Maine but failed to seize the French-controlled part of the Vexin region. According to William of Malmesbury he was planning to invade Aquitaine at the time of his death.

What did the king do to control people
the earl of Northumbria, refused to attend the Curia Regis, the thrice-annual court where the King announced his governmental decisions to the great lords.