Tip

Preserve file and folder rights

Rod Trent, manager of myITforum.com and communities editor for TechTarget.com

Please let us know how useful you find this tip by rating it below. Do you have a useful Windows tip, timesaver or workaround to share? Submit it to our tip contest and you could win a prize!


    Requires Free Membership to View

When you copy or move a file or folder to another volume, the object inherits the permissions of its new folder. The setting described below lets you force Windows to preserve the current permissions instead.

Download SMS Installer Script:
8916preservepermissions.ipf
Windows Versions Supported: Windows NT/2000/XP

User Key:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows
\CurrentVersion\Policies\Explorer

Value Name: ForceCopyAclwithFile (DWORD)

Data Values: 0 = default, 1 = preserve original permissions

=====Begin Script
item: Edit Registry
Total Keys=1
Key=SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
New Value=1
Value Name=ForceCopyAclwithFile
Root=1
Data Type=3
end
=====End Script

 


Rod Trent, manager of myITforum.com and a Microsoft MVP, is an expert on Microsoft Systems Management Server. He has more than 18 years of IT experience -- eight of which have been dedicated to SMS. He is the author of Microsoft SMS Installer, Admin911: SMS, and IIS 5.0: A Beginner's Guide and has written thousands of articles on technology topics. 

This article first appeared in myITforum.com, the online destination for IT professionals who manage corporate Microsoft Windows systems. It is also part of the TechTarget network of industry specific IT Web sites. The centerpiece of myITforum.com is a collection of member forums where IT professionals exchange technical tips, share their expertise and download utilities that help them better manage their Windows environments, specifically Microsoft Systems Management Server (SMS).

This was first published in May 2005

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.