I have been given an ex government PC; it has windows still installed but the product key has been deleted. Is there a reason

Solution
If it doesn't have the Microsoft Windows sticker somewhere on the machine with the license key on it you propably need to buy a new Windows for it.