On Save, specify a different owner other then the one logged in.

Is this possible in a windows file server 2012 environment? We have a user copying files into the shared folder, but we need to be able to restrict access to those files later. However, the user copying them over is assigned as the Owner and has FULL CONTROL automatically.

So when we need to restrict those folders  later, the user you copied them over still has access since they are listed as Owner.

Is there a way to set it so when the files are saved to the specified folder the file or folder owner is set at the Administrators group instead of the domain account that is being used to save the files?

Thank you,
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
No you can't save a file as another user. After the fact you can change the security of the folder / item and apply the settings to the folder and objects using the security tab

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Lionel MMSmall Business IT ConsultantCommented:
Is there a way to set it so when the files are saved to the specified folder the file or folder owner is set at the Administrators group?

Yes, you can run the command takeown and run it on that folder and it files and subfolders and files or just on one file; for example
takeown D:\Folder /r /d:n or
TAKEOWN /S system /F MyShare\Acme*.doc or see TAKEOWN /? for more examples.
JakeBushnellAuthor Commented:
Thanks. Fortunately I no longer need this now. The folder being copied to had OWNER CREATOR set as full control. Once that was removed then the copied files no longer had the Owner listed as Full Control. It's ok if they are still owner as long as their permissions come from the group they are in instead of being specifically given Full Control for the user account that is the owner.

Thanks for the input,
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2012

From novice to tech pro — start learning today.