I've got an object that is owned by the Network Service that I want to delete. It is a Message Queue, a Private Queue. The queue's Properties | Security tab shows Network Services has full control, Everyon has just Get Properties, Get Permissions, and Send Message, And Anonymous Logon has Send Message.
I've got the Administrator login to the server, but the Administrator has no rights to this private queue (other than those alloted to 'Everyone').
How can I delete the queue? Or give the Administrator full rights? I've tried to do a RunAs when opening 'Computer Management', but it defaults to RunAs Administrator, and I haven't found a way to specify RunAs Network Service.
The only thing I can think of now is to write a Window service that finds and deletes the queue, and configure the service to run as Network Service.
Any better ideas?