I couldn't delete a printer and when I tried it would give me this message: "This operation has been cancelled due to restrictions in effect on this computer. Please contact your system administrator."
I checked security settings, tried opening print queue, etc and when trying to open these it would tell me: "This printer has been deleted or removed".
I ended up finding something about showing hidden devices in device manager. I ended up not having to show hidden devices. I just went to Device Manager -> Print Queues. I just right clicked it and deleted it. It finally worked.
OS: Windows 8.1 Pro