How to reset archive attributes on multiple folders. Small Business Server 2003

Posted on 2009-02-11
Medium Priority
Last Modified: 2012-05-06
I have a Small Business Server where all the files I copied over from the old server, SBS 2000, to an external drive and then to the new server have the archive attribute set.
Any user that wants to modify a file cannot until a reset the archive attribute.  There is no windows GUI method to reset this and windows will only allow me to change the attribute one folder at a time.  I have 40+ users with many sub folders so to do this manually from the command line with take an extreme amount of patience and time.
I know attrib utilities exist I just need to find one and one that will do sub folders and files all at once.
Any suggestions?
Question by:KBraun92565
LVL 85

Accepted Solution

oBdA earned 2000 total points
ID: 23617995
Open a command prompt and enter
attrib -A "C:\Temp\*.*" /s /d
"-A" will remove the Archive attribute, "C:\Temp\*.*" is the root folder and the file mask to use (you obviously need to replace C:\Temp, but keep *.*), /s will process files in subfolders, and /d will process directories as well.

Author Comment

ID: 23618789
That did it thanks!!

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The SBS 2011 release date (RTM) is supposed to be around Christmas, 2011.  This article is a compilation of my notes -- things I have learned first hand.  The items are in a rather random order, but I think this list covers most of what is new and d…
This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Small Business Server 2011. NOTE: This guide has been written using the preview version of SBS2011 therefore some of the screens may …
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question