Sure, if you disable the port the printer is connected to. There are also admin options to disable printer setup for accounts.
You may be better off asking a different question with some details about what is happening.
I am new at this and will try to explain what has happened. I loaded Avast and ran a full system scan. Result every thing worked fine except I Could not connect to my printer ( Canon MP 620 0 which I have had for years. I finally located the CD with software for the printer and reinstalled it. I can still not connect to the printer. I have not disconnected it so it must be in software at least I am thinking that, It is set for port 1 and the computer is set for port on also. Don't know what else to tell about it. Thanks again