controlling "change owner to" drop box list in windows using script for a file

Status
Not open for further replies.

sangeeta_shetty

Beta member
Messages
1
Hi,

I would like to know if there is any way we can control (or modify)the "change owner to" drop box list in windows for a particular resource (for example say a file) using a vbscript or batch script.

the reason i am asking this is because for usbstor.inf file , i have given ownership access to domain admin group via batch script, but since administrator and my id are appearing in the "change owner to" drop box, i am again able to regain ownership back and then modify the permissions for the usbstor.inf file. I have tried using subinacl for denying the take ownership permission for the administrator group and my id , but even then i am able to take ownership back.
any help to resolve this issue is reallyr really appreciated
 
Status
Not open for further replies.
Back
Top Bottom