Reset Permissions

Posted on 2006-07-20
Last Modified: 2008-03-17
Is there a way to reset all all file share permissions back to default levels on an XP Home machine?  XP Pro?
Question by:CTSLA

Expert Comment

ID: 17146082
This procedure obtained from;en-us;304040 may work:

"Turning on and turning off Simple File Sharing
Simple File Sharing is always turned on in Windows XP Home Edition-based computers. By default, the Simple File Sharing UI is turned on in Windows XP Professional-based computers that are joined to a workgroup. Windows XP Professional-based computers that are joined to a domain use only the classic file sharing and security interface. When you use the Simple File Sharing UI (that is located in the folder's properties), both share and file permissions are configured.

To turn Simple File Sharing on or off in Windows XP Professional, follow these steps: 1.      Double-click My Computer on the desktop.
2.      On the Tools menu, click Folder Options.
3.      Click the View tab, and then select the Use Simple File Sharing (Recommended) check box to turn on Simple File Sharing. (Clear this check box to turn off this feature.)"

I am unfamiliar with your computing experience so my apologies if this sounds elementary to you or if it is not what you are looking for.

Good luck!

Expert Comment

ID: 17146851
I'm not quite sure I understand the question here - are you refering to NTFS file permissions, network sharing permissions on files, windows xp security policies? Perhaps you can explain your problem in a little more detail - are you having trouble accessing files?

Sorry I can't be of more assistance.  Provide some more details, and I'll do what I can to help.

Author Comment

ID: 17158597
I did find a MS KB article that resets security settings back to defaults (313222).  I have not been back to try it yet.

I can't access shared files or printers in either direction.  I can ping the IP address of each workstation and computer name.  The shared folders show up in Network Places, but when I try to access, I get the message about not having permission to access that resource.  All firewalls are off.  One computer is 6 months old, and the other is 2 weeks old.

As far as whether I want to reset NTFS file permissions, network sharing permissions on files, or windows xp security policies - the best answer I can give is I'd like to set everything back to default.  I don't know enough about distinctions among the three to know which one is causing the problem, but I have to believe there is a way to just reset everything back to original.  Someone must have made a script somewhere along the way.  Hopefully the KB article referenced above works.
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.


Accepted Solution

SConnaught earned 250 total points
ID: 17229120
Im sure about a script but there is a tool  call "ERD Commander" that many admins use for this purpose. I have used it many times to reset ntfs permisson on a whole  hard drive. Look around on the net to see if you might get lucky finding a copy because it does cost a bit.

Author Comment

ID: 17374168
Tried all of the above but nothing worked.  The MS article applied only to XP Pro.  Simple file sharing cannot be disabled in XP Home.  Could not find the location to reset permissions using ERD Commander.  I used system restore on one of the laptops, and that worked fine to resolve the problem.  But the other laptop has had way too much hardware and software installed since the problem occurred to use system restore.  Will probably do a reinstall.

Expert Comment

ID: 20914730
I usually reset my NTFS persmissions to default using commandline scripting. You can use the secedit command for other (administrative) security tasks as well and most of the commands can be found on the MS Knowledge Base. To help you along with your specific question;

1. To reset your default permissions first go to Start - Run
2. Type "cmd" or press Enter and you will get the Command Prompt
3. Type in the following command line:

secedit /configure /cfg %windir%\repair\secsetup.inf /db secsetup.sdb /verbose

     and press Enter

4. It will start resetting all the default NFTS permissions (back to factory state). After that a message
will appear that for some files the permissions could not be reset. You can ignore the message.

5. For safety: reboot your machine using the gpupdate command: Start -> Run -> "gpupdate /force" - OK
Press y and enter to acknowlegdge.

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction Often we come across situations wherein our batch files would be needing to reboot Windows for a variety of reasons. A few of them would be like: (1) Setup files have been updated whose changes can take effect only after a reboot …
Hello I read in a discussion about a person who configured a very simple mirror RAID with two hard drives; the system and data were on the same partition. He asked how to repair the system as it was not booting up anymore. In his case running …
This video discusses moving either the default database or any database to a new volume.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at

762 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now