Yes, you should remove all software that is licensed to your company prior to selling / passing on any equipment. This includes Windows if you have volume licence arrangements for the OS as well.
Best advice? Flatten it (format all hdd's and sell the machines "As is"
The buyer will have to make their own software arrangements.